Re: [Qemu-devel] [PATCH] block/vpc: check that the image has not been truncated

2013-10-22 Thread Eric Blake
On 10/22/2013 07:43 AM, Peter Lieven wrote: > this adds a check that a dynamic VHD file has not been > accidently truncated (e.g. during transfer or upload). > > Signed-off-by: Peter Lieven > --- > block/vpc.c |7 +++ > 1 file changed, 7 insertions(+) > > diff --git a/block/vpc.c b/bloc

[Qemu-devel] [PATCH v1 3/3] x86: move apic_state field from CPUX86State to X86CPU

2013-10-22 Thread Chen Fan
Signed-off-by: Chen Fan --- cpu-exec.c| 2 +- cpus.c| 5 ++--- hw/i386/kvmvapic.c| 8 +++- hw/i386/pc.c | 17 - hw/intc/apic.c| 8 target-i386/cpu-qom.h | 4 target-i386/cpu.c |

[Qemu-devel] [PATCH v1 1/3] Change apic/kvm/xen to use QOM typing

2013-10-22 Thread Chen Fan
Get rid of unused icc_device_realize() Signed-off-by: Chen Fan --- hw/cpu/icc_bus.c| 17 - hw/i386/kvm/apic.c | 10 -- hw/intc/apic.c | 18 -- hw/intc/apic_common.c | 17 +++-- hw/xen/xen_

[Qemu-devel] [PATCH v1 2/3] Using CPU_FOREACH() instead of scanning local_apics

2013-10-22 Thread Chen Fan
And dropping MAX_APICS cast macro altogether. Signed-off-by: Chen Fan --- hw/intc/apic.c | 82 + include/hw/i386/apic_internal.h | 2 - 2 files changed, 33 insertions(+), 51 deletions(-) diff --git a/hw/intc/apic.c b/hw/intc/apic.c index

[Qemu-devel] [PATCH v1 0/3] refactor x86 apic to QOM typing

2013-10-22 Thread Chen Fan
In order to implement 'cpu-del' in the furture. at first, needing to refactor x86 apic codes. this converts apic/kvm/xen 's init() callbacks to realize() and dropping local_apics[] from file hw/intc/apic.c. moving apic_state field from CPUX86State to X86CPU. Chen Fan (3): Change apic/kvm/xen to

Re: [Qemu-devel] [PATCH] block/vpc: check that the image has not been truncated

2013-10-22 Thread Peter Lieven
On 22.10.2013 08:59, Eric Blake wrote: On 10/22/2013 07:43 AM, Peter Lieven wrote: this adds a check that a dynamic VHD file has not been accidently truncated (e.g. during transfer or upload). Signed-off-by: Peter Lieven --- block/vpc.c |7 +++ 1 file changed, 7 insertions(+) diff

Re: [Qemu-devel] [PATCH 14/17] add new RanState RAN_STATE_FLIPPING_MIGRATE

2013-10-22 Thread Lei Li
On 10/22/2013 11:51 AM, Eric Blake wrote: On 10/22/2013 04:25 AM, Lei Li wrote: Introduce new RanState RAN_STATE_FLIPPING_MIGRATE and add it to runstate_needs_reset(). Signed-off-by: Lei Li --- qapi-schema.json | 11 +++ vl.c | 12 +++- 2 files changed, 18 i

Re: [Qemu-devel] make use of copy_policy

2013-10-22 Thread Liu Yuan
On Wed, Oct 16, 2013 at 03:38:36PM +0800, Liu Yuan wrote: > This patch set makes use of copy_policy in struct SheepdogInode in order to > support recently introduced erasure coding in sheepdog. > > Thanks > Yuan Ping ?

Re: [Qemu-devel] [Xen-devel] Hvmloader: Modify ACPI to only supply _EJ0 methods for PCIslots that support hotplug by runtime patching

2013-10-22 Thread Jan Beulich
>>> On 22.10.13 at 06:08, "Gonglei (Arei)" wrote: > Hi, guys. The new patch has been modified based on the principles you > suggested, thank you so much. > Last time I test the patch based on the codes of 4.3.0. > This time, I found that the system based on the codes of trunk causes the VM > reb

Re: [Qemu-devel] [PATCH v3 0/4] Curling: KVM Fault Tolerance

2013-10-22 Thread Jules
> On Tue, Oct 15, 2013 at 03:26:19PM +0800, Jules Wang wrote: > > v2 -> v3: > > * add documentation of new option in qapi-schema. > > > > * long option name: ft -> fault-tolerant > > > > v1 -> v2: > > * cmdline: migrate curling:tcp:: > >-> migrate -f tcp:: > > > > * sender: use QEMU_V

Re: [Qemu-devel] [PATCH] MAINTAINERS: add block driver sub-maintainers

2013-10-22 Thread Kevin Wolf
Am 21.10.2013 um 22:19 hat Anthony Liguori geschrieben: > On Mon, Oct 21, 2013 at 2:26 PM, Stefan Hajnoczi wrote: > > There are a number of contributors who maintain block drivers (image > > formats and protocols). They should be listed in the MAINTAINERS file > > so that get_maintainer.pl lists

Re: [Qemu-devel] [PATCH for-1.7] configure: Explicitly set ARFLAGS so we can build with GNU Make 4.0

2013-10-22 Thread Peter Maydell
On 21 October 2013 21:03, Peter Maydell wrote: > Ken: I think this should work (and it doesn't break building with > old makes), but I don't have a make 4.0 to hand; if you could > test it I'd appreciate it. Forwarding a message from Ken (whose mail client is apparently not very good :-): Ken wr

[Qemu-devel] [PATCH] qemu-img: add special exit code if bdrv_check is not supported

2013-10-22 Thread Peter Lieven
currently it is not possible to distinguish by exitcode if there has been an error or if bdrv_check is not supported by the image format. Change the exitcode from 1 to 255 for the latter case. Signed-off-by: Peter Lieven --- qemu-img.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) di

