Hi,
I tried to run domsuspend command on my PowerPC board but failed.
# virsh dompmsuspend sdk --target mem
error: Domain sdk could not be suspended
error: argument unsupported: QEMU guest agent is not configured
It seemed that support suspend-to-mem only from capabilities.
# virsh capabilities
<capabilities>
<host>
<uuid>52498f7c-d584-45d8-8a15-345b14fa0d10</uuid>
<cpu>
<arch>ppc</arch>
<topology sockets='1' cores='2' threads='1'/>
<pages unit='KiB' size='4'/>
<pages unit='KiB' size='1024'/>
<pages unit='KiB' size='4096'/>
<pages unit='KiB' size='16384'/>
<pages unit='KiB' size='65536'/>
<pages unit='KiB' size='262144'/>
<pages unit='KiB' size='1048576'/>
</cpu>
<power_management>
<suspend_mem/>
</power_management>
<migration_features>
<live/>
<uri_transports>
<uri_transport>tcp</uri_transport>
</uri_transports>
</migration_features>
<topology>
<cells num='1'>
<cell id='0'>
<memory unit='KiB'>2066304</memory>
<cpus num='2'>
<cpu id='0' socket_id='0' core_id='0'
siblings='0'/>
<cpu id='1' socket_id='0' core_id='1'
siblings='1'/>
</cpus>
</cell>
</cells>
</topology>
<secmodel>
<model>none</model>
<doi>0</doi>
</secmodel>
<secmodel>
<model>dac</model>
<doi>0</doi>
<baselabel type='kvm'>+0:+0</baselabel>
<baselabel type='qemu'>+0:+0</baselabel>
</secmodel>
</host>
<guest>
<os_type>hvm</os_type>
<arch name='ppc'>
<wordsize>32</wordsize>
<emulator>/usr/bin/qemu-system-ppc</emulator>
<machine maxCpus='1'>g3beige</machine>
<machine maxCpus='32'>ppce500</machine>
<machine maxCpus='1'>mac99</machine>
<machine maxCpus='15'>mpc8544ds</machine>
<machine maxCpus='1'>taihu</machine>
<machine maxCpus='1'>ref405ep</machine>
<machine maxCpus='1'>bamboo</machine>
<machine maxCpus='1'>prep</machine>
<machine maxCpus='1'>virtex-ml507</machine>
<domain type='qemu'>
</domain>
<domain type='kvm'>
<emulator>/usr/bin/qemu-system-ppc</emulator>
</domain>
</arch>
<features>
<deviceboot/>
<disksnapshot default='on' toggle='no'/>
</features>
</guest>
</capabilities>
I read from some document about qemu guest agent but still don't know how to config it
as daemon in guest domain.
Best Regards,
Olivia