Re: [Qemu-devel] [PATCH 13/34] qemu-io: Add command 'reopen'

2015-05-13 Thread Kevin Wolf
Am 12.05.2015 um 17:05 hat Eric Blake geschrieben: > On 05/08/2015 11:21 AM, Kevin Wolf wrote: > > Signed-off-by: Kevin Wolf > > --- > > qemu-io-cmds.c | 71 > > ++ > > 1 file changed, 71 insertions(+) > > > > > + > > +while ((c = get

Re: [Qemu-devel] [PATCH 13/34] qemu-io: Add command 'reopen'

2015-05-12 Thread Eric Blake
On 05/08/2015 11:21 AM, Kevin Wolf wrote: > Signed-off-by: Kevin Wolf > --- > qemu-io-cmds.c | 71 > ++ > 1 file changed, 71 insertions(+) > > + > +while ((c = getopt(argc, argv, "c:o:r")) != EOF) { POSIX says getopt() returns -1 at

Re: [Qemu-devel] [PATCH 13/34] qemu-io: Add command 'reopen'

2015-05-11 Thread Max Reitz
On 08.05.2015 19:21, Kevin Wolf wrote: Signed-off-by: Kevin Wolf --- qemu-io-cmds.c | 71 ++ 1 file changed, 71 insertions(+) diff --git a/qemu-io-cmds.c b/qemu-io-cmds.c index 1afcfc0..ef8f3fd 100644 --- a/qemu-io-cmds.c +++ b/qemu-io-

[Qemu-devel] [PATCH 13/34] qemu-io: Add command 'reopen'

2015-05-08 Thread Kevin Wolf
Signed-off-by: Kevin Wolf --- qemu-io-cmds.c | 71 ++ 1 file changed, 71 insertions(+) diff --git a/qemu-io-cmds.c b/qemu-io-cmds.c index 1afcfc0..ef8f3fd 100644 --- a/qemu-io-cmds.c +++ b/qemu-io-cmds.c @@ -1978,6 +1978,76 @@ static const