Description of problem:
attach-interface rawhide network default fails.
Error:operation failed: failed to add NIC with 'pci_add pci_addr=auto nic macaddr=52:54:00:2a:bc:f4,vlan=0,name=nic.0'
The guest machine shutdown immediately.
Version-Release number of selected component (if applicable):
qemu-kvm-0.10.92-4.fc12.x86_64
libvirt-0.7.1-4.fc12.x86_64
virt-viewer-0.2.0-1.fc12.x86_64
kernel:2.6.31-33.fc12.x86_64
How reproducible:
always
Steps to Reproduce:
1.install Fedora 12 kvm guest
2.execute virsh edit <your_guest_name> , remove every <interface> blocks in
the file, save the file
3. create new xml file:
<interface type='network'>
<mac address='52:54:00:40:45:83'/>
<source network='default'/>
<model type='virtio'/>
</interface>
4. start the guest and make sure that there is no interface in ifconfig than lo.
5.virsh attach-device <your_guest_name> <name_of_xml_file>
6.virsh detach-device <your_guest_name> <name_of_xml_file>
7.virsh attach-interface <your_guest_name> network default
Actual results:
Error:operation failed: failed to add NIC with 'pci_add pci_addr=auto nic macaddr=52:54:00:2a:bc:f4,vlan=0,name=nic.0'
The guest machine shutdown immediately.
Expected results:
The network works.
Additional info: