Comment 2 for bug 555981

Revision history for this message
Kindjal (kindjal) wrote : Re: Restoring KVM guest from saved state results in hung guest

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>