qemu-xen-traditional: disk performance improvements
cover qemu-xen-traditional: disk performance improvements
Hi all,
this small patch series enables the O_DIRECT flag to open disk images for both the IDE and xen_disk interface.
Also it includes few fixes for xen_disk.
Stefano Stabellini (3):
qemu-xen-traditional: use O_DIRECT to open disk images for IDE
qemu-xen-traditional: use O_DIRECT to open disk images with QDISK
qemu-xen-traditional: QDISK fixes
hw/xen_disk.c | 17 +++++++++-------- xenstore.c | 2 +- 2 files changed, 10 insertions(+), 9 deletions(-)
Cheers,
Stefano
PATCH 1/3 qemu-xen-traditional: use O_DIRECT to open disk images for IDE
--- xenstore.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
xenstore.c +1 -1
@@ -643,7 +643,7 @@ void xenstore_parse_domain_config(int hvm_domid) }pstrcpy (bs->filename,sizeof (bs->filename), params); - flags =BDRV_O_CACHE_WB ;/* snapshot and write-back */ + flags =BDRV_O_NOCACHE ; is_readonly =0 ;if (pasprintf (&buf,"%s/mode" , bpath) ==-1 )continue ;
Signature · 1 line
1.7.2.5
Re: [PATCH 1/3] qemu-xen-traditional: use O_DIRECT to open disk images for IDE
Quoted 20 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Stefano Stabellini
Sent: Friday, March 23, 2012 10:51 PM
To: [email protected]
Cc: [email protected]; Stefano Stabellini
Subject: [Xen-devel] [PATCH 1/3] qemu-xen-traditional: useO_DIRECTto open disk images for IDESigned-off-by Stefano Stabellini <[email protected]>--- xenstore.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)xenstore.c +0
-0
xenstore.c void xenstore_parse_domain_config(int hvm_domid) · line 649
Quoted 8 lines
xenstore.c +1
-1@@ -643,7 +643,7 @@ void xenstore_parse_domain_config(int hvm_domid) }pstrcpy (bs->filename,sizeof (bs->filename), params); - flags =BDRV_O_CACHE_WB ;/* snapshot and write-back */ + flags =BDRV_O_NOCACHE ; is_readonly =0 ;if (pasprintf (&buf,"%s/mode" , bpath) ==-1 )continue ;
Any reason for this change?
best regards
yang
Re: [PATCH 1/3] qemu-xen-traditional: use O_DIRECT to open disk images for IDE
Quoted 22 lines · Yang Z
Quoted 22 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Stefano Stabellini
Sent: Friday, March 23, 2012 10:51 PM
To: [email protected]
Cc: [email protected]; Stefano Stabellini
Subject: [Xen-devel] [PATCH 1/3] qemu-xen-traditional: useO_DIRECTto open disk images for IDESigned-off-by Stefano Stabellini <[email protected]>--- xenstore.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)xenstore.c +0
-0@@ -643,7 +643,7 @@ void xenstore_parse_domain_config(int hvm_domid) }pstrcpy (bs->filename,sizeof (bs->filename), params);
Quoted 6 lines
xenstore.c void xenstore_parse_domain_config(int hvm_domid) · line 649
Quoted 5 lines
xenstore.c +1
-1- flags =BDRV_O_CACHE_WB ;/* snapshot and write-back */ + flags =BDRV_O_NOCACHE ; is_readonly =0 ;if (pasprintf (&buf,"%s/mode" , bpath) ==-1 )continue ;Any reason for this change?
performance and correctness: BDRV_O_NOCACHE in QEMU means opening the disk image with O_DIRECT
Re: [PATCH 1/3] qemu-xen-traditional: use O_DIRECT to open disk images for IDE
Quoted 39 lines
-----Original Message-----
From: Stefano Stabellini [mailto:[email protected]]
Sent: Monday, March 26, 2012 6:21 PM
To: Zhang, Yang Z
Cc: Stefano Stabellini; [email protected]; Ian Jackson
Subject: RE: [Xen-devel] [PATCH 1/3] qemu-xen-traditional: useO_DIRECTto open disk images for IDEQuoted 7 lines · Yang Z
Quoted 7 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Stefano Stabellini
Sent: Friday, March 23, 2012 10:51 PM
To: [email protected]
Cc: [email protected]; Stefano Stabellini
Subject: [Xen-devel] [PATCH 1/3] qemu-xen-traditional: useO_DIRECTtoopen
Quoted 15 lines
Quoted 15 lines
disk images for IDE
Signed-off-by Stefano Stabellini <[email protected]>--- xenstore.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)xenstore.c +0
-0@@ -643,7 +643,7 @@ void xenstore_parse_domain_config(int hvm_domid) }pstrcpy (bs->filename,sizeof (bs->filename), params);Quoted 6 lines
xenstore.c void xenstore_parse_domain_config(int hvm_domid) · line 649
Quoted 5 lines
xenstore.c +1
-1- flags =BDRV_O_CACHE_WB ;/* snapshot and write-back */ + flags =BDRV_O_NOCACHE ; is_readonly =0 ;if (pasprintf (&buf,"%s/mode" , bpath) ==-1 )continue ;Any reason for this change?
Quoted 2 lines
performance and correctness:
BDRV_O_NOCACHEin QEMU means opening the disk image withO_DIRECT
Doesn't cache mode have better performance than NOCACHE?
best regards
yang
Re: [PATCH 1/3] qemu-xen-traditional: use O_DIRECT to open disk images for IDE
Quoted 15 lines · Yang Z
Quoted 15 lines
Quoted 14 lines
xenstore.c void xenstore_parse_domain_config(int hvm_domid) · line 649
Quoted 13 lines
xenstore.c +1
-1@@ -643,7 +643,7 @@ void xenstore_parse_domain_config(int hvm_domid) }pstrcpy (bs->filename,sizeof (bs->filename), params); - flags =BDRV_O_CACHE_WB ;/* snapshot and write-back */ + flags =BDRV_O_NOCACHE ; is_readonly =0 ;if (pasprintf (&buf,"%s/mode" , bpath) ==-1 )continue ;Any reason for this change?
Quoted 3 lines
Quoted 2 lines
performance and correctness:
BDRV_O_NOCACHEin QEMU means opening the disk image withO_DIRECTDoesn't cache mode have better performance than NOCACHE?
Actually you are correct. I think that this patch should be dropped from the series. Of course we need O_DIRECT for QDISK otherwise we do loose correctness but considering that IDE should only be used during installation it can stay as it is.
Re: [PATCH 1/3] qemu-xen-traditional: use O_DIRECT to open disk images for IDE
Stefano Stabellini writes ("RE: [Xen-devel] [PATCH 1/3] qemu-xen-traditional: use O_DIRECT to open disk images for IDE"):
Quoted 7 lines · Yang Z
Quoted 1 line
Doesn't cache mode have better performance than NOCACHE?
Actually you are correct. I think that this patch should be dropped from the series. Of course we need
O_DIRECTfor QDISK otherwise we do loose correctness but considering that IDE should only be used during installation it can stay as it is.
I don't think this assumption about IDE is correct. To say that "IDE should only be used during installation" is not an excuse for providing an IDE controller which violates the usual correctness rules.
Ian.
Re: [PATCH 1/3] qemu-xen-traditional: use O_DIRECT to open disk images for IDE
Quoted 14 lines · Ian Jackson
Stefano Stabellini writes ("RE: [Xen-devel] [PATCH 1/3] qemu-xen-traditional: use
O_DIRECTto open disk images for IDE"):Quoted 7 lines · Yang Z
Quoted 1 line
Doesn't cache mode have better performance than NOCACHE?
Actually you are correct. I think that this patch should be dropped from the series. Of course we need
O_DIRECTfor QDISK otherwise we do loose correctness but considering that IDE should only be used during installation it can stay as it is.I don't think this assumption about IDE is correct. To say that "IDE should only be used during installation" is not an excuse for providing an IDE controller which violates the usual correctness rules.
Quoted 6 lines
Ian.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
I would highly recommend using direct IO where virtualized disks are concerned, regardless of correctness.
At the very least based on the principle of "least surprise" noone likes to find out their data was corrupted due to caches they didn't know about and didn't configure.
Over the years this has been well documented in the Xen archives and old wiki as unwanted and best avoided behavior.
This is the driving force behind persuing qdisk over blkback+loop until loop attains O_DIRECT support upstream.
The other option is to document that this is the case and recommend users always use the phy:/ handler with proper block devices. Though IMHO this is not desired and it would be preffered to indicate that use of file:/ will result in performance degradation.
Joseph.
Signature · 3 lines
Founder | Director | VP Research Orion Virtualisation Solutions | www.orionvm.com.au | Phone: 1300 56 99 52 | Mobile: 0428 754 846
Re: [PATCH 1/3] qemu-xen-traditional: use O_DIRECT to open disk images for IDE
In reply to Ian JacksonQuoted 9 lines · Ian Jackson
Stefano Stabellini writes ("RE: [Xen-devel] [PATCH 1/3] qemu-xen-traditional: use
O_DIRECTto open disk images for IDE"):Quoted 7 lines · Yang Z
Quoted 1 line
Doesn't cache mode have better performance than NOCACHE?
Actually you are correct. I think that this patch should be dropped from the series. Of course we need
O_DIRECTfor QDISK otherwise we do loose correctness but considering that IDE should only be used during installation it can stay as it is.
Quoted 4 lines
I don't think this assumption about IDE is correct. To say that "IDE should only be used during installation" is not an excuse for providing an IDE controller which violates the usual correctness rules.
The changeset which originally made this use BDRV_O_CACHE is below, do the arguments made there no longer apply? To my non-qemu eye it looks like hw/ide.c is doing an appropriate amount of bdrv_flush().
I think it is possible that we've incorrectly determined that BDRV_O_CACHE has issues with correctness?
My recollection is that way-back-when that installation to an emulated IDE device with O_DIRECT was so slow that it was deemed an acceptable trade-off, presumably given the understanding that IDE cache control was working.
I think Stefano measured it again recently, Stefano -- can you share the numbers you saw?
Ian.
commit 82787c6f689d869ad349df83ec3f58702afe00fe
Author: Ian Jackson <[email protected]> Date: Mon Mar 2 11:21:51 2009 +0000
Override default cache mode for disk images to write-back
Upstream qemu changed the default cache mode to write-through (ie, O_DSYNC) which is much slower. We do not need this as we have explicit control of cacheing with the IDE cache control commands.
Original patch by Yang Zhang modified by Ian Jackson.
xenstore.c +2 -2
@@ -472,7 +472,7 @@ void xenstore_parse_domain_config(int hvm_domid)#ifdef CONFIG_STUBDOM if (pasprintf(&danger_buf, "%s/device/vbd/%s", danger_path, e_danger[i] continue; - if (bdrv_open2(bs, danger_buf, 0 /* snapshot */, &bdrv_vbd) == 0) { + if (bdrv_open2(bs, danger_buf, BDRV_O_CACHE_WB /* snapshot and write-bacpstrcpy(bs->filename, sizeof(bs->filename), params); } else #endif
@@ -498,7 +498,7 @@ void xenstore_parse_domain_config(int hvm_domid) } }pstrcpy (bs->filename,sizeof (bs->filename), params); -if (bdrv_open2 (bs, params,0 /* snapshot */ , format) <0 ) + if (bdrv_open2(bs, params, BDRV_O_CACHE_WB /* snapshot and write-bafprintf(stderr, "qemu: could not open vbd '%s' or hard disk ima }
Quoted 7 lines
Ian.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Re: [PATCH 1/3] qemu-xen-traditional: use O_DIRECT to open disk images for IDE
Quoted 10 lines · Ian Campbell
Quoted 9 lines · Ian Jackson
Stefano Stabellini writes ("RE: [Xen-devel] [PATCH 1/3] qemu-xen-traditional: use
O_DIRECTto open disk images for IDE"):Quoted 7 lines · Yang Z
Quoted 1 line
Doesn't cache mode have better performance than NOCACHE?
Actually you are correct. I think that this patch should be dropped from the series. Of course we need
O_DIRECTfor QDISK otherwise we do loose correctness but considering that IDE should only be used during installation it can stay as it is.
Quoted 8 lines
Quoted 4 lines
I don't think this assumption about IDE is correct. To say that "IDE should only be used during installation" is not an excuse for providing an IDE controller which violates the usual correctness rules.
The changeset which originally made this use
BDRV_O_CACHEis below, do the arguments made there no longer apply? To my non-qemu eye it looks likehw/ide.cis doing an appropriate amount ofbdrv_flush().
It is not just about the IDE controller, it is also about the image format, see below.
Quoted 2 lines
I think it is possible that we've incorrectly determined that
BDRV_O_CACHEhas issues with correctness?
Following the latest disk cache thread on qemu-devel
(http://marc.info/?l=qemu-devel&m=127434799425483) it looks like some image formats are unsafe with BDRV_O_CACHE_WB:
https://bugzilla.redhat.com/show_bug.cgi?id=572825
It looks like KVM suggests to turn off caching with raw files or volumes (but keep in mind that the default for them is write through):
http://www.linux-kvm.org/page/Tuning_KVM
Quoted 7 lines
My recollection is that way-back-when that installation to an emulated IDE device with
O_DIRECTwas so slow that it was deemed an acceptable trade-off, presumably given the understanding that IDE cache control was working.I think Stefano measured it again recently, Stefano -- can you share the numbers you saw?
Installing Win7 X64 on my testbox takes 15 minutes with BDRV_O_CACHE_WB and 23 minutes with BDRV_O_NOCACHE.
That means a 35% drop in performances.
Given the high difference I would be tempted to keep things as they are, at least for raw files/devices and maybe switch to nocache just for cow formats.
Re: [PATCH 1/3] qemu-xen-traditional: use O_DIRECT to open disk images for IDE [and 1 more messages]
Stefano Stabellini writes ("Re: [Xen-devel] [PATCH 1/3] qemu-xen-traditional: use O_DIRECT to open disk images for IDE"):
Quoted 9 lines · Ian Jackson
Quoted 5 lines
Ian Campbell writes ("Re: [Xen-devel] [PATCH 1/3] qemu-xen-traditional: use
O_DIRECTto open disk images for IDE"):
So I think qemu-xen-unstable the use of write-back cacheing forbdrv_writeis correct. (Apart from the wrinkle that the emulated
drive cache,write_cache, is enabled by default - but I wouldn't be
surprised if that accurately emulated the behaviour of real disks.)You have missed my other emails on this thread about other disk formats and related bug reports.
I guess you mean this, which I had read:
Stefano Stabellini writes ("Re: [Xen-devel] [PATCH 1/3] qemu-xen-traditional: use O_DIRECT to open disk images for IDE"):
Quoted 7 lines · Ian Campbell
Quoted 2 lines
I think it is possible that we've incorrectly determined that
BDRV_O_CACHEhas issues with correctness?Following the latest disk cache thread on qemu-devel
(http://marc.info/?l=qemu-devel&m=127434799425483) it looks like some image formats are unsafe withBDRV_O_CACHE_WB:
I'm not convinced that this bug applies to the approach taken in qemu-xen-unstable, because in qemu-xen-unstable we always call bdrv_flush at an appropriate point, and bdrv_flush is plumbed through by qcow_aio_flush to a flush of the underlying device.
Ian.
Re: [PATCH 1/3] qemu-xen-traditional: use O_DIRECT to open disk images for IDE [and 1 more messages]
Quoted 18 lines · Ian Jackson
Stefano Stabellini writes ("Re: [Xen-devel] [PATCH 1/3] qemu-xen-traditional: use
O_DIRECTto open disk images for IDE"):Quoted 9 lines · Ian Jackson
Quoted 5 lines
Ian Campbell writes ("Re: [Xen-devel] [PATCH 1/3] qemu-xen-traditional: use
O_DIRECTto open disk images for IDE"):
So I think qemu-xen-unstable the use of write-back cacheing forbdrv_writeis correct. (Apart from the wrinkle that the emulated
drive cache,write_cache, is enabled by default - but I wouldn't be
surprised if that accurately emulated the behaviour of real disks.)You have missed my other emails on this thread about other disk formats and related bug reports.
I guess you mean this, which I had read:
Stefano Stabellini writes ("Re: [Xen-devel] [PATCH 1/3] qemu-xen-traditional: use
O_DIRECTto open disk images for IDE"):Quoted 4 lines · Ian Campbell
Quoted 2 lines
I think it is possible that we've incorrectly determined that
BDRV_O_CACHEhas issues with correctness?
Quoted 8 lines
Quoted 3 lines
Following the latest disk cache thread on qemu-devel
(http://marc.info/?l=qemu-devel&m=127434799425483) it looks like some image formats are unsafe withBDRV_O_CACHE_WB:I'm not convinced that this bug applies to the approach taken in qemu-xen-unstable, because in qemu-xen-unstable we always call
bdrv_flushat an appropriate point, andbdrv_flushis plumbed through byqcow_aio_flushto a flush of the underlying device.
I think it does.
Here is an example:
In qemu-xen you can easily have this sequence of calls:
bdrv_co_writev -> qcow2_co_writev -> qcow2_alloc_cluster_offset -> get_cluster_table -> qcow2_grow_l1_table -> bdrv_pwrite_sync
In qemu-xen-traditional they would become:
qcow_aio_write_cb -> alloc_cluster_offset -> get_cluster_table -> grow_l1_table -> bdrv_pwrite
The key piece of information is that bdrv_pwrite_sync issues a bdrv_flush if the file was opened as WB, while bdrv_pwrite does not.
Re: [PATCH 1/3] qemu-xen-traditional: use O_DIRECT to open disk images for IDE [and 1 more messages]
Stefano Stabellini writes ("Re: [Xen-devel] [PATCH 1/3] qemu-xen-traditional: use O_DIRECT to open disk images for IDE [and 1 more messages]"):
Quoted 4 lines
In qemu-xen you can easily have this sequence of calls:
bdrv_co_writev->qcow2_co_writev->qcow2_alloc_cluster_offset->get_cluster_table->qcow2_grow_l1_table->bdrv_pwrite_sync
...
Quoted 8 lines
In qemu-xen-traditional they would become:
qcow_aio_write_cb->alloc_cluster_offset->get_cluster_table->grow_l1_table->bdrv_pwriteThe key piece of information is that
bdrv_pwrite_syncissues abdrv_flushif the file was opened as WB, whilebdrv_pwritedoes not.
Yes, but why does this matter ? If the guest cares about the data then it will either turn off caching entirely, or issue an explicit flush operation, which will translate into a bdrv_flush. So the flush will happen.
Ian.
Re: [PATCH 1/3] qemu-xen-traditional: use O_DIRECT to open disk images for IDE [and 1 more messages]
Quoted 12 lines · Ian Jackson
Stefano Stabellini writes ("Re: [Xen-devel] [PATCH 1/3] qemu-xen-traditional: use
O_DIRECTto open disk images for IDE [and 1 more messages]"):Quoted 4 lines
In qemu-xen you can easily have this sequence of calls:
bdrv_co_writev->qcow2_co_writev->qcow2_alloc_cluster_offset->get_cluster_table->qcow2_grow_l1_table->bdrv_pwrite_sync...
Quoted 6 lines
In qemu-xen-traditional they would become:
qcow_aio_write_cb->alloc_cluster_offset->get_cluster_table->grow_l1_table->bdrv_pwrite
Quoted 7 lines
Quoted 2 lines
The key piece of information is that
bdrv_pwrite_syncissues abdrv_flushif the file was opened as WB, whilebdrv_pwritedoes not.Yes, but why does this matter ? If the guest cares about the data then it will either turn off caching entirely, or issue an explicit flush operation, which will translate into a
bdrv_flush. So the flush will happen.
If the QCOW2 metadata is written/updated in response to events other than bdrv_write, they could still get out of sync.
However giving a look at block-qcow2.c I wasn't able to find any such cases (aside snapshots that we don't support), so it should be OK to use WB with IDE and QCOW2 on qemu-xen-traditional too.
Re: [PATCH 1/3] qemu-xen-traditional: use O_DIRECT to open disk images for IDE
In reply to Ian CampbellQuoted 80 lines
-----Original Message-----
From: Ian Campbell [mailto:[email protected]]
Sent: Wednesday, March 28, 2012 5:11 PM
To: Ian Jackson
Cc: Stefano Stabellini; Zhang, Yang Z; [email protected]
Subject: Re: [Xen-devel] [PATCH 1/3] qemu-xen-traditional: useO_DIRECTto open disk images for IDEQuoted 1 line · Ian Jackson
Stefano Stabellini writes ("RE: [Xen-devel] [PATCH 1/3] qemu-xen-traditional:
use
O_DIRECTto open disk images for IDE"):Quoted 8 lines
Quoted 7 lines · Yang Z
Quoted 1 line
Doesn't cache mode have better performance than NOCACHE?
Actually you are correct. I think that this patch should be dropped from the series. Of course we need
O_DIRECTfor QDISK otherwise we do loose correctness but considering that IDE should only be used during installation it can stay as it is.Quoted 4 lines
I don't think this assumption about IDE is correct. To say that "IDE should only be used during installation" is not an excuse for providing an IDE controller which violates the usual correctness rules.
The changeset which originally made this use
BDRV_O_CACHEis below, do the arguments made there no longer apply? To my non-qemu eye it looks likehw/ide.cis doing an appropriate amount ofbdrv_flush().I think it is possible that we've incorrectly determined that
BDRV_O_CACHEhas issues with correctness?My recollection is that way-back-when that installation to an emulated IDE device with
O_DIRECTwas so slow that it was deemed an acceptable trade-off, presumably given the understanding that IDE cache control was working.I think Stefano measured it again recently, Stefano -- can you share the numbers you saw?
Ian.
commit
82787c6f689d869ad349df83ec3f58702afe00feAuthor: Ian Jackson <[email protected]> Date: Mon Mar 2 11:21:51 2009 +0000Override default cache mode for disk images to write-back
Upstream qemu changed the default cache mode to write-through (ie,
O_DSYNC) which is much slower. We do not need this as we have explicit control of cacheing with the IDE cache control commands.Original patch by Yang Zhang modified by Ian Jackson.
Signed-off-by Yang Zhang <[email protected]>Signed-off-by Ian Jackson <[email protected]>xenstore.c +0
-0@@ -472,7 +472,7 @@ void xenstore_parse_domain_config(int hvm_domid)#ifdef CONFIG_STUBDOM if (pasprintf(&danger_buf, "%s/device/vbd/%s", danger_path,e_danger[i]
continue;xenstore.c +1
-1-if (bdrv_open2 (bs, danger_buf,0 /* snapshot */ , &bdrv_vbd) ==0 ) { + if (bdrv_open2(bs, danger_buf, BDRV_O_CACHE_WB /* snapshot andwrite-bac
pstrcpy(bs->filename, sizeof(bs->filename), params); } else#endif
xenstore.c +1
-1@@ -498,7 +498,7 @@ void xenstore_parse_domain_config(int hvm_domid) } }pstrcpy (bs->filename,sizeof (bs->filename), params); -if (bdrv_open2 (bs, params,0 /* snapshot */ , format) <0 ) + if (bdrv_open2(bs, params, BDRV_O_CACHE_WB /* snapshot andwrite-ba
fprintf(stderr, "qemu: could not open vbd '%s' or hard disk
ima
Quoted 2 lines
}
IIRC, start several guests at same time are very slowly w/o this patch.
Yes, correctness is important. But in some cases, the user may put the performance at the first place. For example, our QA team has many cases which will boot many guest at same time. If using no-cache mode, they need to spend more time to wait the case finished. And this is not they wanted. For KVM, the qemu argument allow user to determine which cache mode they like. I think we need to follow it. How about to add an option in config file to allow user to choose the cache mode and the default value can be no-cache.
best regards
yang
Re: [PATCH 1/3] qemu-xen-traditional: use O_DIRECT to open disk images for IDE
Quoted 84 lines · Yang Z
Quoted 80 lines
-----Original Message-----
From: Ian Campbell [mailto:[email protected]]
Sent: Wednesday, March 28, 2012 5:11 PM
To: Ian Jackson
Cc: Stefano Stabellini; Zhang, Yang Z; [email protected]
Subject: Re: [Xen-devel] [PATCH 1/3] qemu-xen-traditional: useO_DIRECTto open disk images for IDEQuoted 1 line · Ian Jackson
Stefano Stabellini writes ("RE: [Xen-devel] [PATCH 1/3] qemu-xen-traditional:
use
O_DIRECTto open disk images for IDE"):Quoted 8 lines
Quoted 7 lines · Yang Z
Quoted 1 line
Doesn't cache mode have better performance than NOCACHE?
Actually you are correct. I think that this patch should be dropped from the series. Of course we need
O_DIRECTfor QDISK otherwise we do loose correctness but considering that IDE should only be used during installation it can stay as it is.Quoted 4 lines
I don't think this assumption about IDE is correct. To say that "IDE should only be used during installation" is not an excuse for providing an IDE controller which violates the usual correctness rules.
The changeset which originally made this use
BDRV_O_CACHEis below, do the arguments made there no longer apply? To my non-qemu eye it looks likehw/ide.cis doing an appropriate amount ofbdrv_flush().I think it is possible that we've incorrectly determined that
BDRV_O_CACHEhas issues with correctness?My recollection is that way-back-when that installation to an emulated IDE device with
O_DIRECTwas so slow that it was deemed an acceptable trade-off, presumably given the understanding that IDE cache control was working.I think Stefano measured it again recently, Stefano -- can you share the numbers you saw?
Ian.
commit
82787c6f689d869ad349df83ec3f58702afe00feAuthor: Ian Jackson <[email protected]> Date: Mon Mar 2 11:21:51 2009 +0000Override default cache mode for disk images to write-back
Upstream qemu changed the default cache mode to write-through (ie,
O_DSYNC) which is much slower. We do not need this as we have explicit control of cacheing with the IDE cache control commands.Original patch by Yang Zhang modified by Ian Jackson.
Signed-off-by Yang Zhang <[email protected]>Signed-off-by Ian Jackson <[email protected]>xenstore.c +0
-0@@ -472,7 +472,7 @@ void xenstore_parse_domain_config(int hvm_domid)#ifdef CONFIG_STUBDOM if (pasprintf(&danger_buf, "%s/device/vbd/%s", danger_path,e_danger[i]
continue;xenstore.c +1
-1-if (bdrv_open2 (bs, danger_buf,0 /* snapshot */ , &bdrv_vbd) ==0 ) { + if (bdrv_open2(bs, danger_buf, BDRV_O_CACHE_WB /* snapshot andwrite-bac
pstrcpy(bs->filename, sizeof(bs->filename), params); } else#endif
xenstore.c +1
-1@@ -498,7 +498,7 @@ void xenstore_parse_domain_config(int hvm_domid) } }pstrcpy (bs->filename,sizeof (bs->filename), params); -if (bdrv_open2 (bs, params,0 /* snapshot */ , format) <0 ) + if (bdrv_open2(bs, params, BDRV_O_CACHE_WB /* snapshot andwrite-ba
fprintf(stderr, "qemu: could not open vbd '%s' or hard disk
imaQuoted 2 lines
}IIRC, start several guests at same time are very slowly w/o this patch.
Quoted 2 lines
Yes, correctness is important. But in some cases, the user may put the performance at the first place. For example, our QA team has many cases which will boot many guest at same time. If using no-cache mode, they need to spend more time to wait the case finished. And this is not they wanted. For KVM, the qemu argument allow user to determine which cache mode they like. I think we need to follow it. How about to add an option in config file to allow user to choose the cache mode and the default value can be no-cache.
I think this is a good argument: we could add a new cache parameter to the disk line parser and pass it to QEMU.
However we still need to decide what is the right thing to do by default.
Re: [PATCH 1/3] qemu-xen-traditional: use O_DIRECT to open disk images for IDE
Quoted 93 lines · Stefano Stabellini
Quoted 84 lines · Yang Z
Quoted 77 lines
-----Original Message-----
From: Ian Campbell [mailto:[email protected]]
Sent: Wednesday, March 28, 2012 5:11 PM
To: Ian Jackson
Cc: Stefano Stabellini; Zhang, Yang Z; [email protected]
Subject: Re: [Xen-devel] [PATCH 1/3] qemu-xen-traditional: useO_DIRECTto open disk images for IDEQuoted 1 line · Ian Jackson
Stefano Stabellini writes ("RE: [Xen-devel] [PATCH 1/3] qemu-xen-traditional:
use
O_DIRECTto open disk images for IDE"):Quoted 8 lines
Quoted 7 lines · Yang Z
Quoted 1 line
Doesn't cache mode have better performance than NOCACHE?
Actually you are correct. I think that this patch should be dropped from the series. Of course we need
O_DIRECTfor QDISK otherwise we do loose correctness but considering that IDE should only be used during installation it can stay as it is.Quoted 4 lines
I don't think this assumption about IDE is correct. To say that "IDE should only be used during installation" is not an excuse for providing an IDE controller which violates the usual correctness rules.
The changeset which originally made this use
BDRV_O_CACHEis below, do the arguments made there no longer apply? To my non-qemu eye it looks likehw/ide.cis doing an appropriate amount ofbdrv_flush().I think it is possible that we've incorrectly determined that
BDRV_O_CACHEhas issues with correctness?My recollection is that way-back-when that installation to an emulated IDE device with
O_DIRECTwas so slow that it was deemed an acceptable trade-off, presumably given the understanding that IDE cache control was working.I think Stefano measured it again recently, Stefano -- can you share the numbers you saw?
Ian.
commit
82787c6f689d869ad349df83ec3f58702afe00fe
Author: Ian Jackson <[email protected]>
Date: Mon Mar 2 11:21:51 2009 +0000Override default cache mode for disk images to write-back
Upstream qemu changed the default cache mode to write-through (ie,
O_DSYNC) which is much slower. We do not need this as we have explicit control of cacheing with the IDE cache control commands.Original patch by Yang Zhang modified by Ian Jackson.
Signed-off-by Yang Zhang <[email protected]>Signed-off-by Ian Jackson <[email protected]>xenstore.c +0
-0@@ -472,7 +472,7 @@ void xenstore_parse_domain_config(int hvm_domid) #ifdef CONFIG_STUBDOM if (pasprintf(&danger_buf, "%s/device/vbd/%s", danger_path,e_danger[i]
continue;
- if (bdrv_open2(bs, danger_buf, 0 /* snapshot */, &bdrv_vbd)== 0) {
+ if (bdrv_open2(bs,danger_buf,BDRV_O_CACHE_WB/* snapshot and write-bac
pstrcpy(bs->filename, sizeof(bs->filename), params); } else
#endifxenstore.c +1
-1@@ -498,7 +498,7 @@ void xenstore_parse_domain_config(int hvm_domid) } } pstrcpy(bs->filename, sizeof(bs->filename), params); - if (bdrv_open2(bs, params, 0 /* snapshot */, format) < 0) + if (bdrv_open2(bs, params, BDRV_O_CACHE_WB /* snapshot andQuoted 5 lines
write-ba
fprintf(stderr, "qemu: could not open vbd '%s' or hard disk ima
}IIRC, start several guests at same time are very slowly w/o this patch.
Quoted 2 lines
Yes, correctness is important. But in some cases, the user may put the performance at the first place. For example, our QA team has many cases which will boot many guest at same time. If using no-cache mode, they need to spend more time to wait the case finished. And this is not they wanted. For KVM, the qemu argument allow user to determine which cache mode they like. I think we need to follow it. How about to add an option in config file to allow user to choose the cache mode and the default value can be no-cache.
I think this is a good argument: we could add a new cache parameter to the disk line parser and pass it to QEMU.
However we still need to decide what is the right thing to do by default.
Quoted 4 lines
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Enabling writeback caching by default I think is probably an ill-advised choice. The default in QEMU and KVM is writethrough as I understand it for much the same reasons as those I noted above.
The addition of an a parameter to match the QEMU invocation (cache=<none>,<writeback>,<writethrough>) would be most welcome. I would suggest setting the default to writethrough as per KVM/QEMU defaults as this is probably the least surprising choice.
Joseph.
Signature · 3 lines
Founder | Director | VP Research Orion Virtualisation Solutions | www.orionvm.com.au | Phone: 1300 56 99 52 | Mobile: 0428 754 846
Re: [PATCH 1/3] qemu-xen-traditional: use O_DIRECT to open disk images for IDE
Quoted 12 lines · Joseph Glanville
On 29 March 2012 22:05, Stefano Stabellini
Quoted 7 lines
Quoted 2 lines
Yes, correctness is important. But in some cases, the user may put the performance at the first place. For example, our QA team has many cases which will boot many guest at same time. If using no-cache mode, they need to spend more time to wait the case finished. And this is not they wanted. For KVM, the qemu argument allow user to determine which cache mode they like. I think we need to follow it. How about to add an option in config file to allow user to choose the cache mode and the default value can be no-cache.
I think this is a good argument: we could add a new cache parameter to the disk line parser and pass it to QEMU.
However we still need to decide what is the right thing to do by default.Enabling writeback caching by default I think is probably an ill-advised choice. The default in QEMU and KVM is writethrough as I understand it for much the same reasons as those I noted above.
[...]
Quoted 2 lines
I would suggest setting the default to writethrough as per KVM/QEMU defaults as this is probably the least surprising choice.
I don't think it would be wise to switch from WB to WT by default, considering the incredible difference in performance between the two. Also as from my other email in this thread, I don't think it is actually necessary to use WT to enforce correctness in all cases but QCOW2. Moreover BZ 572825 has been fixed in upstream QEMU so it only affects qemu-xen-traditional now.
As a consequence I think the best default behaviour we can have for qemu-xen-traditional is:
IDE QDISK
---------------------------------------
RAW | WB | NOCACHE QCOW/QCOW2 | WT | NOCACHE
For qemu-xen:
IDE QDISK
---------------------------------------
RAW | WB | NOCACHE QCOW/QCOW2 | WB | NOCACHE
We should document that the IDE interface for HVM guests doesn't have the same level of safeguards than QDISK in case of sudden host power downs (as it has always been since that patch in 2009).
Quoted 2 lines
The addition of an a parameter to match the QEMU invocation (cache=<none>,<writeback>,<writethrough>) would be most welcome.
Agreed.
Re: [PATCH 1/3] qemu-xen-traditional: use O_DIRECT to open disk images for IDE
In reply to Joseph GlanvilleQuoted 123 lines
-----Original Message-----
From: Joseph Glanville [mailto:[email protected]]
Sent: Thursday, March 29, 2012 7:51 PM
To: Stefano Stabellini
Cc: Zhang, Yang Z; [email protected]; Ian Jackson; Ian Campbell
Subject: Re: [Xen-devel] [PATCH 1/3] qemu-xen-traditional: useO_DIRECTto open disk images for IDEQuoted 7 lines · Stefano Stabellini
Quoted 6 lines · Yang Z
Quoted 6 lines
-----Original Message-----
From: Ian Campbell [mailto:[email protected]]
Sent: Wednesday, March 28, 2012 5:11 PM
To: Ian Jackson
Cc: Stefano Stabellini; Zhang, Yang Z; [email protected]
Subject: Re: [Xen-devel] [PATCH 1/3] qemu-xen-traditional: useO_DIRECTto
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
open disk images for IDE
Quoted 1 line · Ian Jackson
Stefano Stabellini writes ("RE: [Xen-devel] [PATCH 1/3]
qemu-xen-traditional:
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
use
O_DIRECTto open disk images for IDE"):Quoted 5 lines
Quoted 5 lines · Yang Z
Quoted 1 line
Doesn't cache mode have better performance than NOCACHE?
Actually you are correct. I think that this patch should be dropped from the series. Of course we need
O_DIRECTfor QDISK otherwise we doloose
Quoted 25 lines
Quoted 25 lines
Quoted 25 lines
Quoted 7 lines
Quoted 2 lines
correctness but considering that IDE should only be used during installation it can stay as it is.
I don't think this assumption about IDE is correct. To say that "IDE should only be used during installation" is not an excuse for providing an IDE controller which violates the usual correctness rules.
The changeset which originally made this use
BDRV_O_CACHEis below, do the arguments made there no longer apply? To my non-qemu eye it looks likehw/ide.cis doing an appropriate amount ofbdrv_flush().I think it is possible that we've incorrectly determined that
BDRV_O_CACHEhas issues with correctness?My recollection is that way-back-when that installation to an emulated IDE device with
O_DIRECTwas so slow that it was deemed an acceptable trade-off, presumably given the understanding that IDE cache control was working.I think Stefano measured it again recently, Stefano -- can you share the numbers you saw?
Ian.
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
commit
82787c6f689d869ad349df83ec3f58702afe00fe
Author: Ian Jackson <[email protected]>
Date: Mon Mar 2 11:21:51 2009 +0000Override default cache mode for disk images to write-back
Upstream qemu changed the default cache mode to write-through
(ie,
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
O_DSYNC) which is much slower. We do not need this as we have explicit control of cacheing with the IDE cache control commands.Original patch by Yang Zhang modified by Ian Jackson.
Quoted 8 lines
Quoted 8 lines
xenstore.c void xenstore_parse_domain_config(int
Quoted 8 lines
Signed-off-by Yang Zhang <[email protected]>Signed-off-by Ian Jackson <[email protected]>xenstore.c +0
-0@@ -472,7 +472,7 @@ void xenstore_parse_domain_config(int
hvm_domid)Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
xenstore.c +0
-0#ifdef CONFIG_STUBDOM if (pasprintf(&danger_buf, "%s/device/vbd/%s", danger_path,e_danger[i]
continue;
- if (bdrv_open2(bs, danger_buf, 0 /* snapshot */, &bdrv_vbd)== 0){
Quoted 1 line
Quoted 1 line
Quoted 1 line
+ if (bdrv_open2(bs,
danger_buf,BDRV_O_CACHE_WB/* snapshotand
Quoted 5 lines
Quoted 5 lines
xenstore.c void xenstore_parse_domain_config(int
Quoted 5 lines
write-bac
pstrcpy(bs->filename, sizeof(bs->filename), params); } else
#endifxenstore.c +0
-0@@ -498,7 +498,7 @@ void xenstore_parse_domain_config(int
hvm_domid)Quoted 5 lines
Quoted 5 lines
xenstore.c void xenstore_parse_domain_config(int hvm_domid)
Quoted 5 lines
xenstore.c +1
-1} } pstrcpy(bs->filename, sizeof(bs->filename), params); - if (bdrv_open2(bs, params, 0 /* snapshot */, format) < 0) + if (bdrv_open2(bs, params, BDRV_O_CACHE_WB /*snapshot and
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
write-ba
fprintf(stderr, "qemu: could not open vbd '%s' orhard disk
Quoted 6 lines
Quoted 6 lines
Quoted 3 lines
ima
}IIRC, start several guests at same time are very slowly w/o this patch.
Yes, correctness is important. But in some cases, the user may put the
performance at the first place. For example, our QA team has many cases which will boot many guest at same time. If using no-cache mode, they need to spend more time to wait the case finished. And this is not they wanted.
Quoted 1 line
Quoted 1 line
For KVM, the qemu argument allow user to determine which cache mode
they like. I think we need to follow it. How about to add an option in config file to allow user to choose the cache mode and the default value can be no-cache.
Quoted 10 lines
I think this is a good argument: we could add a new cache parameter to the disk line parser and pass it to QEMU.
However we still need to decide what is the right thing to do by default._______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 9 lines
Enabling writeback caching by default I think is probably an ill-advised choice. The default in QEMU and KVM is writethrough as I understand it for much the same reasons as those I noted above.
The addition of an a parameter to match the QEMU invocation (cache=<none>,<writeback>,<writethrough>) would be most welcome. I would suggest setting the default to writethrough as per KVM/QEMU defaults as this is probably the least surprising choice.
Agree.
best regards
yang
Re: [PATCH 1/3] qemu-xen-traditional: use O_DIRECT to open disk images for IDE
In reply to Ian CampbellIan Campbell writes ("Re: [Xen-devel] [PATCH 1/3] qemu-xen-traditional: use O_DIRECT to open disk images for IDE"):
Quoted 9 lines
commit
82787c6f689d869ad349df83ec3f58702afe00feAuthor: Ian Jackson <[email protected]> Date: Mon Mar 2 11:21:51 2009 +0000Override default cache mode for disk images to write-back
Upstream qemu changed the default cache mode to write-through (ie,
O_DSYNC) which is much slower. We do not need this as we have explicit control of cacheing with the IDE cache control commands.
...
OK, so the reason for this is as follows:
There are IDE commands for controlling cacheing in the disk. These are the commands 0x02 and 0x82 (near l.2666 of hw/ide.c in qemu-xen-unstable). If the host has enabled the write cache, the disk is allowed to buffer written data in its own ram. The host is expected to either disable the cache, or flush the cache (WIN_FLUSH_CACHE, near l.2717) as and when appropriate.
We implement this in qemu-xen-unstable as follows:
The bdrv_write calls are expected to be write-back cached. The cache enable/disable commands set a variable write_cache in the ide code. If write_cache is 0, we run bdrv_flush after each write. In any case we run bdrv_flush when we get a cache flush command. bdrv_flush calls, effectively, fsync().
So I think qemu-xen-unstable the use of write-back cacheing for bdrv_write is correct. (Apart from the wrinkle that the emulated drive cache, write_cache, is enabled by default - but I wouldn't be surprised if that accurately emulated the behaviour of real disks.)
How is this done in qemu-upstream ?
Ian.
Re: [PATCH 1/3] qemu-xen-traditional: use O_DIRECT to open disk images for IDE
Quoted 29 lines · Ian Jackson
Ian Campbell writes ("Re: [Xen-devel] [PATCH 1/3] qemu-xen-traditional: use
O_DIRECTto open disk images for IDE"):Quoted 9 lines
commit
82787c6f689d869ad349df83ec3f58702afe00feAuthor: Ian Jackson <[email protected]> Date: Mon Mar 2 11:21:51 2009 +0000Override default cache mode for disk images to write-back
Upstream qemu changed the default cache mode to write-through (ie,
O_DSYNC) which is much slower. We do not need this as we have explicit control of cacheing with the IDE cache control commands....
OK, so the reason for this is as follows:
There are IDE commands for controlling cacheing in the disk. These are the commands
0x02and0x82(near l.2666 ofhw/ide.cin qemu-xen-unstable). If the host has enabled the write cache, the disk is allowed to buffer written data in its own ram. The host is expected to either disable the cache, or flush the cache (WIN_FLUSH_CACHE, near l.2717) as and when appropriate.We implement this in qemu-xen-unstable as follows:
The
bdrv_writecalls are expected to be write-back cached. The cache enable/disable commands set a variablewrite_cachein the ide code. Ifwrite_cacheis 0, we runbdrv_flushafter each write. In any case we runbdrv_flushwhen we get a cache flush command.bdrv_flushcalls, effectively,fsync().
Quoted 4 lines
So I think qemu-xen-unstable the use of write-back cacheing for
bdrv_writeis correct. (Apart from the wrinkle that the emulated drive cache,write_cache, is enabled by default - but I wouldn't be surprised if that accurately emulated the behaviour of real disks.)
You have missed my other emails on this thread about other disk formats and related bug reports.
Quoted 1 line
How is this done in qemu-upstream ?
WIN_FLUSH_CACHE calls ide_flush_cache that calls bdrv_aio_flush.
PATCH 2/3 qemu-xen-traditional: use O_DIRECT to open disk images with QDISK
In reply to Stefano StabelliniAlso enable batch_maps, use_aio and disable syncwrite.
--- hw/xen_disk.c | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-)
hw/xen_disk.c +6 -5
@@ -46,11 +46,11 @@/* ------------------------------------------------------------- */ -static int syncwrite =1 ; -static int batch_maps =0 ; +static int syncwrite =0 ; +static int batch_maps =1 ;static int max_requests =32 ; -static int use_aio =0 ; +static int use_aio =1 ;/* ------------------------------------------------------------- */
@@ -617,12 +617,13 @@ static int blk_init(struct XenDevice *xendev)return -1 ;/* read-only ? */ + qflags =BDRV_O_NOCACHE ;if (strcmp (blkdev->mode,"w" ) ==0 ) { mode =O_RDWR ; - qflags =BDRV_O_RDWR ; + qflags |=BDRV_O_RDWR ; }else { mode =O_RDONLY ; - qflags =BDRV_O_RDONLY ; + qflags |=BDRV_O_RDONLY ; info |=VDISK_READONLY ; }
Signature · 1 line
1.7.2.5
PATCH 3/3 qemu-xen-traditional: QDISK fixes
In reply to Stefano Stabellini- if ioreq->postsync call bdrv_flush when the operation is actually completed;
- do not increment aio_inflight when not submitting any operations.
--- hw/xen_disk.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
hw/xen_disk.c +3 -3
@@ -382,6 +382,8 @@ static void qemu_aio_complete(void *opaque, int ret) ioreq->aio_inflight--;if (ioreq->aio_inflight >0 )return ; +if (ioreq->postsync) +bdrv_flush (ioreq->blkdev->bs); ioreq->status = ioreq->aio_errors ?BLKIF_RSP_ERROR :BLKIF_RSP_OKAY ;ioreq_unmap (ioreq);
@@ -409,9 +411,9 @@ static int ioreq_runio_qemu_aio(struct ioreq *ioreq)break ;case BLKIF_OP_WRITE :case BLKIF_OP_WRITE_BARRIER : - ioreq->aio_inflight++;if (!ioreq->req.nr_segments)break ; + ioreq->aio_inflight++;bdrv_aio_writev (blkdev->bs, ioreq->start /BLOCK_SIZE , &ioreq->v, ioreq->v.size /BLOCK_SIZE , qemu_aio_complete, ioreq);
@@ -421,8 +423,6 @@ static int ioreq_runio_qemu_aio(struct ioreq *ioreq) goto err; } -if (ioreq->postsync) -bdrv_flush (blkdev->bs);/* FIXME: aio_flush() ??? */ qemu_aio_complete (ioreq,0 );return 0 ;
Signature · 1 line
1.7.2.5
Stefano Stabellini writes ("[PATCH 0/3] qemu-xen-traditional: disk performance improvements"):
Quoted 8 lines
this small patch series enables the
O_DIRECTflag to open disk images for both the IDE andxen_diskinterface.
Also it includes few fixes forxen_disk.Stefano Stabellini (3):
qemu-xen-traditional: useO_DIRECTto open disk images for IDE
qemu-xen-traditional: useO_DIRECTto open disk images with QDISK
qemu-xen-traditional: QDISK fixes
Stefano Stabellini writes ("[Xen-devel] [PATCH 0/3] qemu-xen-traditional: disk performance improvements"):
Quoted 9 lines
Hi all,
this small patch series enables theO_DIRECTflag to open disk images for both the IDE andxen_diskinterface.
Also it includes few fixes forxen_disk.Stefano Stabellini (3):
qemu-xen-traditional: useO_DIRECTto open disk images for IDE
qemu-xen-traditional: useO_DIRECTto open disk images with QDISK
qemu-xen-traditional: QDISK fixes
Quoted 6 lines · Ian Jackson
Stefano Stabellini writes ("[Xen-devel] [PATCH 0/3] qemu-xen-traditional: disk performance improvements"):
Quoted 5 lines
Hi all,
this small patch series enables theO_DIRECTflag to open disk images for both the IDE andxen_diskinterface.
Also it includes few fixes forxen_disk.
Quoted 7 lines
Quoted 4 lines
Stefano Stabellini (3):
qemu-xen-traditional: useO_DIRECTto open disk images for IDE
qemu-xen-traditional: useO_DIRECTto open disk images with QDISK
qemu-xen-traditional: QDISK fixesCommitted-by Ian Jackson <[email protected]>
Could you please backport these patches to qemu-xen-4.1-testing?
Stefano Stabellini writes ("Re: [Xen-devel] [PATCH 0/3] qemu-xen-traditional: disk performance improvements"):
Quoted 12 lines · Ian Jackson
Quoted 11 lines
Stefano Stabellini writes ("[Xen-devel] [PATCH 0/3] qemu-xen-traditional: disk performance improvements"):
Quoted 9 lines
Hi all,
this small patch series enables theO_DIRECTflag to open disk images for both the IDE andxen_diskinterface.
Also it includes few fixes forxen_disk.Stefano Stabellini (3):
qemu-xen-traditional: useO_DIRECTto open disk images for IDE
qemu-xen-traditional: useO_DIRECTto open disk images with QDISK
qemu-xen-traditional: QDISK fixes
Quoted 4 lines
Quoted 2 lines
Committed-by Ian Jackson <[email protected]>Could you please backport these patches to qemu-xen-4.1-testing?
Done.
Thanks,
Ian.