[libvirt] libvirt with qemu-kvm, not recognizing NIC model

Jonathan Hoover jhoover at devonshire-realty.com
Wed May 5 15:43:10 UTC 2010


Sorry, it turned out to be the operating system of the guest OS having
the issue. It was not an issue with libvirt.

My bad,
Jon 

-----Original Message-----
From: Chris Lalancette [mailto:clalance at redhat.com] 
Sent: Wednesday, May 05, 2010 10:34 AM
To: Jonathan Hoover
Cc: libvirt-list at redhat.com
Subject: Re: [libvirt] libvirt with qemu-kvm, not recognizing NIC model

On 05/04/2010 12:46 PM, Jonathan Hoover wrote:
> Is this the right list for this question, or should I be elsewhere?
> 
>  
> 
> I am trying to specify a network card "model type" of "pcnet" (to 
> emulate vmware esxi's network card). No matter what I put for model 
> type in my xml config file, it comes up as an Intel e1000. I ran 
> "qemu-kvm -net nic,model=? /dev/null" and I got back a list of 
> supported models including pcnet,e1000,virtio, and others as expected.

> No matter which I put in my xml file for 
> /etc/libvirt/qemu/Symantec-bg.xml (a Symantec Brightmail Gateway 
> virtual machine), I just get back that its an Intel card on boot
(which doesn't work with Symantec BG).

Hm, this works just fine for me; I'm able to choose any of the above
when I create a guest.  However, you don't want to edit the /etc/libvirt
file directly.  Libvirt only reads that at startup and reload; during
runtime it isn't re-read.  To make the edit, you'll want to either use
virt-manager or "virsh edit <guest>".

If that doesn't work, post your entire XML file.

--
Chris Lalancette




More information about the libvir-list mailing list