[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[virt-tools-list] Virt-Manager bug?



Using Virtual Machine Manager 0.8.7

I have a windows xp virtual machine that I want to switch to using VirtIO.  I've added a new virtIO disk, installed the driver.

Turn VM off, change main disk to VirtIO, on restart I get this:

Error starting domain: internal error Process exited while reading console log output: char device redirected to /dev/pts/6
do_spice_init: starting 0.8.1
spice_server_add_interface: SPICE_INTERFACE_KEYBOARD
spice_server_add_interface: SPICE_INTERFACE_MOUSE
spice_server_add_interface: SPICE_INTERFACE_QXL
red_worker_main: begin
qemu-kvm: -device rtl8139,netdev=hostnet0,id=net0,mac=52:54:00:12:54:9f,bus=pci.0,addr=0x3: PCI: slot 3 function 0 not available for rtl8139, in use by virtio-blk-pci
qemu-kvm: -device rtl8139,netdev=hostnet0,id=net0,mac=52:54:00:12:54:9f,bus=pci.0,addr=0x3: Device 'rtl8139' could not be initialized

After some research I find this:
https://bugzilla.redhat.com/show_bug.cgi?id=635414

It seems to indicate that one line from the domain.xml file has not been removed.  Specifically in this case:
   <address type='drive' controller='0' bus='0' unit='0'/>

After that I still get the same error message, but when I restart libvirtd or reboot it seems to be fine.

So to summarize:

Steps:
1: Change VM from IDE to VirtIO disk
2: Launch VM.

Expected result:
1: VM Launches

Actual Result:
1: Above error message

Remediation:
1: Remove <Address> line for affected hard drive so domain looks like this:
start:
<disk type='file' device='disk'>
     <driver name='qemu' type='qcow2'/>
     <source file='/var/lib/libvirt/images/WinXP.img'/>
     <target dev='hda' bus='virtio'/>
     <address type='drive' controller='0' bus='0' unit='0'/>
</disk>

complete:
<disk type='file' device='disk'>
    <driver name='qemu' type='qcow2'/>
    <source file='/var/lib/libvirt/images/WinXP.img'/>
    <target dev='hda' bus='virtio'/>
</disk>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]