]> git.proxmox.com Git - qemu.git/commit
monitor: Report encrypted disks in snapshot mode (Jan Kiszka)
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 5 Mar 2009 19:42:36 +0000 (19:42 +0000)
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 5 Mar 2009 19:42:36 +0000 (19:42 +0000)
commitd3be2b2f71e616f18dc20af570c84ebdf091b4e7
tree21095bfa075541962207769f0067b4dcd781c26e
parente36fb2a3a25f07301230f37d80e9dfdb3fe531f4
monitor: Report encrypted disks in snapshot mode (Jan Kiszka)

If the backing file is encrypted, 'info block' currently does not report
the disk as encrypted. Fix this by using the standard API to check disk
encryption mode. Moreover, switch to a canonical output format.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/branches/stable_0_10_0@6698 c046a42c-6fe2-441c-8c8c-71466251a162
block.c