Re: [Qemu-devel] [PULL 00/12] audio patch queue

2015-06-09 Thread Gerd Hoffmann
On Di, 2015-06-09 at 15:29 +0100, Peter Maydell wrote: > On 9 June 2015 at 15:13, Kővágó Zoltán wrote: > > 2015-06-09 15:03 keltezéssel, Peter Maydell írta: > >> > >> > >> ...and a further long list of errors which I assume are mostly > >> run-on from not finding the header file. > >> > >> This lo

Re: [Qemu-devel] [PULL 00/12] audio patch queue

2015-06-09 Thread Gerd Hoffmann
> Fails to build on w32: > > /home/petmay01/linaro/qemu-for-merges/audio/dsoundaudio.c:38:20: > error: dsound.h: No such fi le or directory Hmm, builds fine here: nilsson kraxel ~/projects/qemu (audio.work)# locate dsound.h /usr/i686-w64-mingw32/sys-root/mingw/include/dsound.h /usr/x86_64-w64-mi

[Qemu-devel] [PULL v3 7/8] fw_cfg: insert fw_cfg file blobs via qemu cmdline

2015-06-09 Thread Gerd Hoffmann
From: "Gabriel L. Somlo" Allow user supplied files to be inserted into the fw_cfg device before starting the guest. Since fw_cfg_add_file() already disallows duplicate fw_cfg file names, qemu will exit with an error message if the user supplies multiple blobs with the same fw_cfg file name, or if

[Qemu-devel] [PULL v3 3/8] fw_cfg: fix FW_CFG_BOOT_DEVICE update on ppc and sparc

2015-06-09 Thread Gerd Hoffmann
From: "Gabriel L. Somlo" On ppc, sparc, and sparc64, the value of the FW_CFG_BOOT_DEVICE 16bit fw_cfg entry is repeatedly modified from a series of callbacks, which currently results in the previous value's dynamically allocated memory being leaked. This patch switches updating to the new fw_cfg

[Qemu-devel] [PULL v3 8/8] bios-tables-test: handle false-positive smbios signature matches

2015-06-09 Thread Gerd Hoffmann
From: "Gabriel L. Somlo" It has been reported that sometimes the .rodata section of SeaBIOS, containing the constant string against which the SMBIOS signature ends up being compared, also falls within the guest f-segment. In that case, the test obviously fails, unless we continue searching for th

[Qemu-devel] [PULL v3 2/8] fw_cfg: add fw_cfg_modify_i16 (update) method

2015-06-09 Thread Gerd Hoffmann
From: "Gabriel L. Somlo" Allow the ability to modify the value of an existing 16-bit integer fw_cfg item. Signed-off-by: Gabriel Somlo Signed-off-by: Gerd Hoffmann --- hw/nvram/fw_cfg.c | 10 ++ include/hw/nvram/fw_cfg.h | 1 + 2 files changed, 11 insertions(+) diff --git a/

[Qemu-devel] [PULL v3 4/8] fw_cfg: remove support for guest-side data writes

2015-06-09 Thread Gerd Hoffmann
From: "Gabriel L. Somlo" >From this point forward, any guest-side writes to the fw_cfg data register will be treated as no-ops. This patch also removes the unused host-side API function fw_cfg_add_callback(), which allowed the registration of a callback to be executed each time the guest complete

[Qemu-devel] [PULL v3 1/8] QemuOpts: increase number of vm_config_groups

2015-06-09 Thread Gerd Hoffmann
Adding the fw_cfg cmd line support patch by Gabriel L. Somlo hits the limit. Fix this by making the array larger. Cc: Gabriel L. Somlo Signed-off-by: Gerd Hoffmann --- util/qemu-config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/qemu-config.c b/util/qemu-config.c

[Qemu-devel] [PULL v3 6/8] fw_cfg: prohibit insertion of duplicate fw_cfg file names

2015-06-09 Thread Gerd Hoffmann
From: "Gabriel L. Somlo" Exit with an error (instead of simply logging a trace event) whenever the same fw_cfg file name is added multiple times via one of the fw_cfg_add_file[_callback]() host-side API calls. Signed-off-by: Gabriel Somlo Reviewed-by: Laszlo Ersek Signed-off-by: Gerd Hoffmann

[Qemu-devel] [PULL v3 5/8] fw_cfg: prevent selector key conflict

2015-06-09 Thread Gerd Hoffmann
From: "Gabriel L. Somlo" Enforce a single assignment of data for each distinct selector key. Signed-off-by: Gabriel Somlo Reviewed-by: Laszlo Ersek Signed-off-by: Gerd Hoffmann --- hw/nvram/fw_cfg.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/nvram/fw_cfg.c b/hw/nvram/fw_cfg.c ind

[Qemu-devel] [PULL v3 0/8] fw_cfg patch queue

2015-06-09 Thread Gerd Hoffmann
ional patches (2+3) to fix the FW_CFG_BOOT_DEVICE update on ppc and sparc, which made "make check" fail in v1. please pull, Gerd The following changes since commit b0411142f482df92717f8b4a3b746081a62b724f: Merge remote-tracking branch 'remotes/rth/tags/pull-tcg-20150609' into

Re: [Qemu-devel] [PULL v2 0/8] fw_cfg patch queue

2015-06-09 Thread Gerd Hoffmann
Hi, > Fails to build: [ ... ] > I'm afraid you've collided with Markus' "Convert qemu_opt_foreach() to Error" > changes. Indeed. Rebased & fixed up, v3 coming ... cheers, Gerd

Re: [Qemu-devel] "iothread: release iothread around aio_poll" causes random hangs at startup

