Displaying 4 results from an estimated 4 matches for "bdrv_raw".
2008 Sep 10
2
Bug#490409: xen-3: diff for NMU version 3.2.1-2.1
...he xenstore
+ backend `type' field. This `type' field typically comes from
+ the front of the drive mapping string in ioemu. The
+ supported cases are:
+ xm config file string `type' image format qemu driver
+ phy:[/dev/]<device> phy raw image bdrv_raw
+ file:<filename> file raw image bdrv_raw
+ tap:aio:<filename> tap raw image bdrv_raw
+ tap:qcow:<image> tap not raw autoprobe
+ tap:<cow-fmt>:<image> tap named format bdrv_<cow-...
2008 Jul 01
1
[PATCH] qemu-xen: Fix extendable images
Hi Ian,
I''m not completely sure about this one. The question is what you really
wanted to achieve with that BLOCK_DRIVER_FLAG_EXTENDABLE thing. I
suspect that you just put it into the wrong struct accidentally
(bdrv_host_device instead of bdrv_raw), but I might be wrong. Changing
it allows me to use qcow2 images through tap:ioemu again - in fact, I
think it fixes extendable images in general, i.e. also for HVM.
Please check if the attached patch makes sense and apply if appropriate.
Kevin
_______________________________________________
X...
2009 Jul 15
0
Bug#536175: Bug#536175: Bug#536176: xen-utils-3.4: trying xen-3.4 once breaks xen-3.2 (?)
...etc/xen/qemu-ifup"
+-#define DEFAULT_NETWORK_DOWN_SCRIPT "/etc/xen/qemu-ifdown"
++#define DEFAULT_NETWORK_SCRIPT "/etc/xen/scripts/qemu-ifup"
++#define DEFAULT_NETWORK_DOWN_SCRIPT "/etc/xen/scripts/qemu-ifdown"
+
+ #ifdef CONFIG_STUBDOM
+ #define bdrv_host_device bdrv_raw
--- /dev/null
+++ xen-3/debian/patches/tools-ioemu-prefix.diff
@@ -0,0 +1,26 @@
+--- tools/ioemu-qemu-xen/xen-hooks.mak
++++ tools/ioemu-qemu-xen/xen-hooks.mak
+@@ -74,8 +74,9 @@
+
+ EXESUF=-xen
+
+-datadir := $(subst qemu,xen/qemu,$(datadir))
+-docdir := $(subst qemu,xen/qemu,$(docdir))
+-mandi...
2012 Nov 13
4
[PATCH] qemu-stubdom: prevent useless medium change
...c
+++ b/xenstore.c
@@ -614,6 +614,12 @@ void xenstore_parse_domain_config(int hvm_domid)
if (pasprintf(&danger_buf, "%s/device/vbd/%s", danger_path, e_danger[i]) == -1)
continue;
if (bdrv_open2(bs, danger_buf, BDRV_O_CACHE_WB /* snapshot and write-back */, &bdrv_raw) == 0) {
+ if (pasprintf(&buf, "%s/params", bpath) == -1)
+ continue;
+ free(params);
+ params = xs_read(xsh, XBT_NULL, buf, &len);
+ if (params == NULL)
+ continue;
pstrcpy(bs->filename, sizeof(bs->filename), param...