Re: [Qemu-devel] BUG: RTC issue when Windows guest is idle

2013-10-22 Thread Xiexiangyou
Hi: I have run windows2008r2 guest with qemu-1.5.1/1.6(I have not test the the newer version) for long time, the issue (guest in hangup state) will come out.When guest in hangup state, QEMU main thread is blocked in g_poll loop. > 398c398,399 > < uint32_t timeout = UINT32_MAX; > --- >>

Re: [Qemu-devel] [PATCH] qemu-img: add special exit code if bdrv_check is not supported

2013-10-22 Thread Eric Blake
On 10/22/2013 09:26 AM, Peter Lieven wrote: > currently it is not possible to distinguish by exitcode if there > has been an error or if bdrv_check is not supported by the image > format. Change the exitcode from 1 to 255 for the latter case. Why 255? Sure, 'xargs' handles $?=255 differently than

Re: [Qemu-devel] [PATCH_v2 9/9] target-openrisc: Correct carry flagcheck of l.addc and l.addic test casess

2013-10-22 Thread Alex Bennée
sebast...@macke.de writes: > The test cases did not correctly test for the carry flag. Out of interest how are you building your test cases, cross-compiling or from within the emulated environment? I want to clean-up and resurrect the TCG tests but one of the challenges is all the non-x86 targe

Re: [Qemu-devel] [PATCH] qemu-img: add special exit code if bdrv_check is not supported

2013-10-22 Thread Peter Lieven
On 22.10.2013 10:34, Eric Blake wrote: On 10/22/2013 09:26 AM, Peter Lieven wrote: currently it is not possible to distinguish by exitcode if there has been an error or if bdrv_check is not supported by the image format. Change the exitcode from 1 to 255 for the latter case. Why 255? Sure, 'xa

Re: [Qemu-devel] [PATCH for-1.7] configure: Explicitly set ARFLAGS sowe can build with GNU Make 4.00

2013-10-22 Thread Alex Bennée
peter.mayd...@linaro.org writes: > Our rules.mak adds '-rR' to MAKEFLAGS to indicate that we will be > explicitly specifying everything and not relying on any default > variables or rules. s/sowe/so we/ Otherwise good. Reviewed-by: Alex Bennée -- Alex Bennée

Re: [Qemu-devel] [PATCH 14/17] add new RanState RAN_STATE_FLIPPING_MIGRATE

2013-10-22 Thread Eric Blake
On 10/22/2013 07:28 AM, Lei Li wrote: >>> # @guest-panicked: guest has been panicked as a result of guest OS >>> panic >>> +# >>> +# @flipping-migrate: guest is paused to start unix_page_flipping >>> migration >>> +# process >> We probably ought to enhance the docs to mention '(since 1.8)' for t

Re: [Qemu-devel] [PATCH 6/6] qapi: add doc for QEvent

2013-10-22 Thread Wenchao Xia
于 2013/10/22 5:00, Eric Blake 写道: On 10/21/2013 03:16 AM, Wenchao Xia wrote: Signed-off-by: Wenchao Xia --- qapi-schema.json | 56 ++ 1 files changed, 56 insertions(+), 0 deletions(-) Incomplete. Now that you are actually using the enum

Re: [Qemu-devel] [PATCH 6/6] qapi: add doc for QEvent

2013-10-22 Thread Eric Blake
On 10/22/2013 07:55 AM, Wenchao Xia wrote: > 于 2013/10/22 5:00, Eric Blake 写道: >> On 10/21/2013 03:16 AM, Wenchao Xia wrote: >>> Signed-off-by: Wenchao Xia >>> --- >>> qapi-schema.json | 56 >>> ++ >>> 1 files changed, 56 insertions(+), 0 de

Re: [Qemu-devel] [PATCH v4 1/5] Fix configure script for LTTng 2.x

2013-10-22 Thread Alex Bennée
mohamad.ge...@polymtl.ca writes: > On 13-10-18 10:05 AM, Stefan Hajnoczi wrote: >> Please switch to pkg-config instead of hardcoding particular flags. I >> checked that Fedora and Debian ship the pkg-config file. > Unfortunately, some missing files in the Ubuntu package make it > impossible to

Re: [Qemu-devel] [PULL 4/4] net: disallow to specify multicast MAC address

2013-10-22 Thread Amos Kong
On Sat, Oct 19, 2013 at 12:08:14AM +0400, Dmitry Krivenok wrote: > > Duplicate, we already have is_multicast_ether_addr() in include/net/eth.h > > I tried to #include "net/eth.h" in net/net.c, but it didn't work: > > diff --git a/net/net.c b/net/net.c > index c330c9a..870d3bb 100644 > --- a/net/n

Re: [Qemu-devel] [PATCH] audio/mixeng_template.h: fix inline declaration

2013-10-22 Thread Alex Bligh
ping I think this is should go to qemu-trivial --On 6 August 2013 19:45:13 +0100 Alex Bligh wrote: Fix error: ‘inline’ is not at beginning of declaration [-Werror=old-style-declaration] Signed-off-by: Alex Bligh --- audio/mixeng_template.h |4 ++-- 1 file changed, 2 insertions(+), 2 de

Re: [Qemu-devel] BUG: RTC issue when Windows guest is idle

2013-10-22 Thread Alex Bligh
--On 22 October 2013 08:28:08 + Xiexiangyou wrote: Hi: I have run windows2008r2 guest with qemu-1.5.1/1.6(I have not test the the newer version) for long time, the issue (guest in hangup state) will come out.When guest in hangup state, QEMU main thread is blocked in g_poll loop. 398

