[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] QEMU "drive_init()" Disk Format Security Bypass



> Below is a patch, with suggested commit message.

I'm afraid I didn't test this thoroughly enough and it broke
phy:... disks (!)

This change, on top of my previous patch, should fix it:

diff -r 53195719f762 tools/ioemu/xenstore.c
--- a/tools/ioemu/xenstore.c    Tue May 13 15:08:17 2008 +0100
+++ b/tools/ioemu/xenstore.c    Tue May 13 17:52:35 2008 +0100
@@ -260,6 +260,8 @@ void xenstore_parse_domain_config(int hv
                    /* autoguess qcow vs qcow2 */
                } else if (!strcmp(drv,"file")) {
                    format = &bdrv_raw;
+               } else if (!strcmp(drv,"phy")) {
+                   format = &bdrv_raw;
                } else {
                    format = bdrv_find_format(drv);
                    if (!format) {

Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>

Sorry!

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.