* [Qemu-devel] [PATCH] qemu-iotests: Filter out vmdk creation options
@ 2013-05-03 1:31 Fam Zheng
2013-05-03 6:48 ` Kevin Wolf
2013-05-03 9:14 ` Stefan Hajnoczi
0 siblings, 2 replies; 4+ messages in thread
From: Fam Zheng @ 2013-05-03 1:31 UTC (permalink / raw)
To: qemu-devel; +Cc: kwolf, Fam Zheng, stefanha
Cover new image creation options for vmdk, so we can use '-o
zeroed_grain=XXX' and '-o subformat=XXX' to run the tests successfully.
Signed-off-by: Fam Zheng <famz@redhat.com>
---
tests/qemu-iotests/common.rc | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/qemu-iotests/common.rc b/tests/qemu-iotests/common.rc
index a536bf7..442cf51 100644
--- a/tests/qemu-iotests/common.rc
+++ b/tests/qemu-iotests/common.rc
@@ -127,6 +127,8 @@ _make_test_img()
-e "s# compat='[^']*'##g" \
-e "s# compat6=\\(on\\|off\\)##g" \
-e "s# static=\\(on\\|off\\)##g" \
+ -e "s# zeroed_grain=\\(on\\|off\\)##g" \
+ -e "s# subformat='[^']*'##g" \
-e "s# lazy_refcounts=\\(on\\|off\\)##g"
# Start an NBD server on the image file, which is what we'll be talking to
--
1.8.1.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] [PATCH] qemu-iotests: Filter out vmdk creation options
2013-05-03 1:31 [Qemu-devel] [PATCH] qemu-iotests: Filter out vmdk creation options Fam Zheng
@ 2013-05-03 6:48 ` Kevin Wolf
2013-05-03 7:30 ` Fam Zheng
2013-05-03 9:14 ` Stefan Hajnoczi
1 sibling, 1 reply; 4+ messages in thread
From: Kevin Wolf @ 2013-05-03 6:48 UTC (permalink / raw)
To: Fam Zheng; +Cc: qemu-devel, stefanha
Am 03.05.2013 um 03:31 hat Fam Zheng geschrieben:
> Cover new image creation options for vmdk, so we can use '-o
> zeroed_grain=XXX' and '-o subformat=XXX' to run the tests successfully.
> Signed-off-by: Fam Zheng <famz@redhat.com>
> ---
> tests/qemu-iotests/common.rc | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/tests/qemu-iotests/common.rc b/tests/qemu-iotests/common.rc
> index a536bf7..442cf51 100644
> --- a/tests/qemu-iotests/common.rc
> +++ b/tests/qemu-iotests/common.rc
> @@ -127,6 +127,8 @@ _make_test_img()
> -e "s# compat='[^']*'##g" \
> -e "s# compat6=\\(on\\|off\\)##g" \
> -e "s# static=\\(on\\|off\\)##g" \
> + -e "s# zeroed_grain=\\(on\\|off\\)##g" \
> + -e "s# subformat='[^']*'##g" \
> -e "s# lazy_refcounts=\\(on\\|off\\)##g"
>
> # Start an NBD server on the image file, which is what we'll be talking to
Maybe add adapter_type as well? It's a string option, so it's not
displayed if it's not set, but if we want to make it testable (with an
explicit ./check -o option or in a new test case that adds it), we need
to filter it out.
But the patch obviously helps even without adapter_type, so anyway:
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] [PATCH] qemu-iotests: Filter out vmdk creation options
2013-05-03 6:48 ` Kevin Wolf
@ 2013-05-03 7:30 ` Fam Zheng
0 siblings, 0 replies; 4+ messages in thread
From: Fam Zheng @ 2013-05-03 7:30 UTC (permalink / raw)
To: Kevin Wolf; +Cc: qemu-devel, stefanha
On Fri, 05/03 08:48, Kevin Wolf wrote:
> Am 03.05.2013 um 03:31 hat Fam Zheng geschrieben:
> > Cover new image creation options for vmdk, so we can use '-o
> > zeroed_grain=XXX' and '-o subformat=XXX' to run the tests successfully.
> > Signed-off-by: Fam Zheng <famz@redhat.com>
> > ---
> > tests/qemu-iotests/common.rc | 2 ++
> > 1 file changed, 2 insertions(+)
> >
> > diff --git a/tests/qemu-iotests/common.rc b/tests/qemu-iotests/common.rc
> > index a536bf7..442cf51 100644
> > --- a/tests/qemu-iotests/common.rc
> > +++ b/tests/qemu-iotests/common.rc
> > @@ -127,6 +127,8 @@ _make_test_img()
> > -e "s# compat='[^']*'##g" \
> > -e "s# compat6=\\(on\\|off\\)##g" \
> > -e "s# static=\\(on\\|off\\)##g" \
> > + -e "s# zeroed_grain=\\(on\\|off\\)##g" \
> > + -e "s# subformat='[^']*'##g" \
> > -e "s# lazy_refcounts=\\(on\\|off\\)##g"
> >
> > # Start an NBD server on the image file, which is what we'll be talking to
>
> Maybe add adapter_type as well? It's a string option, so it's not
> displayed if it's not set, but if we want to make it testable (with an
> explicit ./check -o option or in a new test case that adds it), we need
> to filter it out.
>
> But the patch obviously helps even without adapter_type, so anyway:
>
> Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Sure, I'll send another patch for that option.
Thanks.
--
Fam
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] [PATCH] qemu-iotests: Filter out vmdk creation options
2013-05-03 1:31 [Qemu-devel] [PATCH] qemu-iotests: Filter out vmdk creation options Fam Zheng
2013-05-03 6:48 ` Kevin Wolf
@ 2013-05-03 9:14 ` Stefan Hajnoczi
1 sibling, 0 replies; 4+ messages in thread
From: Stefan Hajnoczi @ 2013-05-03 9:14 UTC (permalink / raw)
To: Fam Zheng; +Cc: kwolf, qemu-devel, stefanha
On Fri, May 03, 2013 at 09:31:40AM +0800, Fam Zheng wrote:
> Cover new image creation options for vmdk, so we can use '-o
> zeroed_grain=XXX' and '-o subformat=XXX' to run the tests successfully.
> Signed-off-by: Fam Zheng <famz@redhat.com>
> ---
> tests/qemu-iotests/common.rc | 2 ++
> 1 file changed, 2 insertions(+)
Thanks, applied to my block tree:
https://github.com/stefanha/qemu/commits/block
Stefan
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-05-03 9:14 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-03 1:31 [Qemu-devel] [PATCH] qemu-iotests: Filter out vmdk creation options Fam Zheng
2013-05-03 6:48 ` Kevin Wolf
2013-05-03 7:30 ` Fam Zheng
2013-05-03 9:14 ` Stefan Hajnoczi
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).