]> git.proxmox.com Git - mirror_qemu.git/commit - qga/commands-posix.c
qga: guest-get-memory-blocks shouldn't fail for unexposed memory blocks
authorMichael Roth <mdroth@linux.vnet.ibm.com>
Mon, 19 Oct 2015 21:38:25 +0000 (16:38 -0500)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Mon, 19 Oct 2015 23:28:07 +0000 (18:28 -0500)
commitf693fe6ef402bdcf89b3979bf004c4c5bf646724
tree9bfbe3c92de68d67fa1bc6f7c9221c7344eb1958
parent8a0b5421a09ab9b9567300c554d3e169f28fc09d
qga: guest-get-memory-blocks shouldn't fail for unexposed memory blocks

Some guests don't expose memory blocks via sysfs at all. This
shouldn't be a failure, instead just return an empty list. For
other access failures we still report an error.

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
qga/commands-posix.c