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 fsimo...@redhat.com
---
block/qapi.c |7 +++
qapi-schema.json
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 fsimo...@redhat.com
---
block/qapi.c |9 -
qapi-schema.json
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 fsimo...@redhat.com
---
block/qapi.c |3
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 fsimo...@redhat.com
---
qapi-schema.json | 46 +++
qemu-img-cmds.hx |4 +-
qemu-img.c | 232
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 fsimo...@redhat.com
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 fsimo...@redhat.com
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 fsimo...@redhat.com
---
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 fsimo...@redhat.com
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 fsimo...@redhat.com
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 fsimo...@redhat.com
---
qapi-schema.json | 38 +
qemu-img-cmds.hx |4 +-
qemu-img.c | 246
- Original Message -
From: Paolo Bonzini pbonz...@redhat.com
To: qemu-devel@nongnu.org
Cc: Marcelo Tosatti mtosa...@redhat.com, Federico Simoncelli
fsimo...@redhat.com
Sent: Thursday, April 5, 2012 5:42:58 PM
Subject: [PATCH 4/7] block: close unused image files at the end
Signed-off-by: Federico Simoncelli fsimo...@redhat.com
---
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
This allows qapi commands and types with dots.
Signed-off-by: Federico Simoncelli fsimo...@redhat.com
---
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
- Original Message -
From: Kevin Wolf kw...@redhat.com
To: Federico Simoncelli fsimo...@redhat.com
Cc: Eric Blake ebl...@redhat.com, qemu-devel@nongnu.org,
stefa...@linux.vnet.ibm.com, lcapitul...@redhat.com,
Paolo Bonzini pbonz...@redhat.com, Markus Armbruster arm...@redhat.com
] [PATCH v4 10/10] Add the drive-reopen command
On 03/06/2012 10:56 AM, Paolo Bonzini wrote:
From: Federico Simoncelli fsimo...@redhat.com
Signed-off-by: Federico Simoncelli fsimo...@redhat.com
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
##
+# @drive-reopen
+#
+# Assigns a new
Signed-off-by: Federico Simoncelli fsimo...@redhat.com
---
blockdev.c | 40 +++-
hmp-commands.hx | 16
hmp.c| 11 +++
hmp.h|1 +
qapi-schema.json | 22 ++
5 files changed
Signed-off-by: Federico Simoncelli fsimo...@redhat.com
---
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
Mirrored writes are used by live block copy.
Signed-off-by: Marcelo Tosatti mtosa...@redhat.com
Signed-off-by: Federico Simoncelli fsimo...@redhat.com
---
Makefile.objs |2 +-
block/blkmirror.c | 255
cutils.c | 30
- Original Message -
From: Federico Simoncelli fsimo...@redhat.com
To: qemu-devel@nongnu.org
Cc: mtosa...@redhat.com, kw...@redhat.com, pbonz...@redhat.com,
stefa...@gmail.com, Federico Simoncelli
fsimo...@redhat.com
Sent: Wednesday, February 29, 2012 1:28:21 PM
Subject: [PATCHv3
Mirrored writes are used by live block copy.
Signed-off-by: Marcelo Tosatti mtosa...@redhat.com
Signed-off-by: Federico Simoncelli fsimo...@redhat.com
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
---
Makefile.objs |2 +-
block/blkmirror.c | 278
- Original Message -
From: Stefan Hajnoczi stefa...@gmail.com
To: Federico Simoncelli fsimo...@redhat.com
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: Paolo Bonzini pbonz...@redhat.com
To: Federico Simoncelli fsimo...@redhat.com
Cc: Stefan Hajnoczi stefa...@gmail.com, qemu-devel@nongnu.org,
kw...@redhat.com, mtosa...@redhat.com
Sent: Tuesday, February 28, 2012 6:36:57 PM
Subject: Re: [Qemu-devel] Live
- Original Message -
From: Paolo Bonzini pbonz...@redhat.com
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:
Thank you for getting
- Original Message -
From: Luiz Capitulino lcapitul...@redhat.com
To: Federico Simoncelli fsimo...@redhat.com
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: [PATCH 1/2
- Original Message -
From: Luiz Capitulino lcapitul...@redhat.com
To: Federico Simoncelli fsimo...@redhat.com
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: [PATCH 2/2
- Original Message -
From: Paolo Bonzini pbonz...@redhat.com
To: Luiz Capitulino lcapitul...@redhat.com
Cc: Federico Simoncelli fsimo...@redhat.com, kw...@redhat.com,
mtosa...@redhat.com, qemu-devel@nongnu.org,
arm...@redhat.com, Jeff Cody jc...@redhat.com
Sent: Monday, February 27
- Original Message -
From: Anthony Liguori anth...@codemonkey.ws
To: Federico Simoncelli fsimo...@redhat.com
Cc: Paolo Bonzini pbonz...@redhat.com, kw...@redhat.com,
arm...@redhat.com, Jeff Cody jc...@redhat.com,
mtosa...@redhat.com, qemu-devel@nongnu.org, Luiz Capitulino
lcapitul
From: Marcelo Tosatti mtosa...@redhat.com
Mirrored writes are used by live block copy.
Signed-off-by: Marcelo Tosatti mtosa...@redhat.com
Signed-off-by: Federico Simoncelli fsimo...@redhat.com
---
Makefile.objs |2 +-
block/blkmirror.c | 247
Signed-off-by: Federico Simoncelli fsimo...@redhat.com
---
block/blkmirror.c |2 +-
blockdev.c| 109 +++--
hmp-commands.hx | 36 +
hmp.c | 30 ++
hmp.h |2 +
qapi-schema.json
- Original Message -
From: Kevin Wolf kw...@redhat.com
To: Federico Simoncelli fsimo...@redhat.com
Cc: qemu-devel@nongnu.org, Marcelo Tosatti mtosa...@redhat.com,
lcapitul...@redhat.com, Paolo Bonzini
pbonz...@redhat.com, Markus Armbruster arm...@redhat.com
Sent: Friday, February 24
From: Marcelo Tosatti mtosa...@redhat.com
Mirrored writes are used by live block copy.
Signed-off-by: Marcelo Tosatti mtosa...@redhat.com
Signed-off-by: Federico Simoncelli fsimo...@redhat.com
---
Makefile.objs |2 +-
block/blkmirror.c | 247
Signed-off-by: Federico Simoncelli fsimo...@redhat.com
---
blockdev.c | 107 --
hmp-commands.hx | 38 +++
hmp.c| 24
hmp.h|2 +
qapi-schema.json | 54
- Original Message -
From: Eric Blake ebl...@redhat.com
To: Federico Simoncelli fsimo...@redhat.com
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 PM
Subject
- Original Message -
From: Paolo Bonzini pbonz...@redhat.com
Cc: Federico Simoncelli fsimo...@redhat.com, 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
On 02
- Original Message -
From: Paolo Bonzini pbonz...@redhat.com
To: Federico Simoncelli fsimo...@redhat.com
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
On 02/22
- Original Message -
From: Paolo Bonzini pbonz...@redhat.com
To: Federico Simoncelli fsimo...@redhat.com
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_blkdev
- Original Message -
From: Stefan Hajnoczi stefa...@gmail.com
To: Federico Simoncelli fsimo...@redhat.com
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 Mirroring
- Original Message -
From: Stefan Hajnoczi stefa...@gmail.com
To: Federico Simoncelli fsimo...@redhat.com
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 driver
- Original Message -
From: Stefan Hajnoczi stefa...@gmail.com
To: Federico Simoncelli fsimo...@redhat.com
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 driver
- Original Message -
From: Stefan Hajnoczi stefa...@gmail.com
To: Federico Simoncelli fsimo...@redhat.com
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 driver
- Original Message -
From: Stefan Hajnoczi stefa...@gmail.com
To: Federico Simoncelli fsimo...@redhat.com
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 Mirroring
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 that
Signed-off-by: Federico Simoncelli fsimo...@redhat.com
---
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
Signed-off-by: Federico Simoncelli fsimo...@redhat.com
---
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
From: Marcelo Tosatti mtosa...@redhat.com
Mirrored writes are used by live block copy.
Signed-off-by: Marcelo Tosatti mtosa...@redhat.com
---
Makefile.objs |2 +-
block/blkmirror.c | 282
docs/blkmirror.txt | 15 +++
3 files
- Original Message -
From: Shu Ming shum...@linux.vnet.ibm.com
To: Federico Simoncelli fsimo...@redhat.com
Cc: qemu-devel@nongnu.org, libvir-l...@redhat.com, VDSM Project Development
vdsm-de...@lists.fedorahosted.org,
Dave Allan dal...@redhat.com, Eric Blake ebl...@redhat.com
Sent
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 dl...@redhat.com
To: Federico Simoncelli fsimo...@redhat.com
Cc: qemu-devel@nongnu.org, aba...@redhat.com, Kevin Wolf kw...@redhat.com
Sent: Friday, October 7, 2011 12:45:06 AM
Subject: Re: [Qemu-devel] [PATCH] qemu: new option for snapshot_blkdev
- Original Message -
From: Stefan Hajnoczi stefa...@gmail.com
To: Federico Simoncelli fsimo...@redhat.com
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 image
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).
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 fsimo...@redhat.com
---
blockdev.c | 54
the 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 fsimo...@redhat.com
---
qemu-img-cmds.hx |6 ++--
qemu-img.c | 80 +-
2 files
the 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 fsimo...@redhat.com
---
qemu-img-cmds.hx |6 ++--
qemu-img.c | 80 +-
2 files
- Original Message -
From: Christoph Hellwig h...@lst.de
To: Federico Simoncelli fsimo...@redhat.com
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-img: Add cache
the 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 fsimo...@redhat.com
---
qemu-img.c | 81 ++-
1 files changed, 68 insertions(+), 13
the 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 fsimo...@redhat.com
---
qemu-img.c | 80 ++-
1 files changed, 67 insertions(+), 13
56 matches
Mail list logo