2015-06-09 Thread Fam Zheng
On Tue, 06/09 11:01, Christian Borntraeger wrote: > Am 09.06.2015 um 04:28 schrieb Fam Zheng: > > On Tue, 06/02 16:36, Christian Borntraeger wrote: > >> Paolo, > >> > >> I bisected > >> commit a0710f7995f914e3044e5899bd8ff6c43c62f916 > >> Author: Paolo Bonzini > >> AuthorDate: Fri Feb 20 17:2

Re: [Qemu-devel] [PATCH] block: allow write-threshold on device name

2015-06-09 Thread Eric Blake
On 06/06/2015 07:38 PM, Eric Blake wrote: > Commit e2462113 allowed the ability to fire an event if a BDS > node exceeds a threshold during a write, but limited the option > to only work on node names. For convenience, expand this to > allow a device name as a way to set the threshold on the BDS >

[Qemu-devel] GSoC 2015 (Mac OS 9 support) report, week 6

2015-06-09 Thread Alexander Graf
[This Week] - Finals ヽ(o`皿′o)ノ - Test all patches - Darwin, OpenBSD, and Ubuntu have been tested successfully. - Patch: Combined Adler-32 and copyright - This patch will be split into two separate ones as suggested by Mark. - Splitting in progress. - Remove extraneous "interrupt

Re: [Qemu-devel] [RFC v9 13/18] vfio: add sec_bus_reset notifier to notify physical bus reset is needed

2015-06-09 Thread Alex Williamson
On Tue, 2015-06-09 at 11:37 +0800, Chen Fan wrote: > Signed-off-by: Chen Fan > --- > hw/vfio/pci.c | 81 > +++ > 1 file changed, 81 insertions(+) > > diff --git a/hw/vfio/pci.c b/hw/vfio/pci.c > index 97af143..a4e8658 100644 > --- a/hw/vfi

Re: [Qemu-devel] [RFC v9 14/18] vfio: improve vfio_pci_hot_reset to support more case

2015-06-09 Thread Alex Williamson
On Tue, 2015-06-09 at 11:37 +0800, Chen Fan wrote: > the vfio_pci_hot_reset differentiate the single and multi in-used > devices for reset. but sometimes we own the group without any devices, > that also should support hot reset. Nope, did you try it? It can be done, but the group still needs to

Re: [Qemu-devel] [RFC v9 08/18] vfio: improve vfio_get_group to support adding group without devices

2015-06-09 Thread Alex Williamson
On Tue, 2015-06-09 at 11:37 +0800, Chen Fan wrote: > Pre-adding all affected groups for aer devices, it could > ensure the affected groups are owned in VM. > > Signed-off-by: Chen Fan > --- > hw/vfio/common.c | 15 --- > 1 file changed, 12 insertions(+), 3 deletions(-) > > diff --gi

Re: [Qemu-devel] [RFC v9 09/18] vfio: add ref for group to support own affected groups

2015-06-09 Thread Alex Williamson
On Tue, 2015-06-09 at 11:37 +0800, Chen Fan wrote: > Signed-off-by: Chen Fan > --- > hw/vfio/common.c | 12 > include/hw/vfio/vfio-common.h | 1 + > 2 files changed, 13 insertions(+) > > diff --git a/hw/vfio/common.c b/hw/vfio/common.c > index 4230f83..eff1930 100644 >

Re: [Qemu-devel] [RFC v9 11/18] vfio: add check host bus reset is support or not

2015-06-09 Thread Alex Williamson
On Tue, 2015-06-09 at 11:37 +0800, Chen Fan wrote: > we introduce a has_bus_reset capability to sign the vfio > devices if support host bus reset. Old description, no sign of has_bus_reset here. > > Signed-off-by: Chen Fan > --- > hw/vfio/pci.c | 169 >

Re: [Qemu-devel] [RFC v9 15/18] vfio: do hot bus reset when do virtual secondary bus reset

2015-06-09 Thread Alex Williamson
On Tue, 2015-06-09 at 11:37 +0800, Chen Fan wrote: > when do virtual secondary bus reset, the vfio device under > this bus need to do host bus reset to reset the device. > so add this case. > > Signed-off-by: Chen Fan > --- > hw/vfio/pci.c | 9 + > 1 file changed, 9 insertions(+) > > di

Re: [Qemu-devel] [RFC v9 10/18] get all affected groups for each device support aer

2015-06-09 Thread Alex Williamson
On Tue, 2015-06-09 at 11:37 +0800, Chen Fan wrote: > Add the affected groups without any devices into VM, > it can keep the VM ownship the all groups. and use a > reference to make the group visible. > > Signed-off-by: Chen Fan > --- > hw/vfio/pci.c | 115 > +

Re: [Qemu-devel] [RFC v9 05/18] vfio: add pcie extanded capability support

2015-06-09 Thread Alex Williamson
On Tue, 2015-06-09 at 11:37 +0800, Chen Fan wrote: > For vfio pcie device, we could expose the extended capability on > PCIE bus. in order to avoid config space broken, we introduce > a copy config for parsing extended caps. and rebuild the pcie > extended config space. > > Signed-off-by: Chen Fan

[Qemu-devel] [PATCH 2/3] target-alpha: Inline call_pal

2015-06-09 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-alpha/helper.h | 1 - target-alpha/sys_helper.c | 8 target-alpha/translate.c | 33 - 3 files changed, 24 insertions(+), 18 deletions(-) diff --git a/target-alpha/helper.h b/target-alpha/helper.h index d2

[Qemu-devel] [PATCH 1/3] target-alpha: Use separate TCGv temporaries for the shadow registers

2015-06-09 Thread Richard Henderson
This avoids having to manually swap them around when swapping to and from PALmode. We simply encode the shadow registers into the translation. The VMStateDescription version changes, because the meaning of "shadow" changes in the save file when in PALmode. It would be possible to fix this, but I

[Qemu-devel] [PATCH 3/3] target-alpha: Inline hw_ret

2015-06-09 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-alpha/helper.h | 2 -- target-alpha/sys_helper.c | 8 target-alpha/translate.c | 15 ++- 3 files changed, 10 insertions(+), 15 deletions(-) diff --git a/target-alpha/helper.h b/target-alpha/helper.h index e7f0450..42bb247 10

[Qemu-devel] [PATCH 1/3] target-alpha: Use separate TCGv temporaries for the shadow registers

2015-06-09 Thread Richard Henderson
This avoids having to manually swap them around when swapping to and from PALmode. We simply encode the shadow registers into the translation. The VMStateDescription version changes, because the meaning of "shadow" changes in the save file when in PALmode. It would be possible to fix this, but I

[Qemu-devel] [PATCH] tcg: Mask TCGMemOp appropriately for indexing

2015-06-09 Thread Richard Henderson
The addition of MO_AMASK means that places that used inverted masks need to be changed to use positive masks, and places that failed to mask the intended bits need updating. Cc: Yongbok Kim Signed-off-by: Richard Henderson --- This should fix the problem you found while testing the mipsr6 unali

[Qemu-devel] [PATCH 0/3] target-alpha PALcode improvements

2015-06-09 Thread Richard Henderson
Rather than copying around a block of 8 registers when we swap modes, let the translator map code generated for PALmode to the shadow regs directly. This simplifies PALmode entry and exit sufficiently to allow these insns to be performed inline. Sadly, the speedup for this is in the noise. But I

[Qemu-devel] [PATCH 0/3] target-alpha PALcode improvements

2015-06-09 Thread Richard Henderson
Rather than copying around a block of 8 registers when we swap modes, let the translator map code generated for PALmode to the shadow regs directly. This simplifies PALmode entry and exit sufficiently to allow these insns to be performed inline. Sadly, the speedup for this is in the noise. But I

[Qemu-devel] [PATCH 2/3] target-alpha: Inline call_pal

2015-06-09 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-alpha/helper.h | 1 - target-alpha/sys_helper.c | 8 target-alpha/translate.c | 33 - 3 files changed, 24 insertions(+), 18 deletions(-) diff --git a/target-alpha/helper.h b/target-alpha/helper.h index d2

[Qemu-devel] [PATCH 3/3] target-alpha: Inline hw_ret

2015-06-09 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-alpha/helper.h | 2 -- target-alpha/sys_helper.c | 8 target-alpha/translate.c | 15 ++- 3 files changed, 10 insertions(+), 15 deletions(-) diff --git a/target-alpha/helper.h b/target-alpha/helper.h index e7f0450..42bb247 10

Re: [Qemu-devel] [PATCH 4/4] i386/acpi-build: build_crs(): fetch BAR from PCI config space directly

2015-06-09 Thread Laszlo Ersek
On 06/07/15 11:23, Michael S. Tsirkin wrote: > On Sat, Jun 06, 2015 at 01:46:29AM +0200, Laszlo Ersek wrote: >> OVMF downloads the ACPI linker/loader script from QEMU when the edk2 PCI >> Bus driver globally signals the firmware that PCI enumeration and resource >> allocation have completed. At thi

[Qemu-devel] Query QEMU Tablet / Mouse position / Mouse freeze in guest

2015-06-09 Thread Erik Rull
Hello, is there a way to query the current cursor position of the QEMU tablet or QEMU Mouse? Or is there a way to see that the mouse was moved e.g. since the last query? I currently have some trouble with the mouse - it just freezes in the guest after an undefined period (might work before the fr

Re: [Qemu-devel] [PATCH v2 0/3] blockdev: Defer creation of implicit PCI devices for IF_VIRTIO drives

2015-06-09 Thread Peter Maydell
On 9 June 2015 at 18:48, Peter Maydell wrote: > 1) explicit if=foo drive manually wired up to a device is an error >(and always diagnosed as such, not indirectly via it being double-used) I had a look at getting this to be diagnosed properly, and the sketch of the patch is: 1. add "bool auto_

Re: [Qemu-devel] [PATCH v3 23/38] blockdev: Pull out blockdev option extraction

2015-06-09 Thread Max Reitz
On 09.06.2015 02:37, Fam Zheng wrote: On Wed, 06/03 21:44, Max Reitz wrote: Extract some of the blockdev option extraction code from blockdev_init() into its own function. This simplifies blockdev_init() and will allow reusing the code in a different function added in a follow-up patch. Signed-

Re: [Qemu-devel] [PATCH v2 08/23] pflash_cfi01: change to new-style MMIO accessors

2015-06-09 Thread Michael S. Tsirkin
On Tue, Jun 09, 2015 at 11:08:31AM -0700, Richard Henderson wrote: > On 06/04/2015 01:02 AM, Paolo Bonzini wrote: > > > > > > On 04/06/2015 08:19, Peter Crosthwaite wrote: > >> On Wed, Jun 3, 2015 at 10:08 AM, Paolo Bonzini wrote: > >>> This is a required step to implement read_with_attrs and wr

Re: [Qemu-devel] [PATCH v2 08/23] pflash_cfi01: change to new-style MMIO accessors

2015-06-09 Thread Richard Henderson
On 06/04/2015 01:02 AM, Paolo Bonzini wrote: > > > On 04/06/2015 08:19, Peter Crosthwaite wrote: >> On Wed, Jun 3, 2015 at 10:08 AM, Paolo Bonzini wrote: >>> This is a required step to implement read_with_attrs and write_with_attrs. >>> >>> Signed-off-by: Paolo Bonzini >>> --- >>> hw/block/pfl

Re: [Qemu-devel] Proposed 2.4 release schedule (softfreeze 16th June)

2015-06-09 Thread Peter Maydell
On 26 May 2015 at 15:44, Peter Maydell wrote: > As usual, schedule is at: > http://wiki.qemu.org/Planning/2.4 > > Note that softfreeze is in three weeks time! > > Please let me know if you have any suggestions or objections > to this proposed timescale -- the conference dates mean the > we're a bi

Re: [Qemu-devel] [PATCH v2 0/3] blockdev: Defer creation of implicit PCI devices for IF_VIRTIO drives

2015-06-09 Thread Peter Maydell
On 9 June 2015 at 18:48, Peter Maydell wrote: > Patch 3 is the one-liner to change the default-drive-type. Unfortunately > just doing that alone will break commandlines that currently work The other problem with taking patch 3 alone is that it completely breaks everything, because: * by default

[Qemu-devel] [PATCH v2 3/3] hw/arm/virt: Make block devices default to virtio

2015-06-09 Thread Peter Maydell
Now we have virtio-pci, we can make the virt board's default block device type be IF_VIRTIO. This allows users to use simplified command lines that don't have to explicitly create virtio-pci-blk devices; the -hda &c very short options now also work. Signed-off-by: Peter Maydell --- hw/arm/virt.c

[Qemu-devel] [PATCH v2 2/3] blockdev: Defer creation of implicit PCI devices for IF_VIRTIO drives

2015-06-09 Thread Peter Maydell
If a user requests an IF_VIRTIO drive on the command line, don't create the implicit PCI virtio device immediately, but wait until the rest of the command line has been processed and only create the device if the drive would otherwise be orphaned. This means that if the user said drive,id=something

[Qemu-devel] [PATCH v2 0/3] blockdev: Defer creation of implicit PCI devices for IF_VIRTIO drives

2015-06-09 Thread Peter Maydell
This is a respin of the patchset I sent out last week; the only change v1->v2 is to drop the special casing of S390, as Christian confirmed it isn't needed. This collapses the old patches 2/3 into one. I'm going to use this cover letter as an opportunity to (a) hopefully be a bit clearer about the

[Qemu-devel] [PATCH v2 1/3] blockdev: Factor out create_implicit_virtio_device

2015-06-09 Thread Peter Maydell
Factor out the code which creates the implicit virtio device for IF_VIRTIO drives, so we can call it from drive_check_orphaned(). Signed-off-by: Peter Maydell --- blockdev.c | 35 ++- 1 file changed, 22 insertions(+), 13 deletions(-) diff --git a/blockdev.c b/blo

[Qemu-devel] [PATCH v3 5/7] target-mips: add MTHC0 and MFHC0 instructions

2015-06-09 Thread Leon Alrae
Implement MTHC0 and MFHC0 instructions. In MIPS32 they are used to access upper word of extended to 64-bits CP0 registers. In MIPS64, when CP0 destination register specified is the EntryLo0 or EntryLo1, bits 1:0 of the GPR appear at bits 31:30 of EntryLo0 or EntryLo1. This is to compensate for RI

[Qemu-devel] [PATCH v3 6/7] target-mips: remove misleading comments in translate_init.c

2015-06-09 Thread Leon Alrae
PABITS are not hardcoded to 36 bits and we do not model 59 PABITS (which is the architectural limit) in QEMU. Signed-off-by: Leon Alrae --- target-mips/translate_init.c | 9 - 1 file changed, 9 deletions(-) diff --git a/target-mips/translate_init.c b/target-mips/translate_init.c index 0

[Qemu-devel] [PATCH v3 3/7] target-mips: support Page Frame Number Extension field

2015-06-09 Thread Leon Alrae
Update tlb->PFN to contain PFN concatenated with PFNX. PFNX is 0 if large physical address is not supported. Signed-off-by: Leon Alrae --- target-mips/op_helper.c | 32 ++-- 1 file changed, 26 insertions(+), 6 deletions(-) diff --git a/target-mips/op_helper.c b/targe

Re: [Qemu-devel] [PATCH 1/2] ACPI: Add definitions for the SPCR table

2015-06-09 Thread Michael S. Tsirkin
On Tue, Jun 09, 2015 at 07:03:04PM +0200, Andrew Jones wrote: > On Tue, Jun 09, 2015 at 04:52:39PM +0200, Michael S. Tsirkin wrote: > > On Mon, Jun 08, 2015 at 10:00:49AM -0400, Andrew Jones wrote: > > > SPCR is the Serial Port Console Redirection table. See the document > > > linked from http://ue

[Qemu-devel] [PATCH v3 0/7] target-mips: add support for large physical addresses

2015-06-09 Thread Leon Alrae
Hi, This patchset adds large physical address support in MIPS, specifically: * eXtended Physical Addressing (XPA) * Large Physical Addressing (LPA) XPA and LPA are enabled in MIPS32R5-generic and MIPS64R6-generic cores respectively. The series applies on top of the Config5.FRE patches. Regards,

[Qemu-devel] [PATCH v3 7/7] target-mips: enable XPA and LPA features

2015-06-09 Thread Leon Alrae
Enable XPA in MIPS32R5-generic and LPA in MIPS64R6-generic. Signed-off-by: Leon Alrae --- target-mips/translate_init.c | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/target-mips/translate_init.c b/target-mips/translate_init.c index 05a02eb..836b7bf 100644 ---

[Qemu-devel] [PATCH v3 1/7] target-mips: correct MFC0 for CP0.EntryLo in MIPS64

2015-06-09 Thread Leon Alrae
CP0.EntryLo bits 31:30 have to be cleared. Signed-off-by: Leon Alrae --- target-mips/translate.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/target-mips/translate.c b/target-mips/translate.c index fe6bc16..668e02d 100644 --- a/target-mips/translate.c +++ b/ta

Re: [Qemu-devel] [PATCH 1/8] spec: add qcow2-dirty-bitmaps specification

2015-06-09 Thread Stefan Hajnoczi
On Mon, Jun 08, 2015 at 06:21:19PM +0300, Vladimir Sementsov-Ogievskiy wrote: > From: Vladimir Sementsov-Ogievskiy > > Persistent dirty bitmaps will be saved into qcow2 files. It may be used > as 'internal' bitmaps (for qcow2 drives) or as 'external' bitmaps for > other drives (there may be qcow2

Re: [Qemu-devel] [PATCH 1/2] ACPI: Add definitions for the SPCR table

2015-06-09 Thread Andrew Jones
On Tue, Jun 09, 2015 at 04:52:39PM +0200, Michael S. Tsirkin wrote: > On Mon, Jun 08, 2015 at 10:00:49AM -0400, Andrew Jones wrote: > > SPCR is the Serial Port Console Redirection table. See the document > > linked from http://uefi.org/acpi. For serial port types, "Interface > > Type", see the docu

Re: [Qemu-devel] [PATCH 2/8] qcow2: add dirty-bitmaps feature

2015-06-09 Thread Stefan Hajnoczi
On Mon, Jun 08, 2015 at 06:21:20PM +0300, Vladimir Sementsov-Ogievskiy wrote: I haven't fully reviewed this patch yet but here are initial comments. > +int qcow2_read_dirty_bitmaps(BlockDriverState *bs) > +{ > +BDRVQcowState *s = bs->opaque; > +QCowDirtyBitmapHeader h; > +QCowDirtyBit

[Qemu-devel] [PATCH v3 2/7] target-mips: extend selected CP0 registers to 64-bits in MIPS32

2015-06-09 Thread Leon Alrae
Extend EntryLo0, EntryLo1, LLAddr and TagLo from 32 to 64 bits in MIPS32. Introduce gen_move_low32() function which moves low 32 bits from 64-bit temp to GPR; it sign extends 32-bit value on MIPS64 and truncates on MIPS32. Signed-off-by: Leon Alrae --- target-mips/cpu.h | 14 +--

[Qemu-devel] [PATCH v3 4/7] target-mips: add CP0.PageGrain.ELPA support

2015-06-09 Thread Leon Alrae
CP0.PageGrain.ELPA enables support for large physical addresses. This field is encoded as follows: 0: Large physical address support is disabled. 1: Large physical address support is enabled. If this bit is a 1, the following changes occur to coprocessor 0 registers: - The PFNX field of the EntryL

Re: [Qemu-devel] [PATCH v2 4/4] xen: Fix map/unmap of pcidev to ioreq server

2015-06-09 Thread Don Slutz
On 06/09/15 11:11, Paul Durrant wrote: >> -Original Message- >> From: Don Slutz [mailto:dsl...@verizon.com] >> Sent: 09 June 2015 15:28 >> To: Paul Durrant; Slutz, Donald Christopher; qemu-devel@nongnu.org; xen- >> de...@lists.xen.org >> Cc: Michael S. Tsirkin; Stefano Stabellini; Don Slutz

Re: [Qemu-devel] [Qemu-block] [PATCH v2 0/2] block: driver should override flags in bdrv_open()

2015-06-09 Thread Eric Blake
On 06/09/2015 08:48 AM, Stefan Hajnoczi wrote: > I guess my @redhat.com email was received directly from Max because I > was in CC list. It didn't pass through Mailman. I saw the original, > unmodified list of CCs with Kevin included. > > The @gmail.com email was received from the mailing list.

Re: [Qemu-devel] [PATCH 8/8] iotests: test internal persistent dirty bitmap

2015-06-09 Thread Eric Blake
On 06/08/2015 09:21 AM, Vladimir Sementsov-Ogievskiy wrote: > From: Vladimir Sementsov-Ogievskiy > > The test performs several vm reloads with checking and updating dirty > bitmap. > > Signed-off-by: Vladimir Sementsov-Ogievskiy > --- > tests/qemu-iotests/118| 83 > +++

Re: [Qemu-devel] [PATCH 4/8] block: add bdrv_load_dirty_bitmap

2015-06-09 Thread Stefan Hajnoczi
On Mon, Jun 08, 2015 at 06:21:22PM +0300, Vladimir Sementsov-Ogievskiy wrote: > +BdrvDirtyBitmap *bdrv_load_dirty_bitmap(BlockDriverState *bs, > +BlockDriverState *file, > +int granularity, > +

[Qemu-devel] [Bug 1463463] Re: PCI devices on PCI to PCI bridges stopped being accessable from Xen with QEMU 2.3.0

2015-06-09 Thread Don Slutz
** Attachment added: "This is the Xen config file used" https://bugs.launchpad.net/qemu/+bug/1463463/+attachment/4412144/+files/C63-min-tools.bridge3.xfg -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/b

Re: [Qemu-devel] [PATCH 1/8] spec: add qcow2-dirty-bitmaps specification

2015-06-09 Thread John Snow
On 06/08/2015 11:21 AM, Vladimir Sementsov-Ogievskiy wrote: > From: Vladimir Sementsov-Ogievskiy > > Persistent dirty bitmaps will be saved into qcow2 files. It may be used > as 'internal' bitmaps (for qcow2 drives) or as 'external' bitmaps for > other drives (there may be qcow2 file with zero

[Qemu-devel] [PULL v2 0/3] Initial vfio-platform support

2015-06-09 Thread Alex Williamson
The following changes since commit 2e29dd7c44db30e3d3c108ab2a622cbdac6d16f0: Merge remote-tracking branch 'remotes/jnsnow/tags/ide-pull-request' into staging (2015-06-08 14:07:32 +0100) are available in the git repository at: git://github.com/awilliam/qemu-vfio.git tags/vfio-update-2015060

[Qemu-devel] [PULL v2 2/3] hw/vfio/platform: add irq assignment

2015-06-09 Thread Alex Williamson
From: Eric Auger This patch adds the code requested to assign interrupts to a guest. The interrupts are mediated through user handled eventfds only. Signed-off-by: Eric Auger Tested-by: Vikram Sethi Signed-off-by: Alex Williamson --- hw/vfio/platform.c | 331 +++

[Qemu-devel] [PULL v2 1/3] hw/vfio/platform: vfio-platform skeleton

2015-06-09 Thread Alex Williamson
From: Eric Auger Minimal VFIO platform implementation supporting register space user mapping but not IRQ assignment. Signed-off-by: Kim Phillips Signed-off-by: Eric Auger Tested-by: Vikram Sethi Signed-off-by: Alex Williamson --- hw/vfio/Makefile.objs |1 hw/vfio/platform.c

[Qemu-devel] [PULL v2 3/3] hw/vfio/platform: calxeda xgmac device

2015-06-09 Thread Alex Williamson
From: Eric Auger The platform device class has become abstract. This patch introduces a calxeda xgmac device that derives from it. Signed-off-by: Eric Auger Reviewed-by: Alex Bennée Signed-off-by: Alex Williamson --- hw/vfio/Makefile.objs|1 + hw/vfio/calxeda-xgmac.c

Re: [Qemu-devel] [PULL 0/9] tcg patch queue

2015-06-09 Thread Peter Maydell
and > so ever so sparsely available. > > > The following changes since commit 44ee94e4862603c2b1b21718effc5f17b39f43bc: > > Merge remote-tracking branch 'remotes/borntraeger/tags/s390x-20150609' into > staging (2015-06-09 11:07:41 +0100) > > are available in

Re: [Qemu-devel] [PATCH 6/8] qcow2: add autoclear bit for dirty bitmaps

2015-06-09 Thread Stefan Hajnoczi
On Mon, Jun 08, 2015 at 06:21:24PM +0300, Vladimir Sementsov-Ogievskiy wrote: > diff --git a/block/qcow2.c b/block/qcow2.c > index 406e55d..f85a55a 100644 > --- a/block/qcow2.c > +++ b/block/qcow2.c > @@ -182,6 +182,14 @@ static int qcow2_read_extensions(BlockDriverState *bs, > uint64_t start_offs

Re: [Qemu-devel] [PATCH] block: record new size in bdrv_dirty_bitmap_truncate

2015-06-09 Thread John Snow
On 06/09/2015 05:24 AM, Kevin Wolf wrote: > Am 08.06.2015 um 22:49 hat John Snow geschrieben: >> ce1ffea8 neglected to update the BdrvDirtyBitmap structure >> itself for internal consistency. It's currently not an issue, >> but for migration and persistence series this will cause headaches. >> >>

Re: [Qemu-devel] [PATCH 6/8] qcow2: add autoclear bit for dirty bitmaps

2015-06-09 Thread Stefan Hajnoczi
On Mon, Jun 08, 2015 at 06:21:24PM +0300, Vladimir Sementsov-Ogievskiy wrote: > @@ -928,8 +936,9 @@ static int qcow2_open(BlockDriverState *bs, QDict > *options, int flags, > } > > /* Clear unknown autoclear feature bits */ > -if (!bs->read_only && !(flags & BDRV_O_INCOMING) && >

[Qemu-devel] CPU hot unplug support for x86_64

2015-06-09 Thread Eduardo Otubo
Hello all, I'm a little confused by all the email traffic I've seen on this list lately so I guess asking doesn't hurt: How's the current status regarding CPU hot unplug for x86_64? If there's any task left hanging for testing or debugging -- or even implementing something that is not done yet --

[Qemu-devel] [Bug 1463463] Re: PCI devices on PCI to PCI bridges stopped being accessable from Xen with QEMU 2.3.0

2015-06-09 Thread Don Slutz
Since Xen's tool stack does not know about PCI to PCI bridges, a config that shows this issue also requires the correct Linux kernel argument "pci=assign-busses" is used. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.la

[Qemu-devel] [Bug 1463463] [NEW] PCI devices on PCI to PCI bridges stopped being accessable from Xen with QEMU 2.3.0

2015-06-09 Thread Don Slutz
Public bug reported: The change set: commit 3996e85c1822e05c50250f8d2d1e57b6bea1229d Author: Paul Durrant Date: Tue Jan 20 11:06:19 2015 + Xen: Use the ioreq-server API when available ... Added calls to xen_map_pcidev() when available. However these call are only done at startup, n

Re: [Qemu-devel] [PATCH v5 2/2] OvmfPkg/PlatformPei: Initialise RCBA (B0:D31:F0 0xf0) register

2015-06-09 Thread Jordan Justen
Series Reviewed-by: Jordan Justen and committed. Thanks for the contribution! On 2015-06-08 17:16:14, Paulo Alcantara wrote: > This patch initialises root complex register block BAR in order to > support TCO watchdog emulation features (e.g. reboot upon NO_REBOOT bit > not set) on QEMU. > > Cont

Re: [Qemu-devel] [RFC PATCH] Use atomic cmpxchg to atomically check the exclusive value in a STREX

2015-06-09 Thread Alex Bennée
Mark Burton writes: >> On 9 Jun 2015, at 15:55, Alex Bennée wrote: >> >> >> Alex Bennée writes: >> >>> fred.kon...@greensocs.com writes: >>> From: KONRAD Frederic This mechanism replaces the existing load/store exclusive mechanism which seems to be broken for mu

Re: [Qemu-devel] [Qemu-block] [PATCH] raw-posix: Fix .bdrv_co_get_block_status() for unaligned image size

2015-06-09 Thread Stefan Hajnoczi
On Tue, Jun 09, 2015 at 10:55:08AM +0200, Kevin Wolf wrote: > Image files with an unaligned image size have a final hole that starts > at EOF, i.e. in the middle of a sector. Currently, *pnum == 0 is > returned when checking the status of this sector. In qemu-img, this > triggers an assertion failu

Re: [Qemu-devel] [PATCH v2 0/4] Fix device listener interface for PCI to PCI bridges

2015-06-09 Thread Don Slutz
On 06/09/15 10:27, Michael S. Tsirkin wrote: > On Tue, Jun 09, 2015 at 02:14:29PM +, Paul Durrant wrote: >>> -Original Message- >>> From: Michael S. Tsirkin [mailto:m...@redhat.com] >>> Sent: 09 June 2015 13:30 >>> To: Paul Durrant >>> Cc: Don Slutz; qemu-devel@nongnu.org; xen-de...@lis

Re: [Qemu-devel] [PATCH v2 1/3] cpu: Provide vcpu throttling interface

2015-06-09 Thread Jason J. Herne
On 06/09/2015 04:06 AM, Dr. David Alan Gilbert wrote: * Jason J. Herne (jjhe...@linux.vnet.ibm.com) wrote: On 06/03/2015 02:11 PM, Jason J. Herne wrote: On 06/03/2015 02:03 PM, Dr. David Alan Gilbert wrote: * Jason J. Herne (jjhe...@linux.vnet.ibm.com) wrote: On 06/03/2015 03:56 AM, Juan Quin

Re: [Qemu-devel] [PATCH v2 4/4] xen: Fix map/unmap of pcidev to ioreq server

2015-06-09 Thread Paul Durrant
> -Original Message- > From: Don Slutz [mailto:dsl...@verizon.com] > Sent: 09 June 2015 15:28 > To: Paul Durrant; Slutz, Donald Christopher; qemu-devel@nongnu.org; xen- > de...@lists.xen.org > Cc: Michael S. Tsirkin; Stefano Stabellini; Don Slutz > Subject: Re: [PATCH v2 4/4] xen: Fix map/u

Re: [Qemu-devel] [Bug 1463143] [NEW] Kernel Panic on Guest VM

2015-06-09 Thread Stefan Hajnoczi
On Mon, Jun 08, 2015 at 07:13:56PM -, ryan wrote: > Public bug reported: > > Hi, > > I've recently attempted to move a stack to qemu vm's that I have run > successfully on both hard metal and ec2. > > I'm not sure where to even begin debugging, could someone please point > me in the right di

Re: [Qemu-devel] [PATCH] RFC: qxl: allow to specify head limit to qxl driver

2015-06-09 Thread Frediano Ziglio
2015-06-09 10:43 GMT+01:00 Gerd Hoffmann : > On Di, 2015-06-09 at 10:26 +0100, Frediano Ziglio wrote: >> 2015-06-09 10:12 GMT+01:00 Gerd Hoffmann : >> > On Di, 2015-06-09 at 09:49 +0100, Frediano Ziglio wrote: >> >> This patch allow to limit number of heads using qxl driver. By default >> >> qxl dr

Re: [Qemu-devel] [ceph-users] rbd cache + libvirt

2015-06-09 Thread Stefan Hajnoczi
On Mon, Jun 08, 2015 at 07:49:15PM +0300, Andrey Korolyov wrote: > On Mon, Jun 8, 2015 at 6:50 PM, Jason Dillaman wrote: > > Hmm ... looking at the latest version of QEMU, it appears that the RBD > > cache settings are changed prior to reading the configuration file instead > > of overriding the

[Qemu-devel] [Bug 1463338] Re: qemu-system-arm injects #UND exception with wrong PC

2015-06-09 Thread Peter Maydell
Thanks for the clear bug report and the test case. I've submitted a patch which fixes this: http://patchwork.ozlabs.org/patch/482273/ -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1463338 Title: q

Re: [Qemu-devel] [PULL v2 0/9] Block patches

2015-06-09 Thread Stefan Hajnoczi
On Mon, Jun 08, 2015 at 10:13:05AM -0600, Eric Blake wrote: > On 06/08/2015 07:06 AM, Stefan Hajnoczi wrote: > > v2: > > * Add latest revision of Fam's mirror discard series [Fam] > > * Drop group throttling patch series due to Mac OS X test failure [Peter] > > There are still some design discus

[Qemu-devel] [PULL 5/9] tcg/optimize: remove opc argument from tcg_opt_gen_movi

2015-06-09 Thread Richard Henderson
From: Aurelien Jarno We can get the opcode using the TCGOp pointer. It needs to be dereferenced, but it's anyway done a few lines below to write the new value. Cc: Richard Henderson Signed-off-by: Aurelien Jarno Message-Id: <1433447607-31184-2-git-send-email-aurel...@aurel32.net> Signed-off-by

Re: [Qemu-devel] [PATCH 1/2] ACPI: Add definitions for the SPCR table

2015-06-09 Thread Michael S. Tsirkin
On Mon, Jun 08, 2015 at 10:00:49AM -0400, Andrew Jones wrote: > SPCR is the Serial Port Console Redirection table. See the document > linked from http://uefi.org/acpi. For serial port types, "Interface > Type", see the documentation for the Debug Port Table 2 (DBG2). > > Signed-off-by: Andrew Jone

[Qemu-devel] [PATCH] target-arm: Correct "preferred return address" for cpreg access exceptions

2015-06-09 Thread Peter Maydell
The architecture defines that when taking an exception trying to access a coprocessor register, the "preferred return address" for the exception is the address of the instruction that caused the exception. Correct an off-by-4 error which meant we were returning the address after the instruction for

Re: [Qemu-devel] [Qemu-block] [PATCH v2 0/2] block: driver should override flags in bdrv_open()

2015-06-09 Thread Stefan Hajnoczi
On Tue, Jun 9, 2015 at 12:49 PM, Eric Blake wrote: > On 06/09/2015 04:19 AM, Stefan Hajnoczi wrote: >> On Tue, Jun 09, 2015 at 10:59:42AM +0200, Kevin Wolf wrote: >>> Am 09.06.2015 um 10:41 hat Stefan Hajnoczi geschrieben: On Thu, Mar 19, 2015 at 6:53 PM, Max Reitz wrote: > BDRV_O_PROTOC

[Qemu-devel] [PULL 4/9] tcg: fix dead computation for repeated input arguments

2015-06-09 Thread Richard Henderson
From: Aurelien Jarno When the same temp is used twice or more as an input argument to a TCG instruction, the dead computation code doesn't recognize the second use as a dead temp. This is because the temp is marked as live in the same loop where dead inputs are checked. The fix is to split the l

Re: [Qemu-devel] should KVM or userspace be the one which decides what MIPIDR/affinity values to assign to vcpus?

2015-06-09 Thread Peter Maydell
On 9 June 2015 at 15:00, Marc Zyngier wrote: > > Yeah, what I had in mind was something along the lines of: > - kernel computes its "default MPDIR" > - kernel exposes a new capability "KVM_ARM_ALLOW_MPIDR_OVERRIDE" (or > something along those lines) > - userspace does the right thing. You forgot

[Qemu-devel] [PULL 0/9] tcg patch queue

2015-06-09 Thread Richard Henderson
ommit 44ee94e4862603c2b1b21718effc5f17b39f43bc: Merge remote-tracking branch 'remotes/borntraeger/tags/s390x-20150609' into staging (2015-06-09 11:07:41 +0100) are available in the git repository at: git://github.com/rth7680/qemu.git tags/pull-tcg-20150609 for you to fetc

Re: [Qemu-devel] [PATCH v5 2/2] OvmfPkg/PlatformPei: Initialise RCBA (B0:D31:F0 0xf0) register

2015-06-09 Thread Laszlo Ersek
On 06/09/15 02:16, Paulo Alcantara wrote: > This patch initialises root complex register block BAR in order to > support TCO watchdog emulation features (e.g. reboot upon NO_REBOOT bit > not set) on QEMU. > > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Paulo Alcantara

Re: [Qemu-devel] should KVM or userspace be the one which decides what MIPIDR/affinity values to assign to vcpus?

2015-06-09 Thread Marc Zyngier
On 09/06/15 15:01, Peter Maydell wrote: > On 9 June 2015 at 15:00, Marc Zyngier wrote: >> >> Yeah, what I had in mind was something along the lines of: >> - kernel computes its "default MPDIR" >> - kernel exposes a new capability "KVM_ARM_ALLOW_MPIDR_OVERRIDE" (or >> something along those lines) >

[Qemu-devel] [PULL 8/9] tcg/optimize: fold constant test in tcg_opt_gen_mov

2015-06-09 Thread Richard Henderson
From: Aurelien Jarno Most of the calls to tcg_opt_gen_mov are preceeded by a test to check if the source temp is a constant. Fold that into the tcg_opt_gen_mov function. Cc: Richard Henderson Signed-off-by: Aurelien Jarno Message-Id: <1433495958-9508-1-git-send-email-aurel...@aurel32.net> Sign

Re: [Qemu-devel] [PULL 00/12] audio patch queue

2015-06-09 Thread Peter Maydell
On 9 June 2015 at 15:13, Kővágó Zoltán wrote: > 2015-06-09 15:03 keltezéssel, Peter Maydell írta: >> >> >> ...and a further long list of errors which I assume are mostly >> run-on from not finding the header file. >> >> This looks like it's because configure is now using >> "dsound" by default rat

[Qemu-devel] [PULL 3/9] tcg: fix register allocation with two aliased dead inputs

2015-06-09 Thread Richard Henderson
From: Aurelien Jarno For TCG ops with two outputs registers (add2, sub2, div2, div2u), when the same input temp is used for the two inputs aliased to the two outputs, and when these inputs are both dead, the register allocation code wrongly assigned the same register to the same output. This hap

Re: [Qemu-devel] [PATCH v2 4/4] xen: Fix map/unmap of pcidev to ioreq server

2015-06-09 Thread Don Slutz
On 06/09/15 10:03, Paul Durrant wrote: >> -Original Message- >> From: Don Slutz [mailto:dsl...@verizon.com] >> Sent: 09 June 2015 14:51 >> To: Paul Durrant; Slutz, Donald Christopher; qemu-devel@nongnu.org; xen- >> de...@lists.xen.org >> Cc: Michael S. Tsirkin; Stefano Stabellini; Don Slutz

Re: [Qemu-devel] [PATCH v2 0/4] Fix device listener interface for PCI to PCI bridges

2015-06-09 Thread Michael S. Tsirkin
On Tue, Jun 09, 2015 at 02:14:29PM +, Paul Durrant wrote: > > -Original Message- > > From: Michael S. Tsirkin [mailto:m...@redhat.com] > > Sent: 09 June 2015 13:30 > > To: Paul Durrant > > Cc: Don Slutz; qemu-devel@nongnu.org; xen-de...@lists.xen.org; Stefano > > Stabellini > > Subject:

Re: [Qemu-devel] [PATCH v4 3/8] target-sh4: optimize addc using add2

2015-06-09 Thread Richard Henderson
On 06/04/2015 12:51 PM, Aurelien Jarno wrote: Signed-off-by: Aurelien Jarno --- target-sh4/translate.c | 11 --- 1 file changed, 4 insertions(+), 7 deletions(-) Reviewed-by: Richard Henderson r~

Re: [Qemu-devel] [PATCH] raw-posix: Fix .bdrv_co_get_block_status() for unaligned image size

2015-06-09 Thread Cole Robinson
On 06/09/2015 04:55 AM, Kevin Wolf wrote: > Image files with an unaligned image size have a final hole that starts > at EOF, i.e. in the middle of a sector. Currently, *pnum == 0 is > returned when checking the status of this sector. In qemu-img, this > triggers an assertion failure. > > In order

  1   2   3   >