[Bug 555981] Re: Restoring KVM guest from saved state results in hung guest

Kindjal kindjal at gmail.com
Mon Apr 5 21:24:53 BST 2010


Converting to "virtio" alleviates the problem!

This config produces the problem:

<domain type='kvm'>
        <name>one-52</name>
        <memory>393216</memory>
        <os>
                <type>hvm</type>
                <boot dev='hd'/>
        </os>
        <clock offset="utc"/>
        <devices>
                <emulator>/usr/bin/kvm</emulator>
                <disk type='file' device='disk'>
                        <source file='/root/52/disk.0'/>
                        <target dev='sda'/>
                </disk>
                <disk type='file' device='disk'>
                        <source file='/root/52/disk.1'/>
                        <target dev='sdb'/>
                </disk>
                <disk type='file' device='cdrom'>
                        <source file='/root/52/disk.2'/>
                        <target dev='sdc'/>
                        <readonly/>
                </disk>
                <interface type='bridge'>
                        <source bridge='br0'/>
                        <mac address='00:03:0a:00:18:c8'/>
                </interface>
                <graphics type='vnc' port='5904'/>
        </devices>
        <features>
                <acpi/>
                <pae/>
        </features>
        <devices>
        <serial type="pty">
          <target port="0"/>
        </serial>
        </devices>
</domain>

This config properly resumes from saved state:

<domain type='kvm'>
        <name>one-52</name>
        <memory>393216</memory>
        <os>
                <type>hvm</type>
                <boot dev='hd'/>
        </os>
        <clock offset="utc"/>
        <devices>
                <emulator>/usr/bin/kvm</emulator>
                <disk type='file' device='disk'>
                        <source file='/root/52/disk.0'/>
                        <target dev='vda' bus='virtio'/>
                </disk>
                <disk type='file' device='disk'>
                        <source file='/root/52/disk.1'/>
                        <target dev='vdb' bus='virtio'/>
                </disk>
                <disk type='file' device='cdrom'>
                        <source file='/root/52/disk.2'/>
                        <target dev='vdc' bus='virtio'/>
                        <readonly/>
                </disk>
                <interface type='bridge'>
                        <source bridge='br0'/>
                        <mac address='00:03:0a:00:18:c8'/>
                        <model type='virtio'/>
                </interface>
                <graphics type='vnc' port='5904'/>
        </devices>
        <features>
                <acpi/>
                <pae/>
        </features>
        <devices>
        <serial type="pty">
          <target port="0"/>
        </serial>
        </devices>
</domain>

-- 
Restoring KVM guest from saved state results in hung guest
https://bugs.launchpad.net/bugs/555981
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.



More information about the Ubuntu-server-bugs mailing list