* [Qemu-devel] [6706] monitor: Report encrypted disks in snapshot mode (Jan Kiszka)
@ 2009-03-05 23:00 Anthony Liguori
0 siblings, 0 replies; only message in thread
From: Anthony Liguori @ 2009-03-05 23:00 UTC (permalink / raw)
To: qemu-devel
Revision: 6706
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6706
Author: aliguori
Date: 2009-03-05 23:00:57 +0000 (Thu, 05 Mar 2009)
Log Message:
-----------
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>
Modified Paths:
--------------
trunk/block.c
Modified: trunk/block.c
===================================================================
--- trunk/block.c 2009-03-05 23:00:53 UTC (rev 6705)
+++ trunk/block.c 2009-03-05 23:00:57 UTC (rev 6706)
@@ -1101,8 +1101,7 @@
}
term_printf(" ro=%d", bs->read_only);
term_printf(" drv=%s", bs->drv->format_name);
- if (bs->encrypted)
- term_printf(" encrypted");
+ term_printf(" encrypted=%d", bdrv_is_encrypted(bs));
} else {
term_printf(" [not inserted]");
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-03-05 23:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-05 23:00 [Qemu-devel] [6706] monitor: Report encrypted disks in snapshot mode (Jan Kiszka) Anthony Liguori
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).