From: Paolo Bonzini
This option provides the infrastructure for binding guest NUMA nodes
to host NUMA nodes. For example:
-object memory-ram,size=1024M,policy=membind,host-nodes=0,id=ram-node0 \
-numa node,nodeid=0,cpus=0,memdev=ram-node0 \
-object memory-ram,size=1024M,policy=interleave,hos
From: Wanlong Gao
Signed-off-by: Wanlong Gao
Signed-off-by: Paolo Bonzini
Signed-off-by: Hu Tao
---
include/sysemu/sysemu.h | 3 +-
numa.c | 148 +++-
qapi-schema.json| 30 ++
vl.c| 11 +++-
4
From: Paolo Bonzini
Signed-off-by: Paolo Bonzini
Signed-off-by: Hu Tao
---
hw/i386/pc.c| 4 +---
include/sysemu/sysemu.h | 5 +
numa.c | 10 ++
3 files changed, 16 insertions(+), 3 deletions(-)
diff --git a/hw/i386/pc.c b/hw/i386/pc.c
index 17d4820..
From: Wanlong Gao
If the total number of the assigned numa nodes memory is not
equal to the assigned ram size, it will write the wrong data
to ACPI talb, then the guest will ignore the wrong ACPI table
and recognize all memory to one node. It's buggy, we should
check it to ensure that we write th
From: Paolo Bonzini
Signed-off-by: Paolo Bonzini
Signed-off-by: Hu Tao
---
hw/i386/pc.c | 11 +--
hw/i386/pc_piix.c| 8 +++-
hw/i386/pc_q35.c | 4 +---
include/hw/i386/pc.h | 7 +++
4 files changed, 12 insertions(+), 18 deletions(-)
diff --git a/hw/i386/pc.c
Provides framework for splitting host RAM allocation/
policies into a separate backend that could be used
by devices.
Initially only legacy RAM backend is provided, which
uses memory_region_init_ram() allocator and compatible
with every CLI option that affects memory_region_init_ram().
Signed-off
From: Wanlong Gao
libnuma choosed 128 for MAX_NODES, so we follow libnuma here.
Signed-off-by: Wanlong Gao
Signed-off-by: Paolo Bonzini
Signed-off-by: Hu Tao
---
include/sysemu/sysemu.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/sysemu/sysemu.h b/include/syse
From: Wanlong Gao
This new enum type will be used to set host memory policy of
backend host memory.
Signed-off-by: Wanlong Gao
Signed-off-by: Hu Tao
---
qapi-schema.json | 20
1 file changed, 20 insertions(+)
diff --git a/qapi-schema.json b/qapi-schema.json
index 498ea9b
Signed-off-by: Hu Tao
---
backends/hostmem-ram.c | 71 --
qapi-schema.json | 31 ++
qmp-commands.hx| 30 +
3 files changed, 124 insertions(+), 8 deletions(-)
diff --git a/backends/hostmem-ram.c
On Tue, 2014-02-18 at 13:00 -0800, Nicholas A. Bellinger wrote:
> On Mon, 2014-02-10 at 11:05 -0800, Nicholas A. Bellinger wrote:
>
>
>
> > > > > Hi Yan,
> > > > >
> > > > > So recently I've been doing some KVM guest performance comparisons
> > > > > between the scsi-mq prototype using virtio-s
<...>
> +static void func(gpointer data, gpointer user_data)
maybe a better name.
> +{
> +HostMemoryBackendRam *backend = data;
> +MemdevList **list = user_data;
> +MemdevList *m;
> +uint16List **node;
> +unsigned long value;
> +
> +m = g_malloc0(sizeof(*m));
> +m->va
On Wed, Feb 19, 2014 at 03:54:02PM +0800, Hu Tao wrote:
> Cc: Laszlo Ersek
> Signed-off-by: Hu Tao
> ---
> qapi/string-input-visitor.c | 160
> --
> tests/test-string-input-visitor.c | 22 ++
> 2 files changed, 176 insertions(+), 6 deletions(-)
>
Il 19/02/2014 09:17, Hu Tao ha scritto:
Two problems:
1. the code is mostly copied from OptsVisitor. maybe we can share the
code?
I think it's not a huge problem. Maybe OptsVisitor could be made to use
a StringInputVisitor internally.
2. int list is not implemented in string outout vis
On Tue, 18 Feb 2014 23:04:13 +0100
Laszlo Ersek wrote:
> On 02/18/14 17:36, Igor Mammedov wrote:
> > On Mon, 17 Feb 2014 09:32:35 +0100
> > Gerd Hoffmann wrote:
> >
> >> On So, 2014-02-16 at 17:53 +0200, Michael S. Tsirkin wrote:
> >>> On Fri, Feb 07, 2014 at 01:51:27PM +0100, Igor Mammedov wro
19/02/2014 08:54, Hu Tao ha scritto:
Thus makes user control how to allocate memory for ram backend.
Signed-off-by: Hu Tao
---
backends/hostmem-ram.c | 158
include/sysemu/sysemu.h | 2 +
2 files changed, 160 insertions(+)
diff --git a/back
On Tue, Feb 18, 2014 at 05:10:00PM +, Stefano Stabellini wrote:
> On Tue, 18 Feb 2014, Paolo Bonzini wrote:
> > Il 18/02/2014 15:25, Stefano Stabellini ha scritto:
> > > On Tue, 18 Feb 2014, Paolo Bonzini wrote:
> > > > Il 18/02/2014 13:45, Stefano Stabellini ha scritto:
> > > > > Disk unplug:
In order to allow the user to choose the framebuffer for sparc-softmmu, add
-vga tcx and -vga cg3 options to the QEMU command line. If no option is
specified, the default TCX framebuffer is used.
Since proprietary FCode ROMs use a resolution of 1152x900, slightly relax the
validation rules to allo
This patchset provides QEMU with an implementation of the Sun CG3 8-bit
framebuffer. It is based upon Bob Breuer's original work which has been
rebased onto git master, and is now capable of running with an OpenBIOS CG3
FCode ROM instead of requiring copies of proprietary Sun ROMs.
The motivation
The CG3 framebuffer is a simple 8-bit framebuffer for use with operating
systems such as early Solaris that do not have drivers for TCX.
Signed-off-by: Mark Cave-Ayland
CC: Blue Swirl
CC: Anthony Liguori
CC: Peter Maydell
CC: Bob Breuer
CC: Artyom Tarasenko
---
Makefile
Il 19/02/2014 08:54, Hu Tao ha scritto:
From: Wanlong Gao
This new enum type will be used to set host memory policy of
backend host memory.
Signed-off-by: Wanlong Gao
Signed-off-by: Hu Tao
---
qapi-schema.json | 20
1 file changed, 20 insertions(+)
diff --git a/qapi-sc
Il 19/02/2014 08:54, Hu Tao ha scritto:
Signed-off-by: Hu Tao
---
backends/hostmem-ram.c | 71 --
qapi-schema.json | 31 ++
qmp-commands.hx| 30 +
3 files changed, 124 insertions(+), 8 deletion
Il 18/02/2014 23:42, Hani Benhabiles ha scritto:
Signed-off-by: Hani Benhabiles
---
qmp.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/qmp.c b/qmp.c
index d0d98e7..f556a04 100644
--- a/qmp.c
+++ b/qmp.c
@@ -556,8 +556,8 @@ void object_add(const char *type, const char
On Wed, 19 Feb 2014 15:53:58 +0800
Hu Tao wrote:
> Provides framework for splitting host RAM allocation/
> policies into a separate backend that could be used
> by devices.
>
> Initially only legacy RAM backend is provided, which
> uses memory_region_init_ram() allocator and compatible
> with ev
On Wed, Feb 19, 2014 at 11:08:25AM +0200, Michael S. Tsirkin wrote:
> On Tue, Feb 18, 2014 at 05:10:00PM +, Stefano Stabellini wrote:
> > On Tue, 18 Feb 2014, Paolo Bonzini wrote:
> > > Il 18/02/2014 15:25, Stefano Stabellini ha scritto:
> > > > On Tue, 18 Feb 2014, Paolo Bonzini wrote:
> > > >
On Wed, 19 Feb 2014 15:53:54 +0800
Hu Tao wrote:
> From: Wanlong Gao
>
> Add the numa_info structure to contain the numa nodes memory,
> VCPUs information and the future added numa nodes host memory
> policies.
this is old version that breaks spar build which Wanlong already fixed.
You can rep
On Mon, Feb 17, 2014 at 02:43:53PM +0100, Paolo Bonzini wrote:
> Before:
> $ ./qemu-io-old
> qemu-io-old> open -r -o file.driver=iscsi,file.filename=foo
> Failed to parse URL : foo
> qemu-io-old: can't open device (null): Could not open 'foo': Invalid
> argument
>
> After:
> $
On Wed, 19 Feb 2014 10:03:13 +0100
Paolo Bonzini wrote:
> 19/02/2014 08:54, Hu Tao ha scritto:
> > Thus makes user control how to allocate memory for ram backend.
> >
> > Signed-off-by: Hu Tao
> > ---
> > backends/hostmem-ram.c | 158
> >
> >
Hi,
> In my opinion, generating the entire smbios table in QEMU and using
> the "romfile_loader" mechanism (see seabios src/fw/romfile_loader.c)
> would be the preferred solution. I understand that this is more than
> you signed up for.
Yes, this is where we should end up long-term. For the t
Am 18.02.2014 um 18:33 hat Max Reitz geschrieben:
> bdrv_file_open() is now nearly a subset of bdrv_open(), except for the
> fact that bdrv_file_open() is for protocols and bdrv_open() for block
> drivers. It is possible to use bdrv_file_open() with a block driver, but
> in that case that block dri
On Wed, 19 Feb 2014 15:53:57 +0800
Hu Tao wrote:
> From: Igor Mammedov
>
> Signed-off-by: Igor Mammedov
> Signed-off-by: Paolo Bonzini
> Signed-off-by: Hu Tao
replace it with a better patch from Paolo that soon
will get merged into master:
http://www.mail-archive.com/qemu-devel@nongnu.org/ms
Hi,
> However, when I compare unmodified SMBIOS against what I get when
> supplying the patched binary table via command line, I get this:
As Laszlo already sayed: one table per file.
> > If seabios finds a table provided by qemu it used it, otherwise it
> > (possibly) generates its own. So
On Mi, 2014-02-19 at 05:27 +0100, Stefan Weil wrote:
> Hi Gerd, hi Stefan,
>
> we now need a C++ compiler on the buildbots. Currently, it's missing for
> MinGW:
>
> /bin/sh: i686-pc-mingw32-g++: command not found
Installed.
cheers,
Gerd
On Tue, 18 Feb 2014 20:25:15 +0100
Andreas Färber wrote:
> Am 18.02.2014 13:38, schrieb Greg Kurz:
> > diff --git a/include/hw/virtio/virtio-access.h
> > b/include/hw/virtio/virtio-access.h new file mode 100644
> > index 000..2e22a47
> > --- /dev/null
> > +++ b/include/hw/virtio/virtio-access.
I am working on project in which we have add support of a board in QEMU. We
have to add some virtual devices in QEMU. The question which I want to ask
that what should I do to add virtual device. And after adding that device
in \hw in which file I have to make changes so that program access that
ha
On Mon, Feb 17, 2014 at 10:03:17AM +0100, Kevin Wolf wrote:
> s/offet/offset/
>
> Signed-off-by: Kevin Wolf
> ---
> trace-events | 8
> 1 file changed, 4 insertions(+), 4 deletions(-)
Thanks, applied to my tracing tree:
https://github.com/stefanha/qemu/commits/tracing
Stefan
On 02/19/14 06:11, Stefan Weil wrote:
> These modifications avoid type conversions for non optimized code.
>
> ld* function prototypes will follow later.
>
> [PATCH 1/2] bswap: Modify prototype of stb_p (avoid type
> [PATCH 2/2] bswap: Modify prototypes of st[wl]_{le,be}_p (avoid type
>
It prob
Am 18.02.2014 um 02:15 hat Richard Henderson geschrieben:
> Contains two patch sets, recently reviewed. Plus two other
> unrelated patches that probably weren't going to get in via
> any other tree.
It doesn't seem to contain my target-i386 I/O bitmap fix. Should I send
a separate pull request fo
Am 19.02.2014 um 11:21 hat Kevin Wolf geschrieben:
> Am 18.02.2014 um 02:15 hat Richard Henderson geschrieben:
> > Contains two patch sets, recently reviewed. Plus two other
> > unrelated patches that probably weren't going to get in via
> > any other tree.
>
> It doesn't seem to contain my targe
It is likely to crash qemu when resize the xbzrle cache
during migration. Because the xbzrle cache will be modified
by migration thread and resize thread.
Test scene
step one: set the size of xbzrle cache 1GB.
step two: migrate vm which dirty memory continuously.
step three: set the size of xbzrle
From: Peter Maydell
In lock_iovec() if lock_user() failed we were doing an unlock_user
but not a free(vec), which is the wrong way round. We were also
assuming that free() and unlock_user() don't touch errno, which
is not guaranteed. Fix both these problems.
Signed-off-by: Peter Maydell
Signed-
From: Peter Maydell
Fix two issues in error handling in target_to_host_semarray():
* don't leak the host_array buffer if lock_user fails
* return an error if malloc() fails
v2: added missing * -Riku Voipio
Signed-off-by: Peter Maydell
Signed-off-by: Riku Voipio
---
linux-user/syscall.c | 7
From: Peter Maydell
When forcing a fatal signal, we weren't initialising the sa_flags
field in the struct sigaction we used to reset the signal handler
to SIG_DFL.
Signed-off-by: Peter Maydell
Signed-off-by: Riku Voipio
---
linux-user/signal.c | 1 +
1 file changed, 1 insertion(+)
diff --git
From: Andreas Färber
Signed-off-by: Andreas Färber
Reviewed-by: Peter Maydell
Signed-off-by: Riku Voipio
---
linux-user/ioctls.h| 1 +
linux-user/syscall.c | 1 +
linux-user/syscall_defs.h | 1 +
linux-user/syscall_types.h | 13 +
4 files changed, 16 insertions(+
From: Riku Voipio
All others updated except unicore, which doesn't look right to
begin with.
Signed-off-by: Riku Voipio
---
linux-user/alpha/syscall_nr.h | 7 +++
linux-user/arm/syscall_nr.h| 6 ++
linux-user/cris/syscall_nr.h | 1 +
linux-user/i386/syscall_nr.h
From: Peter Maydell
Avoid calling g_free() on unintialized data in the error-handling
paths in elf_core_dump() by splitting the initialization of the
elf_note_info struct out of fill_note_info() so that it's always
valid to call free_note_info() whether we got to the point of
being able to fill_n
From: Riku Voipio
The following changes since commit 46eef33b89e936ca793e13c4aeea1414e97e8dbb:
Fix QEMU build on OpenBSD on x86 archs (2014-02-17 11:44:00 +)
are available in the git repository at:
git://git.linaro.org/people/riku.voipio/qemu.git linux-user-for-upstream
for you to fet
Signed-off-by: Gerd Hoffmann
---
hw/display/qxl.c | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/hw/display/qxl.c b/hw/display/qxl.c
index 1471cc0..2a559eb 100644
--- a/hw/display/qxl.c
+++ b/hw/display/qxl.c
@@ -1429,7 +1429,7 @@ static int qxl_destroy_primary(PCIQXLD
On Wed, 19 Feb 2014 15:54:01 +0800
Hu Tao wrote:
> From: Paolo Bonzini
>
> This option provides the infrastructure for binding guest NUMA nodes
> to host NUMA nodes. For example:
>
> -object memory-ram,size=1024M,policy=membind,host-nodes=0,id=ram-node0 \
> -numa node,nodeid=0,cpus=0,memdev
* Gonglei (Arei) (arei.gong...@huawei.com) wrote:
Hi Arei,
> It is likely to crash qemu when resize the xbzrle cache
> during migration. Because the xbzrle cache will be modified
> by migration thread and resize thread.
Thanks - we was just thinking about this last night after
we hit it.
I was
On Wed, 19 Feb 2014 15:54:03 +0800
Hu Tao wrote:
> From: Wanlong Gao
>
> This new enum type will be used to set host memory policy of
> backend host memory.
perhaps squashing it into the next path would be better.
>
> Signed-off-by: Wanlong Gao
> Signed-off-by: Hu Tao
> ---
> qapi-schema.j
* Michael R. Hines (mrhi...@linux.vnet.ibm.com) wrote:
> On 02/18/2014 08:45 PM, Dr. David Alan Gilbert wrote:
> >>+The Micro-Checkpointing Process
> >>+Basic Algorithm
> >>+Micro-Checkpoints (MC) work against the existing live migration path in
> >>QEMU, and can effectively be understood as a "li
On 02/19/14 11:40, Gerd Hoffmann wrote:
> Signed-off-by: Gerd Hoffmann
> ---
> hw/display/qxl.c | 8 +++-
> 1 file changed, 7 insertions(+), 1 deletion(-)
>
> diff --git a/hw/display/qxl.c b/hw/display/qxl.c
> index 1471cc0..2a559eb 100644
> --- a/hw/display/qxl.c
> +++ b/hw/display/qxl.c
>
On 19 February 2014 04:27, Stefan Weil wrote:
> Hi Gerd, hi Stefan,
>
> we now need a C++ compiler on the buildbots. Currently, it's missing for
> MinGW:
>
> /bin/sh: i686-pc-mingw32-g++: command not found
Don't we successfully fall back to "don't build C++ things" if
configure doesn't detect the
On Wed, 19 Feb 2014, Michael S. Tsirkin wrote:
> On Wed, Feb 19, 2014 at 11:08:25AM +0200, Michael S. Tsirkin wrote:
> > On Tue, Feb 18, 2014 at 05:10:00PM +, Stefano Stabellini wrote:
> > > On Tue, 18 Feb 2014, Paolo Bonzini wrote:
> > > > Il 18/02/2014 15:25, Stefano Stabellini ha scritto:
>
Il 19/02/2014 10:50, Igor Mammedov ha scritto:
> +numa_info[nodenr].node_mem = object_property_get_int(o, "size",
NULL);
> +numa_info[nodenr].node_memdev = MEMORY_BACKEND(o);
if you make numa_info QOM object node_memdev link<> property,
then above hunk could be replaced with ju
On Wed, 19 Feb 2014 11:53:09 +
Peter Maydell wrote:
> On 19 February 2014 04:27, Stefan Weil wrote:
> > Hi Gerd, hi Stefan,
> >
> > we now need a C++ compiler on the buildbots. Currently, it's missing for
> > MinGW:
> >
> > /bin/sh: i686-pc-mingw32-g++: command not found
>
> Don't we succes
Hello,
Am 18.02.2014 06:00, schrieb sh.hu...@venusource.com:
>
> hello guys
>
> is somebody install qemu on AIX? is qemu can install on AIX?
It's supposed to install, but I don't personally have an AIX
installation to test whether there are any issues. Have you tried?
Regards,
Andreas
P.S
Am 19.02.2014 10:05, schrieb Mark Cave-Ayland:
> This patchset provides QEMU with an implementation of the Sun CG3 8-bit
> framebuffer. It is based upon Bob Breuer's original work which has been
> rebased onto git master, and is now capable of running with an OpenBIOS CG3
> FCode ROM instead of re
On 19 February 2014 12:18, Thomas Huth wrote:
> I recently had a similar problem compiling QEMU on a freshly installed
> system, where I only had a normal C compiler, but no C++ installed yet.
>
> In rules.mak, you can find these lines:
>
> # If we have a CXX we might have some C++ objects, in wh
Hi Mark,
On Wed, Feb 19, 2014 at 09:05:19AM +, Mark Cave-Ayland wrote:
> The CG3 framebuffer is a simple 8-bit framebuffer for use with operating
> systems such as early Solaris that do not have drivers for TCX.
>
> Signed-off-by: Mark Cave-Ayland
> CC: Blue Swirl
> CC: Anthony Liguori
> C
On Mon, Feb 17, 2014 at 08:36:41PM +0100, Lluís Vilanova wrote:
> Backends now only contain the essential backend-specific code, and most of
> the work is moved to frontend code.
>
> Signed-off-by: Lluís Vilanova
> ---
> scripts/simpletrace.py|6 --
> scripts/tracetool/__ini
This series adds for point-in-time snapshot NBD exporting based on
blockdev-backup (variant of drive-backup with existing device as target).
We get a thin point-in-time snapshot by COW mechanism of drive-backup, and
export it through built in NBD server. The steps are as below:
1. (SHELL) qemu-i
It makes no sense to check for "any" blocker on bs, we are here only
because of the mechanical conversion from in_use to op_blockers. Remove
it now, and let the callers check specific operation types. Backup and
mirror already have it, add checker to stream and commit.
Signed-off-by: Fam Zheng
--
This adds the enum of all the operations that can be taken on a block
device.
Signed-off-by: Fam Zheng
---
include/block/block.h | 19 +++
1 file changed, 19 insertions(+)
diff --git a/include/block/block.h b/include/block/block.h
index 780f48b..8820735 100644
--- a/include/bloc
Similar to drive-backup, but this command uses a device id as target
instead of creating/opening an image file.
Also add blocker on target bs, since the target is also a named device
now.
Add check and report error for bs == target which became possible but is
an illegal case with introduction of
BlockDriverState.op_blockers is an array of lists with BLOCK_OP_TYPE_MAX
elements. Each list is a list of blockers of an operation type
(BlockOpType), that marks this BDS as currently blocked for a certain
type of operation with reason errors stored in the list. The rule of
usage is:
* BDS user w
This makes use of op_blocker and blocks all the operations except for
commit target, on each BlockDriverState->backing_hd.
The asserts for op_blocker in bdrv_swap are removed because with this
change, the target of block commit has at least the backing blocker of
its child, so the assertion is not
This is the common but non-trivial steps to assign or change the
backing_hd of BDS.
Signed-off-by: Fam Zheng
---
block.c | 34 +++---
include/block/block.h | 1 +
2 files changed, 28 insertions(+), 7 deletions(-)
diff --git a/block.c b/block.c
index b5
This reuses the new bdrv_drop_intermediate.
Signed-off-by: Fam Zheng
---
block/stream.c | 30 +-
1 file changed, 1 insertion(+), 29 deletions(-)
diff --git a/block/stream.c b/block/stream.c
index dd0b4ac..9cdcf0e 100644
--- a/block/stream.c
+++ b/block/stream.c
@@ -5
This drops BlockDriverState.in_use with op_blockers:
- Call bdrv_op_block_all in place of bdrv_set_in_use(bs, 1).
- Call bdrv_op_unblock_all in place of bdrv_set_in_use(bs, 0).
- Check bdrv_op_is_blocked() in place of bdrv_in_use(bs).
The specific types are used, e.g. in place of startin
On Mon, Feb 17, 2014 at 08:36:19PM +0100, Lluís Vilanova wrote:
> Minimizes the amount of backend code, making it simpler to add new/different
> backends.
>
> Also performs other cleanups all around.
>
> Signed-off-by: Lluís Vilanova
> ---
>
> Lluís Vilanova (4):
> trace: [tracetool] Add
Now it's safe to allow reference for backing_hd in the interface.
Signed-off-by: Fam Zheng
---
block.c | 26 --
1 file changed, 24 insertions(+), 2 deletions(-)
diff --git a/block.c b/block.c
index 95d8c1f..a2bf24c 100644
--- a/block.c
+++ b/block.c
@@ -1395,12 +1395,34
Drive backup is a read only operation on source bs. We want to allow
this specific case to enable image-fleecing. Note that when
image-fleecing job starts, the job still add its blocker to source bs,
and any other operation on it will be blocked by that.
Signed-off-by: Fam Zheng
---
block.c | 2
On Mon, Feb 17, 2014 at 09:51:39AM -0500, Gabriel L. Somlo wrote:
> Michael,
>
> On Mon, Feb 17, 2014 at 04:25:26PM +0200, Michael S. Tsirkin wrote:
> > As reported in
> > http://article.gmane.org/gmane.comp.emulators.qemu/253987
> > Mac OSX actually requires describing all occupied slots
> > in A
On 02/19/2014 04:21 AM, Kevin Wolf wrote:
> Am 18.02.2014 um 02:15 hat Richard Henderson geschrieben:
>> Contains two patch sets, recently reviewed. Plus two other
>> unrelated patches that probably weren't going to get in via
>> any other tree.
>
> It doesn't seem to contain my target-i386 I/O b
On 17 February 2014 16:44, Michael S. Tsirkin wrote:
> Peter, if not too late, pls don't pull until we figure it out.
If you want a pull request to not be applied you need to follow
up to the 00/nn cover letter for the pull request to say so.
Otherwise I am likely to either miss the request or no
Dropping intermediate could be useful both for commit and stream, and
BDS refcnt plus bdrv_swap could do most of the job nicely. It also needs
to work with op blockers.
Signed-off-by: Fam Zheng
---
block.c| 146 +
block/commit.c |
This applies cases on drive-backup on blockdev-backup, except cases with
target format and mode.
Also add a case to check source == target.
Signed-off-by: Fam Zheng
---
tests/qemu-iotests/055 | 275 ++---
tests/qemu-iotests/055.out | 4 +-
2 files c
Signed-off-by: Fam Zheng
---
blockdev.c | 48
qapi-schema.json | 1 +
2 files changed, 49 insertions(+)
diff --git a/blockdev.c b/blockdev.c
index 890cfea..81446f5 100644
--- a/blockdev.c
+++ b/blockdev.c
@@ -1405,6 +1405,49 @@ static void
On Wed, Feb 19, 2014 at 01:52:20PM +, Peter Maydell wrote:
> On 17 February 2014 16:44, Michael S. Tsirkin wrote:
> > Peter, if not too late, pls don't pull until we figure it out.
>
> If you want a pull request to not be applied you need to follow
> up to the 00/nn cover letter for the pull
This tests the workflow of creating a lightweight point-in-time snapshot
with blockdev-backup command and export it with built-in NBD server.
It's tested that after the snapshot it created, writing to the original
device doesn't change data that can be read from target with NBD.
Signed-off-by: Fa
On 17 February 2014 14:25, Michael S. Tsirkin wrote:
> The following changes since commit 417c45ab2f847c0a47b1232f611aa886df6a97d5:
>
> ACPI: Remove commented-out code from HPET._CRS (2014-02-10 11:09:33 +0200)
>
> are available in the git repository at:
>
> git://git.kernel.org/pub/scm/virt/k
Am 17.02.2014 um 14:43 hat Paolo Bonzini geschrieben:
> Most of the block drivers are not using the Error** argument to bdrv_open,
> and instead just printing errors to stderr. This series improves that,
> and as a consequence it also avoids abuse of errno numbers.
>
> The only hurdle (caught by
The QEMU process stays running if the test case fails. This patch fixes
the leak by installing a SIGABRT signal handler which invokes
qtest_end().
Signed-off-by: Stefan Hajnoczi
Reviewed-by: Markus Armbruster
Reviewed-by: Paolo Bonzini
---
tests/libqtest.c | 31 +--
Reviewed by Paolo and Markus. Here is the pull request.
v2:
* Don't call qtest_end() from SIGABRT handler to avoid reentrancy [Paolo]
* Use sigemptyset() to avoid assumption about signal mask [Markus]
* if (fd != -1) close(fd) is no longer necessary [Markus]
This series prevents the following
Signed-off-by: Stefan Hajnoczi
Reviewed-by: Markus Armbruster
---
tests/libqtest.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/tests/libqtest.c b/tests/libqtest.c
index c9a4f89..2876ce4 100644
--- a/tests/libqtest.c
+++ b/tests/libqtest.c
@@ -43,7 +43,6 @@ struct QTestState
int qmp
qtest_init() cannot use exec*p() to launch QEMU since the exec*p()
functions take an argument array while qtest_init() takes char
*extra_args. Therefore we execute /bin/sh -c and let the
shell parse the argument string.
This left /bin/sh as our child process and our child's child was QEMU.
We st
We will later make the KVM-specific code affect other feature words,
too.
Signed-off-by: Eduardo Habkost
---
target-i386/cpu.c | 17 +
1 file changed, 13 insertions(+), 4 deletions(-)
diff --git a/target-i386/cpu.c b/target-i386/cpu.c
index 5a530b5..ee9dff1 100644
--- a/target-i
Instead of the feature-specific disable_kvm_pv_eoi() function, create a
more general function that can be used to disable other feature bits in
machine-type compat code.
Signed-off-by: Eduardo Habkost
---
hw/i386/pc_piix.c | 6 +++---
target-i386/cpu.c | 4 ++--
target-i386/cpu.h | 4 ++--
3 fil
This is the approach I believe was agreed upon during the last QEMU developers
conf call (sorry I didn't join, the meeting timezone change confused me).
Some may notice that representing this new behavior using solely default values
on CPU properties may be a little difficult. Making it possible t
When on KVM mode, enable x2apic by default on all CPU models.
Normally we try to keep the CPU model definitions as close as the real
CPUs as possible, but x2apic can be emulated by KVM without host CPU
support for x2apic, and it improves performance by reducing APIC access
overhead. x2apic emulati
Instead of ignoring all option values but the last one, error out if an
option is set multiple times.
Again, the only exception is a -o help option, which may be added to any
valid qemu-img convert command and ignores all other options.
Signed-off-by: Kevin Wolf
---
qemu-img.c | 49
Instead of ignoring all option values but the last one, error out if an
option is set multiple times. These are the simpler subcommands without
-o, so the patch becomes a bit easier and we can fix the remaining
subcommands in a single patch.
Signed-off-by: Kevin Wolf
---
qemu-img.c | 66
If you specify the same option more than once (e.g. -o cluster_size=4k
-o lazy_refcounts=on), qemu-img silently ignores all but the last one. This
series fixes it to either consider all options or to give an error message.
Boolean option can still be given more than once as they aren't problematic
Multiple -o options has the same meaning as having a single option with
all settings in the order of their respective -o options.
Signed-off-by: Kevin Wolf
---
qemu-img.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/qemu-img.c b/qemu-img.c
index e0d19f8..1a989
If you specified multiple -o options for qemu-img create, it would
silently ignore all but the last one. Similarly, for other options the
last occurence wins (which is at least a bit less surprising). Error out
instead.
The only exception is a -o help option, which may be added to any valid
qemu-i
Multiple -o options has the same meaning as having a single option with
all settings in the order of their respective -o options.
Signed-off-by: Kevin Wolf
---
qemu-img.c | 44 ++--
1 file changed, 26 insertions(+), 18 deletions(-)
diff --git a/qemu-img.c
Instead of ignoring all option values but the last one, error out if an
option is set multiple times.
Again, the only exception is a -o help option, which may be added to any
valid qemu-img amend command and ignores all other options.
Signed-off-by: Kevin Wolf
---
qemu-img.c | 18 ++
Multiple -o options has the same meaning as having a single option with
all settings in the order of their respective -o options.
Signed-off-by: Kevin Wolf
---
qemu-img.c | 21 -
1 file changed, 12 insertions(+), 9 deletions(-)
diff --git a/qemu-img.c b/qemu-img.c
index a889
Stefan Hajnoczi writes:
> On Mon, Feb 17, 2014 at 08:36:19PM +0100, Lluís Vilanova wrote:
>> Minimizes the amount of backend code, making it simpler to add new/different
>> backends.
>>
>> Also performs other cleanups all around.
>>
>> Signed-off-by: Lluís Vilanova
>> ---
>>
>> Lluís Vilanova
1 - 100 of 191 matches
Mail list logo