From: Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?= Subject: Re: libvirt and virt-manager default blktap driver name for file images, tap vs tap2? Date: Fri, 7 Jun 2013 21:04:07 +0300 Message-ID: <20130607180407.GY11427@reaktio.net> References: <20130606100023.GW11427@reaktio.net> <51B0DBE1.8070402@suse.com> <20130607002052.GX11427@reaktio.net> <51B12C32.8010202@suse.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: <51B12C32.8010202@suse.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jim Fehlig Cc: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Thu, Jun 06, 2013 at 06:41:22PM -0600, Jim Fehlig wrote: > Pasi K=E4rkk=E4inen wrote: > > On Thu, Jun 06, 2013 at 12:58:41PM -0600, Jim Fehlig wrote: > > = > >> Pasi K=E4rkk=E4inen wrote: > >> = > >>> Hello, > >>> > >>> Does anyone know where/how to set the default libvirt blktap "driver = name" for disk image files? > >>> > >>> If I have "blktap" module loaded in dom0 kernel, and I do this: > >>> > >>> virt-install -d -n blktaptest01 -r 2048 --vcpus=3D2 --disk /var/lib/l= ibvirt/images/blktaptest01.img,size=3D8 --vnc -p -l "http://ftp.funet.fi/pu= b/mirrors/centos.org/6.4/os/x86_64" > >>> = > >>> = > >> Does it work if you specify the driver name in the diskopts? E.g. > >> > >> --disk /var/lib/libvirt/images/blktaptest01.img,size=3D8,driver_name= =3Dtap2 > >> > >> = > > > > Yep, that works. > > > > I was mostly wondering how to specify/change the *default*, > > so that both virt-install and virt-manager work without specifying driv= er_name=3Dtap2 .. = > > = > = > Ahh. > = > > Any ideas about that? > > = > = > No, but I'm not that familiar with virt-{install,manager} code. Seems > like a good question for virt-tools-list@redhat.com. > Ok, I'll post there. Thanks! -- Pasi = > Regards, > Jim > =