Re: [Qemu-devel] [PATCH] audio/mixeng_template.h: fix inline declaration

2013-10-22 Thread Peter Maydell
On 6 August 2013 19:45, Alex Bligh wrote: > Fix error: ‘inline’ is not at beginning of declaration > [-Werror=old-style-declaration] > > Signed-off-by: Alex Bligh Reviewed-by: Peter Maydell -- PMM

Re: [Qemu-devel] [PULL 4/4] net: disallow to specify multicast MAC address

2013-10-22 Thread Dmitry Krivenok
This was my original intention, but I noticed that structs defined differently and standard one may be bigger depending on some #defines. So I renamed in6_addr to in6_address in include/net/eth.h (see v2 patch I sent yesterday). In case qemu version is not supposed to be a different struct, then yo

[Qemu-devel] [REMINDER] Key Signing Party at KVM Forum

2013-10-22 Thread Anthony Liguori
Hi, We'll be hosting a key signing party at KVM Forum on Wednesday during the Hackathon. More information is at: http://wiki.qemu.org/KeySigningParty2013 Here is the set of people who have sent me their fingerprints so far: http://wiki.qemu.org/download/keysigning.txt If you plan on participa

[Qemu-devel] [PATCH for-1.7] atomic.h: Fix build with clang

2013-10-22 Thread Peter Maydell
clang defines __ATOMIC_SEQ_CST but its implementation of the __atomic_exchange() builtin differs from that of gcc. Move the __clang__ branch of the ifdef ladder to the top and fix its implementation (there is no such builtin as __sync_exchange), so we can compile with clang again. Signed-off-by: P

Re: [Qemu-devel] [REMINDER] Key Signing Party at KVM Forum

2013-10-22 Thread Anthony Liguori
You must bring a physical copy of your own key fingerprint. I will not allow folks to use their laptops during the key signing. There are pens and pads of paper in the conference rooms. If you don't already have a print out, write your fingerprint on a piece of paper before tomorrow and bring th

Re: [Qemu-devel] [PATCH 16/16] qapi-schema, qemu-options & slirp: Adding Qemu options for IPv6 addresses

2013-10-22 Thread Samuel Thibault
Hello, Eric Blake, le Mon 21 Oct 2013 22:04:23 +0100, a écrit : > > +'*ip6_prefix': 'str', > > Why is this a str instead of an integer? prefix would be e.g. fc00::1/64. Samuel

Re: [Qemu-devel] [PATCH 16/16] qapi-schema, qemu-options & slirp: Adding Qemu options for IPv6 addresses

2013-10-22 Thread Eric Blake
On 10/22/2013 11:22 AM, Samuel Thibault wrote: > Hello, > > Eric Blake, le Mon 21 Oct 2013 22:04:23 +0100, a écrit : >>> +'*ip6_prefix': 'str', >> >> Why is this a str instead of an integer? > > prefix would be e.g. fc00::1/64. That requires me to post-parse it. Would it be smarter to r

Re: [Qemu-devel] [PATCH 16/16] qapi-schema, qemu-options & slirp: Adding Qemu options for IPv6 addresses

2013-10-22 Thread Samuel Thibault
Hello, Eric Blake, le Tue 22 Oct 2013 11:27:27 +0100, a écrit : > On 10/22/2013 11:22 AM, Samuel Thibault wrote: > > Eric Blake, le Mon 21 Oct 2013 22:04:23 +0100, a écrit : > >>> +'*ip6_prefix': 'str', > >> > >> Why is this a str instead of an integer? > > > > prefix would be e.g. fc00:

Re: [Qemu-devel] why no progress shown after introduce NBD migration cookie

2013-10-22 Thread Zhanghaoyu (A)
Hi, all Could someone make a detailed statement for the buggy implementation of traditional storage-migration method that migrating the storage in iteration way? Thanks, Zhang Haoyu hi Michal, I used libvirt-1.0.3, ran below command to perform live migration, why no progre

Re: [Qemu-devel] [PATCH 16/16] qapi-schema, qemu-options & slirp: Adding Qemu options for IPv6 addresses

2013-10-22 Thread Eric Blake
On 10/22/2013 11:31 AM, Samuel Thibault wrote: > Hello, > > Eric Blake, le Tue 22 Oct 2013 11:27:27 +0100, a écrit : >> On 10/22/2013 11:22 AM, Samuel Thibault wrote: >>> Eric Blake, le Mon 21 Oct 2013 22:04:23 +0100, a écrit : > +'*ip6_prefix': 'str', Why is this a str inst

Re: [Qemu-devel] [PATCH 16/16] qapi-schema, qemu-options & slirp: Adding Qemu options for IPv6 addresses

2013-10-22 Thread Samuel Thibault
Eric Blake, le Tue 22 Oct 2013 11:33:52 +0100, a écrit : > On 10/22/2013 11:31 AM, Samuel Thibault wrote: > > Hello, > > > > Eric Blake, le Tue 22 Oct 2013 11:27:27 +0100, a écrit : > >> On 10/22/2013 11:22 AM, Samuel Thibault wrote: > >>> Eric Blake, le Mon 21 Oct 2013 22:04:23 +0100, a écrit : >

Re: [Qemu-devel] [PATCH 16/16] qapi-schema, qemu-options & slirp: Adding Qemu options for IPv6 addresses

2013-10-22 Thread Eric Blake
On 10/22/2013 11:45 AM, Samuel Thibault wrote: >>> It makes sense, yes, the syntax would be [ip6-prefix=net[/netsize]] . I >>> just don't know how to express that in qapi :) >> >> '*ip6_net':'str', '*ip6_netsize':'int' >> >> passed on the wire as: >> >> "ip6_net":"fc00::1", "ip6_netsize":64 > > E

Re: [Qemu-devel] [RFC v5 4/5] hw/arm/digic: add UART support

