This patch adds the optional file entry to the query-block output.
The value is a json-object representing the information about the
underlying file or device (when present).
Signed-off-by: Federico Simoncelli
---
block/qapi.c |7 +++
qapi-schema.json |4
This patch adds the optional file entry to the query-block output.
The value is a json-object representing the information about the
underlying file or device (when present).
Signed-off-by: Federico Simoncelli
---
block/qapi.c |9 -
qapi-schema.json |4
This patch adds the apparent-size entry to the query-block output.
The value represents the apparent size in bytes of the image, e.g.
file size (including the blocks not yet allocated) or block device
size.
Signed-off-by: Federico Simoncelli
---
block/qapi.c |3 ++-
qapi-schema.json
This patch adds the support for reporting the image end offset (in
bytes). This is particularly useful after a conversion (or a rebase)
where the destination is a block device in order to find the first
unused byte at the end of the image.
Signed-off-by: Federico Simoncelli
---
block/qcow2
This option --output=[human|json] makes qemu-img check output a human
or JSON representation at the choice of the user.
Signed-off-by: Federico Simoncelli
---
qapi-schema.json | 46 +++
qemu-img-cmds.hx |4 +-
qemu-img.c | 232
This option --output=[human|json] make qemu-img check output an human
or JSON representation at the choice of the user.
Signed-off-by: Federico Simoncelli
---
qapi-schema.json | 46 +++
qemu-img-cmds.hx |4 +-
qemu-img.c | 232
This patch adds the support for reporting the highest offset in use by
an image. This is particularly useful after a conversion (or a rebase)
where the destination is a block device in order to find the actual
amount of space in use.
Signed-off-by: Federico Simoncelli
---
block/qcow2-refcount.c
This option --output=[human|json] make qemu-img check output an human
or JSON representation at the choice of the user.
Signed-off-by: Federico Simoncelli
---
qapi-schema.json | 38 +
qemu-img-cmds.hx |4 +-
qemu-img.c | 246
This patch adds the support for reporting the highest offset in use by
an image. This is particularly useful after a conversion (or a rebase)
where the destination is a block device in order to find the actual
amount of space in use.
Signed-off-by: Federico Simoncelli
---
block.h
This patch adds the support for reporting the highest offset in use by
an image. This is particularly useful after a conversion (or a rebase)
where the destination is a block device in order to find the actual
amount of space in use.
Signed-off-by: Federico Simoncelli
---
block.h
- Original Message -
> From: "Paolo Bonzini"
> To: qemu-devel@nongnu.org
> Cc: "Marcelo Tosatti" , "Federico Simoncelli"
>
> Sent: Thursday, April 5, 2012 5:42:58 PM
> Subject: [PATCH 4/7] block: close unused image files at the end of stre
Signed-off-by: Federico Simoncelli
---
scripts/qapi-commands.py | 14 +++---
scripts/qapi-types.py|4 ++--
scripts/qapi-visit.py|4 ++--
scripts/qapi.py |5 -
4 files changed, 15 insertions(+), 12 deletions(-)
diff --git a/scripts/qapi-commands.py b
This allows qapi commands and types with dots (downstream QMP extensions
containing fully qualified domain names).
Signed-off-by: Federico Simoncelli
---
scripts/qapi.py |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/qapi.py b/scripts/qapi.py
index 6e05469
This allows qapi commands and types with dots.
Signed-off-by: Federico Simoncelli
---
scripts/qapi.py |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/scripts/qapi.py b/scripts/qapi.py
index 6e05469..4090c55 100644
--- a/scripts/qapi.py
+++ b/scripts/qapi.py
@@ -131,7
- Original Message -
> From: "Kevin Wolf"
> To: "Federico Simoncelli"
> Cc: "Eric Blake" , qemu-devel@nongnu.org,
> stefa...@linux.vnet.ibm.com, lcapitul...@redhat.com,
> "Paolo Bonzini" , "Markus Armbruster"
> Se
-devel] [PATCH v4 10/10] Add the drive-reopen command
>
> On 03/06/2012 10:56 AM, Paolo Bonzini wrote:
> > From: Federico Simoncelli
> >
> > Signed-off-by: Federico Simoncelli
> > Signed-off-by: Paolo Bonzini
>
> > ##
> > +# @drive-reopen
> &g
Signed-off-by: Federico Simoncelli
---
blockdev.c | 40 +++-
hmp-commands.hx | 16
hmp.c| 11 +++
hmp.h|1 +
qapi-schema.json | 22 ++
5 files changed, 77 insertions(+), 13
Signed-off-by: Federico Simoncelli
---
blockdev.c |8
qapi-schema.json | 12
qmp-commands.hx |6 +-
3 files changed, 25 insertions(+), 1 deletions(-)
diff --git a/blockdev.c b/blockdev.c
index 56da5c9..36fe07c 100644
--- a/blockdev.c
+++ b/blockdev.c
Mirrored writes are used by live block copy.
Signed-off-by: Marcelo Tosatti
Signed-off-by: Federico Simoncelli
Signed-off-by: Paolo Bonzini
---
Makefile.objs |2 +-
block/blkmirror.c | 278
cutils.c | 56
- Original Message -
> From: "Federico Simoncelli"
> To: qemu-devel@nongnu.org
> Cc: mtosa...@redhat.com, kw...@redhat.com, pbonz...@redhat.com,
> stefa...@gmail.com, "Federico Simoncelli"
>
> Sent: Wednesday, February 29, 2012 1:28:21 PM
> Subj
Mirrored writes are used by live block copy.
Signed-off-by: Marcelo Tosatti
Signed-off-by: Federico Simoncelli
---
Makefile.objs |2 +-
block/blkmirror.c | 255
cutils.c | 30 ++
docs/blkmirror.txt | 15 +++
qemu
- Original Message -
> From: "Paolo Bonzini"
> To: qemu-devel@nongnu.org
> Sent: Tuesday, February 28, 2012 7:02:40 PM
> Subject: Re: [Qemu-devel] Live Block Migration using Mirroring
>
> Il 28/02/2012 18:46, Federico Simoncelli ha scritto:
> > > >
- Original Message -
> From: "Paolo Bonzini"
> To: "Federico Simoncelli"
> Cc: "Stefan Hajnoczi" , qemu-devel@nongnu.org,
> kw...@redhat.com, mtosa...@redhat.com
> Sent: Tuesday, February 28, 2012 6:36:57 PM
> Subject: Re: [Qemu-devel] Li
- Original Message -
> From: "Stefan Hajnoczi"
> To: "Federico Simoncelli"
> Cc: qemu-devel@nongnu.org, kw...@redhat.com, mtosa...@redhat.com
> Sent: Tuesday, February 28, 2012 4:47:48 PM
> Subject: Re: [Qemu-devel] Live Block Migration using Mirroring
- Original Message -
> From: "Anthony Liguori"
> To: "Federico Simoncelli"
> Cc: "Paolo Bonzini" , kw...@redhat.com,
> arm...@redhat.com, "Jeff Cody" ,
> mtosa...@redhat.com, qemu-devel@nongnu.org, "Luiz Capitulino"
>
- Original Message -
> From: "Paolo Bonzini"
> To: "Luiz Capitulino"
> Cc: "Federico Simoncelli" , kw...@redhat.com,
> mtosa...@redhat.com, qemu-devel@nongnu.org,
> arm...@redhat.com, "Jeff Cody"
> Sent: Monday, February 27, 201
- Original Message -
> From: "Luiz Capitulino"
> To: "Federico Simoncelli"
> Cc: qemu-devel@nongnu.org, mtosa...@redhat.com, pbonz...@redhat.com,
> kw...@redhat.com, arm...@redhat.com
> Sent: Friday, February 24, 2012 8:01:43 PM
> Subject: Re: [PAT
- Original Message -
> From: "Luiz Capitulino"
> To: "Federico Simoncelli"
> Cc: qemu-devel@nongnu.org, mtosa...@redhat.com, pbonz...@redhat.com,
> kw...@redhat.com, arm...@redhat.com
> Sent: Friday, February 24, 2012 7:17:22 PM
> Subject: Re: [PA
- Original Message -
> From: "Eric Blake"
> To: "Federico Simoncelli"
> Cc: qemu-devel@nongnu.org, kw...@redhat.com, mtosa...@redhat.com,
> arm...@redhat.com, lcapitul...@redhat.com,
> pbonz...@redhat.com
> Sent: Friday, February 24, 2012 6:02:36 P
Signed-off-by: Federico Simoncelli
---
blockdev.c | 107 --
hmp-commands.hx | 38 +++
hmp.c| 24
hmp.h|2 +
qapi-schema.json | 54 +++
5 files
From: Marcelo Tosatti
Mirrored writes are used by live block copy.
Signed-off-by: Marcelo Tosatti
Signed-off-by: Federico Simoncelli
---
Makefile.objs |2 +-
block/blkmirror.c | 247
docs/blkmirror.txt | 16
3 files
- Original Message -
> From: "Kevin Wolf"
> To: "Federico Simoncelli"
> Cc: qemu-devel@nongnu.org, "Marcelo Tosatti" ,
> lcapitul...@redhat.com, "Paolo Bonzini"
> , "Markus Armbruster"
> Sent: Friday, February 24, 20
Signed-off-by: Federico Simoncelli
---
block/blkmirror.c |2 +-
blockdev.c| 109 +++--
hmp-commands.hx | 36 +
hmp.c | 30 ++
hmp.h |2 +
qapi-schema.json | 63
From: Marcelo Tosatti
Mirrored writes are used by live block copy.
Signed-off-by: Marcelo Tosatti
Signed-off-by: Federico Simoncelli
---
Makefile.objs |2 +-
block/blkmirror.c | 247
docs/blkmirror.txt | 16
3 files
- Original Message -
> From: "Stefan Hajnoczi"
> To: "Federico Simoncelli"
> Cc: qemu-devel@nongnu.org, kw...@redhat.com, mtosa...@redhat.com
> Sent: Thursday, February 23, 2012 5:35:23 PM
> Subject: Re: [Qemu-devel] Live Block Migration using Mirrori
- Original Message -
> From: "Stefan Hajnoczi"
> To: "Federico Simoncelli"
> Cc: qemu-devel@nongnu.org, kw...@redhat.com, mtosa...@redhat.com
> Sent: Thursday, February 23, 2012 5:28:23 PM
> Subject: Re: [Qemu-devel] [PATCH 1/3] Add blkmirror block driv
- Original Message -
> From: "Stefan Hajnoczi"
> To: "Federico Simoncelli"
> Cc: qemu-devel@nongnu.org, kw...@redhat.com, mtosa...@redhat.com
> Sent: Thursday, February 23, 2012 5:18:41 PM
> Subject: Re: [Qemu-devel] [PATCH 1/3] Add blkmirror block driv
- Original Message -
> From: "Stefan Hajnoczi"
> To: "Federico Simoncelli"
> Cc: qemu-devel@nongnu.org, kw...@redhat.com, mtosa...@redhat.com
> Sent: Thursday, February 23, 2012 5:14:09 PM
> Subject: Re: [Qemu-devel] [PATCH 1/3] Add blkmirror block dr
- Original Message -
> From: "Stefan Hajnoczi"
> To: "Federico Simoncelli"
> Cc: qemu-devel@nongnu.org, kw...@redhat.com, mtosa...@redhat.com
> Sent: Thursday, February 23, 2012 4:47:38 PM
> Subject: Re: [Qemu-devel] Live Block Migration using Mirrori
- Original Message -
> From: "Paolo Bonzini"
> To: "Federico Simoncelli"
> Cc: kw...@redhat.com, mtosa...@redhat.com, qemu-devel@nongnu.org
> Sent: Thursday, February 23, 2012 10:48:59 AM
> Subject: Re: [PATCH 3/3] Add nocreate option to snapshot
- Original Message -
> From: "Paolo Bonzini"
> To: "Federico Simoncelli"
> Cc: qemu-devel@nongnu.org, kw...@redhat.com, mtosa...@redhat.com
> Sent: Thursday, February 23, 2012 8:18:28 AM
> Subject: Re: [PATCH 2/3] Update the blkmirror block driver
&g
- Original Message -
> From: "Paolo Bonzini"
> Cc: "Federico Simoncelli" , kw...@redhat.com,
> mtosa...@redhat.com, qemu-devel@nongnu.org
> Sent: Thursday, February 23, 2012 8:38:55 AM
> Subject: Re: [PATCH 3/3] Add nocreate option to snapshot_blkdev
From: Marcelo Tosatti
Mirrored writes are used by live block copy.
Signed-off-by: Marcelo Tosatti
---
Makefile.objs |2 +-
block/blkmirror.c | 282
docs/blkmirror.txt | 15 +++
3 files changed, 298 insertions(+), 1 deletions(-)
Signed-off-by: Federico Simoncelli
---
blockdev.c | 14 --
hmp-commands.hx | 16 ++--
hmp.c|4 +++-
qapi-schema.json |8 +++-
qmp-commands.hx |2 +-
5 files changed, 29 insertions(+), 15 deletions(-)
diff --git a/blockdev.c b
Signed-off-by: Federico Simoncelli
---
block/blkmirror.c | 26 +-
1 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/block/blkmirror.c b/block/blkmirror.c
index 1c02710..1cfd2fb 100644
--- a/block/blkmirror.c
+++ b/block/blkmirror.c
@@ -46,7 +46,7
Hi,
recently I've been working on live block migration combining the live
snapshots and the blkmirror patch sent by Marcelo Tosatti few months ago.
The design is summarized at this url as "Mirrored-Snapshot":
http://www.ovirt.org/wiki/Features/Design/StorageLiveMigration
The design assumes tha
- Original Message -
> From: "Shu Ming"
> To: "Federico Simoncelli"
> Cc: qemu-devel@nongnu.org, libvir-l...@redhat.com, "VDSM Project Development"
> ,
> "Dave Allan" , "Eric Blake"
> Sent: Thursday, February 2, 2012 1
Hi,
oVirt, and more specifically VDSM, is currently implementing the live
snapshot feature using the API/commands provided by libvirt and qemu.
It would be great if you could review the design and the current open
issues at:
http://ovirt.org/wiki/Live_Snapshots
Thank you,
--
Federico
- Original Message -
> From: "Dor Laor"
> To: "Federico Simoncelli"
> Cc: qemu-devel@nongnu.org, aba...@redhat.com, "Kevin Wolf"
> Sent: Friday, October 7, 2011 12:45:06 AM
> Subject: Re: [Qemu-devel] [PATCH] qemu: new option for snapshot_bl
- Original Message -
> From: "Stefan Hajnoczi"
> To: "Federico Simoncelli"
> Cc: qemu-devel@nongnu.org, aba...@redhat.com, dl...@redhat.com
> Sent: Tuesday, October 4, 2011 9:33:48 AM
> Subject: Re: [Qemu-devel] New option for snapshot_blkdev to avoid
Add the new option [-n] for snapshot_blkdev to avoid the image creation.
The file provided as [new-image-file] is considered as already initialized
and will be used after passing a check for the backing file.
Signed-off-by: Federico Simoncelli
---
blockdev.c | 54
In some situations might be useful to let qemu use an image that was
prepared for a live snapshot.
The advantage is that creating the snapshot file outside of the qemu
process we can use the whole range of options provided by the format
(eg for qcow2: encryption, cluster_size and preallocation).
It
storage within
certain timeouts is critical.
This patch adds the option to choose a cache method when writing
disk images.
Signed-off-by: Federico Simoncelli
---
qemu-img-cmds.hx |6 ++--
qemu-img.c | 80 +-
2 files changed, 70 insertions
- Original Message -
> From: "Christoph Hellwig"
> To: "Federico Simoncelli"
> Cc: k...@vger.kernel.org, kw...@redhat.com, qemu-devel@nongnu.org,
> a...@redhat.com
> Sent: Thursday, June 16, 2011 4:28:09 PM
> Subject: Re: [Qemu-devel] [PATCH] qemu-i
storage within
certain timeouts is critical.
This patch adds the option to choose a cache method when writing
disk images.
Signed-off-by: Federico Simoncelli
---
qemu-img-cmds.hx |6 ++--
qemu-img.c | 80 +-
2 files changed, 70 insertions
storage within
certain timeouts is critical.
This patch adds the option to choose a cache method when writing
disk images.
Signed-off-by: Federico Simoncelli
---
qemu-img.c | 80 ++-
1 files changed, 67 insertions(+), 13 deletions(-)
diff --git
storage within
certain timeouts is critical.
This patch adds the option to choose a cache method when writing
disk images.
Signed-off-by: Federico Simoncelli
---
qemu-img.c | 81 ++-
1 files changed, 68 insertions(+), 13 deletions(-)
diff --git
57 matches
Mail list logo