2013-10-22 Thread Antony Pavlov
On Thu, 17 Oct 2013 18:54:28 +0100 Peter Maydell wrote: > On 7 September 2013 08:04, Antony Pavlov wrote: > > Signed-off-by: Antony Pavlov > > --- a/hw/arm/digic_boards.c > > +++ b/hw/arm/digic_boards.c > > @@ -26,6 +26,13 @@ > > #include "hw/boards.h" > > #include "exec/address-spaces.h" > >

Re: [Qemu-devel] [PATCH 16/16] qapi-schema, qemu-options & slirp: Adding Qemu options for IPv6 addresses

2013-10-22 Thread Eric Blake
On 10/22/2013 11:48 AM, Eric Blake wrote: > On 10/22/2013 11:45 AM, Samuel Thibault wrote: > It makes sense, yes, the syntax would be [ip6-prefix=net[/netsize]] . I just don't know how to express that in qapi :) >>> >>> '*ip6_net':'str', '*ip6_netsize':'int' >>> >>> passed on the wire as

[Qemu-devel] [PATCH 1/7] Declare and Enable VSX

2013-10-22 Thread Anton Blanchard
From: Tom Musta This patch adds the flag POWERPC_FLAG_VSX to the list of defined flags and also adds this flag to the list of supported features of the Power7 and Power8 CPUs. Additionally, the VSX instructions are added to the list of TCG-enabled instruction. Signed-off-by: Tom Musta Signed-o

[Qemu-devel] [PATCH 2/7] Add MSR VSX and Associated Exception

2013-10-22 Thread Anton Blanchard
From: Tom Musta This patch adds support for the VSX bit of the PowerPC Machine State Register (MSR) as well as the corresponding VSX Unavailable exception. The VSX bit is added to the defined bits masks of the Power7 and Power8 CPU models. Signed-off-by: Tom Musta Signed-off-by: Anton Blanchar

[Qemu-devel] [PATCH 3/7] Add VSX Instruction Decoders

2013-10-22 Thread Anton Blanchard
From: Tom Musta This patch adds decoders for the VSX fields XT, XS, XA, XB and DM. The first four are split fields and a general helper for these types of fields is also added. Signed-off-by: Tom Musta Signed-off-by: Anton Blanchard --- Index: b/target-ppc/translate.c ===

[Qemu-devel] [PATCH 4/7] Add VSR to Global Registers

2013-10-22 Thread Anton Blanchard
From: Tom Musta This patch adds VSX VSRs to the the list of global register indices. More specifically, it adds the lower halves of the first 32 VSRs to the list of global register indices. The upper halves of the first 32 VSRs are already defined via cpu_fpr[]. And the second 32 VSRs are alrea

[Qemu-devel] [PATCH 5/7] Add lxvd2x

2013-10-22 Thread Anton Blanchard
From: Tom Musta This patch adds the lxvd2x instruction. Signed-off-by: Tom Musta Signed-off-by: Anton Blanchard --- Index: b/target-ppc/translate.c === --- a/target-ppc/translate.c +++ b/target-ppc/translate.c @@ -7007,6 +7007,22

[Qemu-devel] [PATCH 7/7] Add xxpermdi

2013-10-22 Thread Anton Blanchard
From: Tom Musta This patch adds the xxpermdi instruction. The instruction uses bits 22, 23, 29 and 30 for non-opcode fields (DM, AX and BX). This results in overloading of the opcode table with aliases, which can be seen in the GEN_XX3FORM_DM macro. Signed-off-by: Tom Musta Signed-off-by: Ant

[Qemu-devel] [PATCH 6/7] Add stxvd2x

2013-10-22 Thread Anton Blanchard
From: Tom Musta This patch adds the stxvd2x instruction. Signed-off-by: Tom Musta Signed-off-by: Anton Blanchard --- Index: b/target-ppc/translate.c === --- a/target-ppc/translate.c +++ b/target-ppc/translate.c @@ -7023,6 +7023,2

[Qemu-devel] [PATCH for-1.7] seccomp: setting "-sandbox on" by default

2013-10-22 Thread Eduardo Otubo
Inverting the way sandbox handles arguments, making possible to have no argument and still have '-sandbox on' enabled. Signed-off-by: Eduardo Otubo --- The option '-sandbox on' is now used by default by virt-test[0] -- it has been merged into the 'next' branch and will be available in the next r

Re: [Qemu-devel] [RFC v5 2/5] hw/arm/digic: prepare DIGIC-based boards support

2013-10-22 Thread Antony Pavlov
On Thu, 17 Oct 2013 20:17:15 +0100 Peter Maydell wrote: > On 17 October 2013 19:51, Georg Hofstetter wrote: > > flash (ROM1) on these cameras starts at 0xF800 and is either > > 0x0080, 0x0100 ox 0x0200 large. just like with every > > chip-selected memory, where the CS/EN line is

[Qemu-devel] [PATCH] save_page: replace block_offset with MemoryRegion

2013-10-22 Thread Lei Li
This patch exports MemoryRegion to save_page hook, replacing argument ram_addr_t block_offset with a MemoryRegion suggested by Paolo Bonzini. Forgot to include this patch to the localhost migration series sent earlier today. Will adjust it in migration-local.c later if this patch could be merged f

Re: [Qemu-devel] [PATCH 6/6] qapi: add doc for QEvent

2013-10-22 Thread Wenchao Xia
于 2013/10/22 14:55, Wenchao Xia 写道: 于 2013/10/22 5:00, Eric Blake 写道: On 10/21/2013 03:16 AM, Wenchao Xia wrote: Signed-off-by: Wenchao Xia --- qapi-schema.json | 56 ++ 1 files changed, 56 insertions(+), 0 deletions(-) Incomplete. N

Re: [Qemu-devel] [v2 07/13] Add VSX Scalar Move Instructions

2013-10-22 Thread Tom Musta
On 10/22/2013 1:31 AM, Paolo Bonzini wrote: Il 11/10/2013 14:02, Tom Musta ha scritto: +case OP_CPSGN: { \ +TCGv_i64 xa = tcg_temp_new(); \ +tcg_gen_mov_i64(xa, cpu_vsrh(xA(ctx->opcode))); \ +

Re: [Qemu-devel] [PATCH for-1.7] seccomp: setting "-sandbox on" by default

2013-10-22 Thread Anthony Liguori
On Tue, Oct 22, 2013 at 12:21 PM, Eduardo Otubo wrote: > Inverting the way sandbox handles arguments, making possible to have no > argument and still have '-sandbox on' enabled. > > Signed-off-by: Eduardo Otubo > --- > > The option '-sandbox on' is now used by default by virt-test[0] -- it has be

Re: [Qemu-devel] [PATCHv5 04/17] block: add logical block provisioning info to BlockDriverInfo

2013-10-22 Thread Eric Blake
On 10/20/2013 04:42 PM, Peter Lieven wrote: > Signed-off-by: Peter Lieven > --- > include/block/block.h | 16 > 1 file changed, 16 insertions(+) > Reviewed-by: Eric Blake -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org

Re: [Qemu-devel] [PATCHv5 05/17] block: add wrappers for logical block provisioning information

2013-10-22 Thread Eric Blake
On 10/20/2013 04:42 PM, Peter Lieven wrote: > This adds 2 wrappers to read the unallocated_blocks_are_zero and > can_write_zeroes_with_unmap info from the BDI. The wrappers are > required to check for the existence of a backing_hd and > if the devices are opened with the correct flags. > > Signed-

[Qemu-devel] [PATCH v2 0/2] fw_cfg: add etc/e820

2013-10-22 Thread Gerd Hoffmann
Hi, Mini patch series adds a new file to fw_cfg, holding a e820 map with both reservations and ram regions. The existing fw_cfg entry with e820 reservations only is left as-is. This allows to (a) support more than 1TB of memory (which is impossible using the current cmos entries) and (b) suppo

[Qemu-devel] [PATCH 2/2] pc: register e820 entries for ram

2013-10-22 Thread Gerd Hoffmann
So RAM shows up in the new etc/e820 fw_cfg file. Cc: Andrea Arcangeli Signed-off-by: Gerd Hoffmann --- hw/i386/pc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hw/i386/pc.c b/hw/i386/pc.c index 0500ab6..d98cb25 100644 --- a/hw/i386/pc.c +++ b/hw/i386/pc.c @@ -1151,12 +1151,14 @@ FWCfg

[Qemu-devel] [PATCH 1/2] pc: add etc/e820 fw_cfg file

2013-10-22 Thread Gerd Hoffmann
Unlike the existing FW_CFG_E820_TABLE entry which carries reservations only the new etc/e820 file also has entries for RAM. Format is simliar to the FW_CFG_E820_TABLE, it is a simple list of e820_entry structs. Unlike FW_CFG_E820_TABLE it has no count though as the number of entries can be figure

Re: [Qemu-devel] [PATCH 16/16] qapi-schema, qemu-options & slirp: Adding Qemu options for IPv6 addresses

2013-10-22 Thread Samuel Thibault
Eric Blake, le Tue 22 Oct 2013 11:52:11 +0100, a écrit : > On 10/22/2013 11:48 AM, Eric Blake wrote: > > HMP can let the user abbreviate to net=10.0.2.2/24, > > The command line, just like HMP, can use shorthand for convenience. How are these usually defined? A quick search didn't provide me an

[Qemu-devel] [PATCH v4] integrator: fix Linux boot failure by emulating dbg region

2013-10-22 Thread alex . bennee
From: Alex Bennée Commit 9b8c69243 (since reverted) broke the ability to boot the kernel as the value returned by unassigned_mem_read returned non-zero and left the kernel looping forever waiting for it to change (see integrator_led_set in the kernel code). Relying on a varying implementation de

Re: [Qemu-devel] [PATCH 16/16] qapi-schema, qemu-options & slirp: Adding Qemu options for IPv6 addresses

2013-10-22 Thread Eric Blake
On 10/22/2013 03:11 PM, Samuel Thibault wrote: > Eric Blake, le Tue 22 Oct 2013 11:52:11 +0100, a écrit : >> On 10/22/2013 11:48 AM, Eric Blake wrote: >>> HMP can let the user abbreviate to net=10.0.2.2/24, >> >> The command line, just like HMP, can use shorthand for convenience. > > How are these

Re: [Qemu-devel] [PATCH] linux-user: create target_structs header to place ipc_perm and shmid_ds

2013-10-22 Thread Petar Jovanovic
Ping http://patchwork.ozlabs.org/patch/281527/ From: Petar Jovanovic Sent: Tuesday, October 15, 2013 2:44 PM To: Petar Jovanovic; qemu-devel@nongnu.org Cc: aurel...@aurel32.net; riku.voi...@linaro.org; peter.mayd...@linaro.org Subject: RE: [PATCH] linux-user

[Qemu-devel] [V3 07/13] Add VSX Scalar Move Instructions

2013-10-22 Thread Tom Musta
From 37b74a6ca422e62b349692188c457bf6127a3a83 Mon Sep 17 00:00:00 2001 From: Tom Musta Date: Thu, 3 Oct 2013 10:09:50 -0500 Subject: [PATCH 07/13] Add VSX Scalar Move Instructions To: qemu-...@nongnu.org This patch adds the VSX scalar move instructions: - xsabsdp (Scalar Absolute Value Double

[Qemu-devel] [V3 08/13] Add VSX Vector Move Instructions

2013-10-22 Thread Tom Musta
This patch adds the vector move instructions: - xvabsdp - Vector Absolute Value Double-Precision - xvnabsdp - Vector Negative Absolute Value Double-Precision - xvnegdp - Vector Negate Double-Precision - xvcpsgndp - Vector Copy Sign Double-Precision - xvabssp - Vector Absolute Value Sing

Re: [Qemu-devel] [PATCH 2/7] Add MSR VSX and Associated Exception

2013-10-22 Thread Richard Henderson
On 10/22/2013 04:06 AM, Anton Blanchard wrote: > From: Tom Musta > > This patch adds support for the VSX bit of the PowerPC Machine > State Register (MSR) as well as the corresponding VSX Unavailable > exception. > > The VSX bit is added to the defined bits masks of the Power7 and > Power8 CPU m

Re: [Qemu-devel] [PATCH_v2 9/9] target-openrisc: Correct carry flagcheck of l.addc and l.addic test casess

2013-10-22 Thread Sebastian Macke
Hi Alex, I am using a cross-compiling toolchain. It's the easiest way as I have to compile the image for QEMU anyhow. http://opencores.org/or1k/OpenRISC_GNU_tool_chain Then it's just an "make && make test" in the corresponding tests/tcg/openrisc folder. Inside the virtual machine it would b

Re: [Qemu-devel] [PATCH_v2 9/9] target-openrisc: Correct carry flagcheck of l.addc and l.addic test casess

2013-10-22 Thread Max Filippov
On Tue, Oct 22, 2013 at 7:45 PM, Sebastian Macke wrote: > Hi Alex, > > I am using a cross-compiling toolchain. It's the easiest way as I have to > compile the image for QEMU anyhow. > http://opencores.org/or1k/OpenRISC_GNU_tool_chain > > Then it's just an "make && make test" in the corresponding >

Re: [Qemu-devel] [PATCH_v2 9/9] target-openrisc: Correct carry flagcheck of l.addc and l.addic test casess

2013-10-22 Thread Alex Bennée
jcmvb...@gmail.com writes: > On Tue, Oct 22, 2013 at 7:45 PM, Sebastian Macke wrote: >> Hi Alex, >> >> I am using a cross-compiling toolchain. It's the easiest way as I have to >> compile the image for QEMU anyhow. >> http://opencores.org/or1k/OpenRISC_GNU_tool_chain I shall have a look. > >

Re: [Qemu-devel] [PATCH_v2 9/9] target-openrisc: Correct carry flagcheck of l.addc and l.addic test casess

2013-10-22 Thread Sebastian Macke
On 22/10/2013 9:01 AM, Max Filippov wrote: On Tue, Oct 22, 2013 at 7:45 PM, Sebastian Macke wrote: Hi Alex, I am using a cross-compiling toolchain. It's the easiest way as I have to compile the image for QEMU anyhow. http://opencores.org/or1k/OpenRISC_GNU_tool_chain Then it's just an "make &&

[Qemu-devel] [PATCH 2/4 v5] block: Add device-width property to pflash_cfi01

2013-10-22 Thread Roy Franz
The width of the devices that make up the flash interface is required to mask certain commands, in particular the write length for buffered writes. This length will be presented to each device on the interface by the program writing the flash, and the flash emulation code needs to be able to deter

[Qemu-devel] [PATCH 1/4 v4] block: rename pflash_t member width to bank_width

2013-10-22 Thread Roy Franz
Rename the 'width' member of the pflash_t structuer in preparation for adding a bank_width member. Signed-off-by: Roy Franz --- hw/block/pflash_cfi01.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/hw/block/pflash_cfi01.c b/hw/block/pflash_cfi01.c index 0

[Qemu-devel] [PATCH 0/4 v4] block, arm: Fix buffered flash writes on VExpress

2013-10-22 Thread Roy Franz
This patchset fixes buffered flash writes on the VExpress platform. Buffered writes should now work properly on platforms whose flash interface width is different from the device width. The default is for the device-width to be set to the interface width, so platforms that can benefit from this c

[Qemu-devel] [PATCH 3/4 v4] block: return status for each device

2013-10-22 Thread Roy Franz
Now that we know how wide each flash device that makes up the bank is, return status for each device in the bank. Leave existing code that treats 32 bit wide banks as composed of two 16 bit devices as otherwise we may break configurations that do not set the device_width propery. Signed-off-by: R

[Qemu-devel] [PATCH 4/4 v4] block: Set proper device-width for vexpress flash

2013-10-22 Thread Roy Franz
Create vexpress specific pflash registration function which properly configures the device-width of 16 bits (2 bytes) for the NOR flash on the vexpress platform. This change is required for buffered flash writes to work properly. Signed-off-by: Roy Franz --- hw/arm/vexpress.c | 43 +++

[Qemu-devel] [PATCH] rdma: rename 'x-rdma' => 'rdma'

2013-10-22 Thread mrhines
From: "Michael R. Hines" As far as we can tell, all known bugs have been fixed, there as been very good participation in testing and running. 1. Parallel RDMA migrations are working 2. IPv6 migration is working 3. Libvirt patches are ready 4. virt-test is working Any objections to removing the

[Qemu-devel] [Bug 1242963] Re: QEMU loadvm causes guest OS freeze

2013-10-22 Thread NanothylL
** Changed in: qemu Status: Incomplete => New -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1242963 Title: QEMU loadvm causes guest OS freeze Status in QEMU: New Bug description: HOST:

Re: [Qemu-devel] [PATCH for-1.7] configure: Explicitly set ARFLAGS so we can build with GNU Make 4.0

2013-10-22 Thread Ken Moffat
On Tue, Oct 22, 2013 at 09:24:46AM +0100, Peter Maydell wrote: > On 21 October 2013 21:03, Peter Maydell wrote: > > Ken: I think this should work (and it doesn't break building with > > old makes), but I don't have a make 4.0 to hand; if you could > > test it I'd appreciate it. > > Forwarding a m

[Qemu-devel] QueuePFN peculiarity in virtio-mmio

2013-10-22 Thread Laszlo Ersek
Hi, "Appendix X: virtio-mmio" in the virtio spec says • 0x040 | RW | QueuePFN [...] When the Guest stops using the queue it must write zero (0x0) to this register. [...] and Virtqueue Configuration [...] 2. Check if the queue is not already in use: read QueueP

Re: [Qemu-devel] QueuePFN peculiarity in virtio-mmio

2013-10-22 Thread Laszlo Ersek
My apologies, I used Anthony's previous (now obsolete) email. Updated it now & keeping full context below. Sorry. On 10/22/13 19:49, Laszlo Ersek wrote: > Hi, > > "Appendix X: virtio-mmio" in the virtio spec says > > • 0x040 | RW | QueuePFN > [...] When the Guest stops using the queue

Re: [Qemu-devel] [edk2] QueuePFN peculiarity in virtio-mmio

2013-10-22 Thread Laszlo Ersek
On 10/22/13 19:55, Laszlo Ersek wrote: >> The question arises because Olivier has posted a series to edk2-devel >> that adds virtio-mmio support to TianoCore, and Mark tested it (using >> OVMF) with a Linux guest and found problems. Namely, OVMF itself can >> drive the virtio devices via virtio-mm

Re: [Qemu-devel] [PATCH for-1.7] configure: Explicitly set ARFLAGS so we can build with GNU Make 4.0

2013-10-22 Thread Ken Moffat
On Tue, Oct 22, 2013 at 06:35:47PM +0100, Ken Moffat wrote: > > > > Ken -- any chance you could test git master? I think it would > > be more interesting to make sure that 1.7 works with Make 4.0: > > I don't know if anybody will care enough to backport this patch > > to 1.6.x. > > > > thanks > >

Re: [Qemu-devel] [PATCH for-1.7] configure: Explicitly set ARFLAGS so we can build with GNU Make 4.0

2013-10-22 Thread Peter Maydell
On 22 October 2013 18:35, Ken Moffat wrote: > On Tue, Oct 22, 2013 at 09:24:46AM +0100, Peter Maydell wrote: >> Forwarding a message from Ken (whose mail client is apparently >> not very good :-): >> > No, it was operator error - I somehow fell into editing the > original mail (didn't even know t

Re: [Qemu-devel] [PATCH for-1.7] configure: Explicitly set ARFLAGS so we can build with GNU Make 4.0

2013-10-22 Thread Ken Moffat
On Tue, Oct 22, 2013 at 07:10:43PM +0100, Peter Maydell wrote: > On 22 October 2013 18:35, Ken Moffat wrote: > > On Tue, Oct 22, 2013 at 09:24:46AM +0100, Peter Maydell wrote: > >> Forwarding a message from Ken (whose mail client is apparently > >> not very good :-): > >> > > No, it was operator

Re: [Qemu-devel] [PATCH for-1.7] configure: Explicitly set ARFLAGS so we can build with GNU Make 4.0

2013-10-22 Thread Ken Moffat
On Tue, Oct 22, 2013 at 07:09:10PM +0100, Ken Moffat wrote: > On Tue, Oct 22, 2013 at 06:35:47PM +0100, Ken Moffat wrote: > > > > > > Ken -- any chance you could test git master? I think it would > > > be more interesting to make sure that 1.7 works with Make 4.0: > > > I don't know if anybody wil

Re: [Qemu-devel] [PATCH 16/16] qapi-schema, qemu-options & slirp: Adding Qemu options for IPv6 addresses

2013-10-22 Thread Samuel Thibault
I see. So it would be something like this? commit 1807466d691f281f430fbf8c0bbff6bf8073247d Author: Samuel Thibault Date: Tue Oct 22 21:11:46 2013 +0200 qapi-schema, qemu-options & slirp: Adding Qemu options for IPv6 addresses This patchs adds parameters to manage some new options

Re: [Qemu-devel] [PATCH] rdma: rename 'x-rdma' => 'rdma'

2013-10-22 Thread Eric Blake
On 10/22/2013 05:59 PM, mrhi...@linux.vnet.ibm.com wrote: > From: "Michael R. Hines" > > As far as we can tell, all known bugs have been fixed, > there as been very good participation in testing and running. > > 1. Parallel RDMA migrations are working > 2. IPv6 migration is working > 3. Libvirt

Re: [Qemu-devel] [PATCH 16/16] qapi-schema, qemu-options & slirp: Adding Qemu options for IPv6 addresses

2013-10-22 Thread Eric Blake
On 10/22/2013 08:12 PM, Samuel Thibault wrote: > I see. So it would be something like this? > > commit 1807466d691f281f430fbf8c0bbff6bf8073247d > Author: Samuel Thibault > Date: Tue Oct 22 21:11:46 2013 +0200 > > qapi-schema, qemu-options & slirp: Adding Qemu options for IPv6 addresses >

[Qemu-devel] [PATCH] doc: fix hardcode helper path

2013-10-22 Thread Amos Kong
The install directory of qemu-bridge-helper is configurabled, but we used a fixed path in document. DEFAULT_BRIDGE_HELPER macro isn't available in texi mode, we always use "/path/to/" prefix for dynamic path (eg: /path/to/image, /path/to/linux, etc). Signed-off-by: Amos Kong --- qemu-options.hx

Re: [Qemu-devel] [PATCH v3 0/4] Curling: KVM Fault Tolerance

2013-10-22 Thread Michael R. Hines
On 10/15/2013 03:26 AM, Jules Wang wrote: v2 -> v3: * add documentation of new option in qapi-schema. * long option name: ft -> fault-tolerant v1 -> v2: * cmdline: migrate curling:tcp:: -> migrate -f tcp:: * sender: use QEMU_VM_FILE_MAGIC_FT as the header of the migration

Re: [Qemu-devel] [PATCH v3 0/4] Curling: KVM Fault Tolerance

2013-10-22 Thread Michael R. Hines
On 10/15/2013 03:26 AM, Jules Wang wrote: v2 -> v3: * add documentation of new option in qapi-schema. * long option name: ft -> fault-tolerant v1 -> v2: * cmdline: migrate curling:tcp:: -> migrate -f tcp:: * sender: use QEMU_VM_FILE_MAGIC_FT as the header of the migration t

[Qemu-devel] About VM fork in QEMU

2013-10-22 Thread Xinyang Ge
Dear QEMU developers, I am a Ph.D. student in Penn State. And we are currently working on a project that needs to fork multiple instances of a same VM instance with exactly same state (e.g., memory layout, registers, etc.) in a very efficient way. Snapshot is too heavy for us because it needs to d

Re: [Qemu-devel] About VM fork in QEMU

2013-10-22 Thread Eric Blake
On 10/22/2013 09:23 PM, Xinyang Ge wrote: > Dear QEMU developers, > > I am a Ph.D. student in Penn State. And we are currently working on a > project that needs to fork multiple instances of a same VM instance > with exactly same state (e.g., memory layout, registers, etc.) in a > very efficient w

Re: [Qemu-devel] [PATCH v3 resend 7/8] rdma: introduce MIG_STATE_NONE and change MIG_STATE_SETUP state transition

2013-10-22 Thread Chris Wulff
On Oct 8, 2013, at 12:05 PM, Paolo Bonzini wrote: > Il 08/10/2013 16:49, Eric Blake ha scritto: >> You are now returning a state that older libvirt versions are not >> expecting. Obviously, we can patch newer libvirt to make migration work >> again, but should we be thinking about damage con

Re: [Qemu-devel] [PATCH v7] powerpc: add PVR mask support

2013-10-22 Thread Alexey Kardashevskiy
On 10/14/2013 02:04 PM, Alexey Kardashevskiy wrote: > On 09/30/2013 09:30 PM, Alexander Graf wrote: >> >> On 27.09.2013, at 10:05, Alexey Kardashevskiy wrote: >> >>> IBM POWERPC processors encode PVR as a CPU family in higher 16 bits and >>> a CPU version in lower 16 bits. Since there is no signifi

Re: [Qemu-devel] QueuePFN peculiarity in virtio-mmio

2013-10-22 Thread Rusty Russell
Laszlo Ersek writes: > Hi, > > "Appendix X: virtio-mmio" in the virtio spec says Hi Laszlo, You're in luck! We're currently revising the virtio spec under the OASIS banner. I'd really like you to post your suggestion to their mailing list (yes, you will have to subscribe to it, for IP

Re: [Qemu-devel] Disabling IRQ error

2013-10-22 Thread Xie Xianshan
Dear Max, Sorry for the late reply. Thanks for your advice about lowering the irqs after raising them, and that fixed my problem. Thanks again for your kindness. Thanks, Simen 于 2013/09/11 17:29, Max Filippov 写道: On Wed, Sep 11, 2013 at 12:12 PM, Xie Xianshan wrote: I want to

Re: [Qemu-devel] [PATCH_v2 0/9] target-openrisc: Corrections and speed improvements

2013-10-22 Thread Jia Liu
Hi Sebastian, On Tue, Oct 22, 2013 at 8:12 AM, Sebastian Macke wrote: > > This series is the first part to make the OpenRISC target more > reliable and faster. > It corrects several severe problems which prevented the OpenRISC emulation > for being useful in the past. > > The patchset was tested

Re: [Qemu-devel] [PATCH v3 0/4] Curling: KVM Fault Tolerance

2013-10-22 Thread Jules
On 2013-10-22 17:00 -0400,Michael R. Hines wrote: > On 10/15/2013 03:26 AM, Jules Wang wrote: > > v2 -> v3: > > * add documentation of new option in qapi-schema. > > > > * long option name: ft -> fault-tolerant > > > > v1 -> v2: > > * cmdline: migrate curling:tcp:: > > -> migrate -f tcp:

Re: [Qemu-devel] [Qemu-trivial] [PATCH v3] misc: Spelling and grammar fixes in comments

2013-10-22 Thread Stefan Weil
Am 21.10.2013 10:46, schrieb Michael Tokarev: > So guys, do we agree to apply this or not, after all? :) > > Thanks, > > /mjt The discussion was a bit confusing. Finally, the patch got two reviews (Reviewed-by: Peter Maydell , Reviewed-By: Don Koch , see http://patchwork.ozlabs.org/patch/282925/)

Re: [Qemu-devel] [PATCH v8 0/2] bugs fix for hpet

2013-10-22 Thread liu ping fan
ping? Any further comment? Thanks On Fri, Oct 18, 2013 at 12:00 PM, Liu Ping Fan wrote: > v8: > make piix/q35 compat diverge > simplify the code, use hpet_irqs to pass "intcap" value > > v7: > use macro to define "intcap" in pc.h > (as to 3/4 and 4/4, I am not sure about whether to merge

Re: [Qemu-devel] [PATCH] MAINTAINERS: add block driver sub-maintainers

2013-10-22 Thread MORITA Kazutaka
At Mon, 21 Oct 2013 14:26:15 +0100, Stefan Hajnoczi wrote: > > There are a number of contributors who maintain block drivers (image > formats and protocols). They should be listed in the MAINTAINERS file > so that get_maintainer.pl lists them. > > Note that commits are still merged through Kevin

  1   2   >