[Qemu-devel] [PULL 29/59] pc: acpi: move MOU device from DSDT to SSDT

2016-01-08 Thread Michael S. Tsirkin
From: Igor Mammedov Signed-off-by: Igor Mammedov Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- hw/i386/acpi-build.c | 21 + hw/i386/acpi-dsdt-isa.dsl | 10 --

[Qemu-devel] [PULL 23/59] pc: acpi: cpuhp: move \_GPE._E02() into SSDT

2016-01-08 Thread Michael S. Tsirkin
From: Igor Mammedov Signed-off-by: Igor Mammedov Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- include/hw/acpi/cpu_hotplug.h | 1 + include/hw/acpi/pc-hotplug.h | 1 -

[Qemu-devel] [PULL 39/59] pc: acpi: piix4: move remaining PCI hotplug bits into SSDT

2016-01-08 Thread Michael S. Tsirkin
From: Igor Mammedov Signed-off-by: Igor Mammedov Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- hw/i386/acpi-build.c | 43 +++ hw/i386/acpi-dsdt.dsl |

[Qemu-devel] [PULL 26/59] pc: acpi: move DBUG() from DSDT to SSDT

2016-01-08 Thread Michael S. Tsirkin
From: Igor Mammedov Signed-off-by: Igor Mammedov Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- hw/i386/acpi-build.c | 36 hw/i386/acpi-dsdt-dbug.dsl

[Qemu-devel] [PULL 37/59] pc: acpi: piix4: move IQST() into SSDT

2016-01-08 Thread Michael S. Tsirkin
From: Igor Mammedov Signed-off-by: Igor Mammedov Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- hw/i386/acpi-build.c | 10 ++ hw/i386/acpi-dsdt.dsl | 9 - 2 files changed, 10

[Qemu-devel] [PULL 57/59] migration/virtio: Remove simple .get/.put use

2016-01-08 Thread Michael S. Tsirkin
From: "Dr. David Alan Gilbert" The 'virtqueue_state' and 'ringsize' can be saved using VMSTATE macros rather than hand coded .get/.put Signed-off-by: Dr. David Alan Gilbert Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S.

[Qemu-devel] [PULL 50/59] pc: acpi: q35: move PCI0._OSC() method into SSDT

2016-01-08 Thread Michael S. Tsirkin
From: Igor Mammedov Signed-off-by: Igor Mammedov Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- hw/i386/acpi-build.c | 56 ++

Re: [Qemu-devel] [PATCH 1/2] Add VMSTATE_STRUCT_VARRAY_KNOWN

2016-01-08 Thread Amit Shah
On (Wed) 06 Jan 2016 [12:23:38], Dr. David Alan Gilbert (git) wrote: > From: "Dr. David Alan Gilbert" > > At the moment we have VMSTATE_STRUCT_ARRAY that requires > the field is declared as an array of fixed size. > We also have VMSTATE_STRUCT_VARRAY_UINT* that allows > a

Re: [Qemu-devel] [PATCH 2/2] migration/virtio: Remove simple .get/.put use

2016-01-08 Thread Amit Shah
On (Wed) 06 Jan 2016 [12:23:39], Dr. David Alan Gilbert (git) wrote: > From: "Dr. David Alan Gilbert" > > The 'virtqueue_state' and 'ringsize' can be saved using VMSTATE > macros rather than hand coded .get/.put > > Signed-off-by: Dr. David Alan Gilbert

Re: [Qemu-devel] [PATCH] hmp: avoid redundant null termination of buffer

2016-01-08 Thread P J P
Hello, +-- On Fri, 8 Jan 2016, Wolfgang Bumiller wrote --+ | > if (!strncmp(keyname_buf, "<", 1) && keyname_len == 1) { | > pstrcpy(keyname_buf, sizeof(keyname_buf), "less"); | > -keyname_len = 4; | | keyname_buf is a char[16] so 4 will not overflow it. | |

[Qemu-devel] Qemu linux-user que

2016-01-08 Thread Riku Voipio
Hi, I've updated the linux-user que; https://git.linaro.org/people/riku.voipio/qemu.git/shortlog/refs/heads/linux-user-for-upstream If I've missed some reviewed patches or applied a wrong version of a patch, now is a good moment to tell me. I'm still testing the patches, but I aim to send a

[Qemu-devel] [PATCH 5/5] qmp: create QMP implementation of loadvm command

2016-01-08 Thread Denis V. Lunev
Unfortunately load_vmstate has a return code (int) and this code is checked in the other places. Thus we could not just rename it to qmp_loadvm as returns void. Signed-off-by: Denis V. Lunev CC: Juan Quintela CC: Amit Shah CC: Markus

[Qemu-devel] [PATCH 3/5] qmp: create qmp_delvm command

2016-01-08 Thread Denis V. Lunev
The patch also moves hmp_delvm implementation into hmp.c. This function is just a simple wrapper now and does not have knowledge about migration internals. Signed-off-by: Denis V. Lunev CC: Juan Quintela CC: Amit Shah CC: Markus

[Qemu-devel] [PULL 05/59] pc: acpi: memhp: prepare context in SSDT for moving memhp DSDT code

2016-01-08 Thread Michael S. Tsirkin
From: Igor Mammedov Signed-off-by: Igor Mammedov Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- include/hw/acpi/memory_hotplug.h| 4 hw/acpi/memory_hotplug_acpi_table.c | 30

[Qemu-devel] [PULL 11/59] pc: acpi: memhp: move MHPD.MOST method into SSDT

2016-01-08 Thread Michael S. Tsirkin
From: Igor Mammedov Signed-off-by: Igor Mammedov Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- hw/acpi/memory_hotplug_acpi_table.c | 15 +++ hw/i386/acpi-dsdt-mem-hotplug.dsl |

[Qemu-devel] [PULL 36/59] pc: acpi: piix4: move IQCR() into SSDT

2016-01-08 Thread Michael S. Tsirkin
From: Igor Mammedov Signed-off-by: Igor Mammedov Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- hw/i386/acpi-build.c | 20 hw/i386/acpi-dsdt.dsl | 11 --- 2 files

[Qemu-devel] [PULL 51/59] pc: acpi: q35: move PCI0 device definition into SSDT

2016-01-08 Thread Michael S. Tsirkin
From: Igor Mammedov Signed-off-by: Igor Mammedov Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- hw/i386/acpi-build.c | 14 +- hw/i386/q35-acpi-dsdt.dsl | 13 - 2

[Qemu-devel] [PULL 42/59] pc: acpi: q35: move link devices to SSDT

2016-01-08 Thread Michael S. Tsirkin
From: Igor Mammedov Signed-off-by: Igor Mammedov Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- hw/i386/acpi-build.c | 9 + hw/i386/q35-acpi-dsdt.dsl | 40

[Qemu-devel] [PULL 35/59] pc: acpi: pci: move link devices into SSDT

2016-01-08 Thread Michael S. Tsirkin
From: Igor Mammedov Signed-off-by: Igor Mammedov Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- hw/i386/acpi-build.c | 77 +++

Re: [Qemu-devel] [PATCH v2 1/9] s390x: add 2.6 compat machine

2016-01-08 Thread Christian Borntraeger
On 01/07/2016 02:36 PM, Cornelia Huck wrote: > New qemu version, new machine. > > Signed-off-by: Cornelia Huck Acked-by: Christian Borntraeger > --- > hw/s390x/s390-virtio-ccw.c | 18 -- > 1 file changed, 16 insertions(+), 2

[Qemu-devel] [PULL 1/2] ui/curses: Fix color attribute of monitor for curses

2016-01-08 Thread Gerd Hoffmann
From: OGAWA Hirofumi Current text_console_update() writes totally broken color attributes to console_write_ch(). The format now is writing, [WRONG] bold << 21 | fg << 12 | bg << 8 | char fg == 3bits curses color number bg == 3bits curses

[Qemu-devel] [PULL 2/2] sdl2/opengl: add opengl context and scanout support

2016-01-08 Thread Gerd Hoffmann
This allows virtio-gpu to render in 3d mode. Signed-off-by: Gerd Hoffmann Reviewed-by: Max Reitz --- include/ui/sdl2.h | 22 - ui/sdl2-gl.c | 135 ++ ui/sdl2.c | 7 +++ 3 files

[Qemu-devel] [PULL 0/2] ui patch queue

2016-01-08 Thread Gerd Hoffmann
/qemu tags/pull-ui-20160108-1 for you to fetch changes up to cb47dc9ab9f55083017291b2b8fbae639c576ec2: sdl2/opengl: add opengl context and scanout support (2016-01-08 12:20:15 +0100) sdl2/opengl: add opengl context and scanout

[Qemu-devel] [PATCH v4 0/5] QMP wrappers for VM snapshot operations

2016-01-08 Thread Denis V. Lunev
EFI based VM with pflash storage for NVRAM could not be snapshoted as libvirt configures storage as 'raw' and writable. OK, this is a libvirt problem. Another problem is that libvirt can not detect this failure at all as it uses HMP for this operation. This create snapshot/delete snapshot

[Qemu-devel] [PULL 19/59] pc: acpi: cpuhp: move CPEJ() method to SSDT

2016-01-08 Thread Michael S. Tsirkin
From: Igor Mammedov Signed-off-by: Igor Mammedov Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- include/hw/acpi/cpu_hotplug.h | 5 + hw/acpi/cpu_hotplug_acpi_table.c | 28

[Qemu-devel] [PULL 27/59] pc: acpi: move RTC device from DSDT to SSDT

2016-01-08 Thread Michael S. Tsirkin
From: Igor Mammedov Signed-off-by: Igor Mammedov Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- hw/i386/acpi-build.c | 26 ++ hw/i386/acpi-dsdt-isa.dsl | 9

[Qemu-devel] [PULL 13/59] pc: acpi: memhp: move MHPD.MCRS method into SSDT

2016-01-08 Thread Michael S. Tsirkin
From: Igor Mammedov Signed-off-by: Igor Mammedov Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- hw/acpi/memory_hotplug_acpi_table.c | 92 +

[Qemu-devel] [PULL 08/59] pc: acpi: memhp: move MHPD.MSCN method into SSDT

2016-01-08 Thread Michael S. Tsirkin
From: Igor Mammedov Signed-off-by: Igor Mammedov Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- hw/acpi/memory_hotplug_acpi_table.c | 60 +

[Qemu-devel] [PULL 33/59] pc: acpi: move PIIX4 isa-bridge and pm devices into SSDT

2016-01-08 Thread Michael S. Tsirkin
From: Igor Mammedov and also move PRQx fields declaration as it can't be split out into separate patch since fields use PCI0.ISA.P40C operation region and OperationRegion must be declared in the same table as a Field that uses it. If this condition is not statisfied Windows

Re: [Qemu-devel] [PATCH] arm64: kernel: fix PMUv3 registers unconditional access

2016-01-08 Thread Guenter Roeck
On Fri, Jan 08, 2016 at 12:54:27PM +, Lorenzo Pieralisi wrote: > The Performance Monitors extension is an optional feature of the > AArch64 architecture, therefore, in order to access Performance > Monitors registers safely, the kernel should detect the PMUv3 unit > presence through the

[Qemu-devel] [PULL 00/59] acpi dsdt rework, misc fixes

2016-01-08 Thread Michael S. Tsirkin
The following changes since commit 6bb9ead762bf749af11ea225fc2a74db1b93c105: Merge remote-tracking branch 'remotes/kraxel/tags/pull-ui-20160108-1' into staging (2016-01-08 12:50:19 +) are available in the git repository at: git://git.kernel.org/pub/scm/virt/kvm/mst/qemu.git tags

[Qemu-devel] [PULL 01/59] nvdimm: fix header pointer in nvdimm_build_nfit()

2016-01-08 Thread Michael S. Tsirkin
From: Haozhong Zhang In the current nvdimm_build_nfit(), the pointer 'header' initially equals to table_data->data + table_data->len. However, the following g_array_append_vals(table_data, structures->data, structures->len) may resize and relocate table_data->data[].

Re: [Qemu-devel] [PATCH 5/6] nvdimm acpi: let qemu handle _DSM method

2016-01-08 Thread Igor Mammedov
On Fri, 8 Jan 2016 12:01:54 +0800 Xiao Guangrong wrote: > On 01/07/2016 10:22 PM, Igor Mammedov wrote: > > On Tue, 5 Jan 2016 02:52:07 +0800 > > Xiao Guangrong wrote: > > > >> If dsm memory is successfully patched, we let qemu

[Qemu-devel] [PATCH 1/2] block: detach devices from DriveInfo at unrealize time

2016-01-08 Thread Paolo Bonzini
Instead of delaying blk_detach_dev and blockdev_auto_del until the object is finalized and properties are released, do that as soon as possible. This patch replaces blockdev_mark_auto_del calls with blk_detach_dev and blockdev_del_drive (the latter is a combination of the former

[Qemu-devel] [PATCH 2/2] block: remove legacy_dinfo at blk_detach_dev time

2016-01-08 Thread Paolo Bonzini
Currently, blockdev_del_drive does a blk_unref (and before it blockdev_auto_del did the same) that will cause blk_delete to be called and the DriveInfo to be freed. But really, we want to free the drive info as soon as the device is detached, even if there are other references for whatever

[Qemu-devel] [PULL 03/59] hw/i386: fill in the CENTURY field of the FADT (FACP) ACPI table

2016-01-08 Thread Michael S. Tsirkin
From: Laszlo Ersek The ACPI specification (minimally versions 1.0b through 6.0) define the FADT.CENTURY field as: The RTC CMOS RAM index to the century of data value (hundred and thousand year decimals). If this field contains a zero, then the RTC centenary feature is

Re: [Qemu-devel] [PATCH] arm64: kernel: fix PMUv3 registers unconditional access

2016-01-08 Thread Will Deacon
Hi Lorenzo, On Fri, Jan 08, 2016 at 12:54:27PM +, Lorenzo Pieralisi wrote: > The Performance Monitors extension is an optional feature of the > AArch64 architecture, therefore, in order to access Performance > Monitors registers safely, the kernel should detect the PMUv3 unit > presence

[Qemu-devel] [PATCH] pc: acpi: fix build fail on w32

2016-01-08 Thread Igor Mammedov
build fail with warnings on w32 compiler: hw/acpi/memory_hotplug_acpi_table.c: In function ‘build_memory_hotplug_aml’: hw/acpi/memory_hotplug_acpi_table.c:148: warning: integer constant is too large for ‘long’ type hw/acpi/memory_hotplug_acpi_table.c:149: warning: integer constant is too large

[Qemu-devel] [RFC 0/2] tcg-icount: Add and use tcg_set_insn_param to update tcg insn params

2016-01-08 Thread Edgar E. Iglesias
From: "Edgar E. Iglesias" Hi, On AArch64, when some load/stores trap under specific conditions, a set of detailed info describing the insn is provided to the trap handler (e.g size of the access, target registers, insn-length mode etc). This specific info is known at

Re: [Qemu-devel] [PATCH v2] target-mips: Fix ALIGN instruction when bp=0

2016-01-08 Thread Leon Alrae
Hi Miodrag, Thanks for the fix; I've applied it to the target-mips queue (in future please send patches inline). Thanks, Leon On 04/01/16 15:52, Miodrag Dinic wrote: > Hello Aurelien, > > thanks for your comments and review. > Version 2 of the patch is in the attachment. > > Diff between

Re: [Qemu-devel] [PATCH 1/5] migration: split hmp_savevm to do_savevm and hmp_savevm wrapper

2016-01-08 Thread Denis V. Lunev
On 01/08/2016 07:14 PM, Eric Blake wrote: On 01/08/2016 04:27 AM, Denis V. Lunev wrote: /* Delete old snapshots of the same name */ if (name && bdrv_all_delete_snapshot(name, , _err) < 0) { -monitor_printf(mon, - "Error while deleting snapshot on

[Qemu-devel] [RFC PATCH 1/3] tb-annotation: Added annotation XML file parser

2016-01-08 Thread Peer Adelt
The XML file contains a control flow graph, where each edge is annotated with a context-dependent value. The parser reads this information into a data structure within CPUState. Signed-off-by: Peer Adelt --- include/qom/cpu.h| 9 ++

[Qemu-devel] [RFC PATCH 2/2] softmmu: simplify helper_*_st_name with smmu_helper(do_unl_store)

2016-01-08 Thread Alex Bennée
From: Alvise Rigo Attempting to simplify the helper_*_st_name, wrap the do_unaligned_access code into an shared inline function. As this also removes the goto statement the inline code is expanded twice in each helper. Suggested-by: Jani Kokkonen

[Qemu-devel] [RFC 2/2] gen-icount: Use tcg_set_insn_param

2016-01-08 Thread Edgar E. Iglesias
From: "Edgar E. Iglesias" Use tcg_set_insn_param() instead of directly accessing internal tcg data structures to update an insn param. Signed-off-by: Edgar E. Iglesias --- include/exec/gen-icount.h | 16 1 file changed, 8

[Qemu-devel] [RFC 1/2] tcg: Add tcg_set_insn_param

2016-01-08 Thread Edgar E. Iglesias
From: "Edgar E. Iglesias" Add tcg_set_insn_param as a mechanism to modify an insn parameter after emiting the insn. This is useful for icount and also for embedding fault information for a specific insn. Signed-off-by: Edgar E. Iglesias ---

Re: [Qemu-devel] [RFC 0/2] tcg-icount: Add and use tcg_set_insn_param to update tcg insn params

2016-01-08 Thread Richard Henderson
On 01/08/2016 08:25 AM, Edgar E. Iglesias wrote: > To do so, we'd need to first emit the insn_start and then after translating > the > given target-insn, update the insn_start parameters with the decoded insn > details. Fair enough. > Any thoughts on this approach? Or ideas on better options to

Re: [Qemu-devel] [PATCH v4 1/5] Use qemu_strtoul instead of strtol

2016-01-08 Thread Eric Blake
On 01/08/2016 01:37 AM, Cao jin wrote: > strtol() don`t guarantee errno to be ERANGE on overflow. I stand slightly corrected: C99 requires ERANGE on overflow, but not EINVAL; it is POSIX that adds EINVAL, but does not properly require it. At any rate, my main point was that errno is not always

[Qemu-devel] [RFC PATCH 0/2] Early release of -drive QemuOpts

2016-01-08 Thread Paolo Bonzini
In short, this patch gets rid of blockdev_mark_auto_del and blockdev_auto_del. With these patches, it is possible to create a new -drive with the same id as soon as the DEVICE_DELETED event is delivered (which equals to unrealize). I'm sorry I'm not able to explain the history (and probably do

Re: [Qemu-devel] Block I/O Tracing

2016-01-08 Thread Luis Pabon
Great summary Stefan. I think you are correct, and it is definitely non-trivial to get the accuracy of the trace as close as possible to real-world timings. Sometimes, like in the block driver IO responses or caching algorithm studies, having the IO trace of an application be 'close' enough

[Qemu-devel] [PATCH] serial: transmit within the programmed baud rate

2016-01-08 Thread Paolo Bonzini
Code for throttling the serial port was removed by upstream commit fcfb4d6 ("serial: add flow control to transmit", 2013-03-05). Add it back. The only non-obvious change is that tsr_retry can now become nonzero also in loopback mode, so the assignment is moved out of the "if". Signed-off-by:

[Qemu-devel] [RFC PATCH 0/2] Attempt to clean-up softmmu templates

2016-01-08 Thread Alex Bennée
Hi, While reviewing Alvise's LL/SC patches we were discussing how to avoid duplication in some of the re-factoring work. The softmmu_template.h code has a lot of duplication in due to BE and LE helpers. By pushing code into an inline helper we can let the compiler do the hard work of optimising

Re: [Qemu-devel] [PATCH 1/6] virtio-net: use the backend cross-endian capabilities

2016-01-08 Thread Greg Kurz
On Fri, 8 Jan 2016 16:25:18 +0100 Laurent Vivier wrote: > > > On 08/01/2016 15:19, Greg Kurz wrote: > > On Thu, 7 Jan 2016 19:32:37 +0100 > > Laurent Vivier wrote: > >> > > > > Sorry for the late answer to this one, I got diverted :) > > > >> > >> On

Re: [Qemu-devel] [PATCH] Add optionrom compatible with fw_cfg DMA version

2016-01-08 Thread Marc Marí
On Fri, 8 Jan 2016 16:54:07 +0100 Paolo Bonzini wrote: > > > On 08/01/2016 15:58, Marc Marí wrote: > > > > +static inline uint16_t readw_addr32(const void *addr) { > > +uint16_t val; > > +asm("addr32 movw %1, %0" : "=r"(val) : "g"(addr)); > > +barrier(); > > +

Re: [Qemu-devel] [PATCH] arm64: kernel: fix PMUv3 registers unconditional access

2016-01-08 Thread Lorenzo Pieralisi
On Fri, Jan 08, 2016 at 03:33:00PM +, Will Deacon wrote: [...] > > /* EL2 debug */ > > + mrs x0, id_aa64dfr0_el1 // Check ID_AA64DFR0_EL1 PMUVer > > + ubfxx0, x0, #8, #4 > > + cmp x0, #1 > > + b.ne4f // Skip if no PMUv3

Re: [Qemu-devel] [PATCH] ether/slirp: Avoid redefinition of the same constants

2016-01-08 Thread Alex Bennée
Dr. David Alan Gilbert (git) writes: > From: "Dr. David Alan Gilbert" > > eth.h and slirp.h both define ETH_ALEN and ETH_P_IP > rtl8139.c and eth.h both define ETH_HLEN > > Move the related constant (ETH_P_ARP) from slirp.h to eth.h, and > remove the

Re: [Qemu-devel] [PATCH 1/6] virtio-net: use the backend cross-endian capabilities

2016-01-08 Thread Laurent Vivier
On 08/01/2016 15:19, Greg Kurz wrote: > On Thu, 7 Jan 2016 19:32:37 +0100 > Laurent Vivier wrote: >> > > Sorry for the late answer to this one, I got diverted :) > >> >> On 07/01/2016 12:32, Greg Kurz wrote: >>> When running a fully emulated device in cross-endian

Re: [Qemu-devel] How to reserve guest physical region for ACPI

2016-01-08 Thread Igor Mammedov
On Fri, 8 Jan 2016 12:21:09 +0800 Xiao Guangrong wrote: > On 01/07/2016 05:21 PM, Igor Mammedov wrote: > > On Wed, 6 Jan 2016 01:07:45 +0800 > > Xiao Guangrong wrote: > > > >> On 01/06/2016 12:43 AM, Michael S. Tsirkin wrote: >

Re: [Qemu-devel] [PATCH] Add optionrom compatible with fw_cfg DMA version

2016-01-08 Thread Paolo Bonzini
On 08/01/2016 17:05, Marc Marí wrote: >> > Do you even need to go to 32-bit mode? The only reason to do so in >> > the original ROM was to do a "rep insb" above 1 GB, but here fw_cfg >> > can do DMA to high addresses for you. > There's no need of course. I was looking at the original ROM and I

Re: [Qemu-devel] [PATCH 1/2] nbd: Interface tweak of nbd_client_new

2016-01-08 Thread Daniel P. Berrange
On Wed, Dec 30, 2015 at 01:49:25PM +0800, Fam Zheng wrote: > In preparation for an async implementation, introduce a callback and > move the shutdown/close to the function. > > Signed-off-by: Fam Zheng > --- > blockdev-nbd.c | 5 ++--- > include/block/nbd.h | 6 -- >

[Qemu-devel] [PATCH] qapi: Update docs to match recent generated changes, part 2

2016-01-08 Thread Eric Blake
[Either worth squashing into a single patch with the posted v8 14.5/35 and sinking it to the end of the series, or else splitting it into pieces and squashing per patch that makes a change to generated output] Signed-off-by: Eric Blake --- v9: new patch ---

[Qemu-devel] [RFC PATCH 0/3] TranslationBlock annotation mechanism

2016-01-08 Thread Peer Adelt
Hey guys We have developed a generic concept to annotate TranslationBlocks during runtime. The initial idea was to use it for time annotation with data from static analysis tools. However, we have kept this approach as generic as possible to allow other kinds of annotation (e.g. power

[Qemu-devel] [RFC PATCH 3/3] tb-annotation: Activate annotation extension

2016-01-08 Thread Peer Adelt
This changeset activates the TranslationBlock annotation mechanism for the QEMU system mode. Signed-off-by: Peer Adelt --- Makefile| 5 +++-- Makefile.objs | 4 Makefile.target | 4 +++- configure | 13

[Qemu-devel] [RFC PATCH 2/3] tb-annotation: Add control flow graph mapper

2016-01-08 Thread Peer Adelt
Added helper function at the start of every TranslationBlock that maps the sequence of static basic blocks (obtained from the XML file) to the current TranslationBlock. The helper also accumulates the values that are annotated on the corresponding edges of the control flow graph. Signed-off-by:

Re: [Qemu-devel] [PATCH] hmp: avoid redundant null termination of buffer

2016-01-08 Thread P J P
+-- On Fri, 8 Jan 2016, Wolfgang Bumiller wrote --+ | On Fri, Jan 08, 2016 at 07:29:31PM +0530, P J P wrote: | > + if (!strncmp(keyname_buf, "<-", 2)) | > and remove the 'keyname_len' altogether. | | This wouldn't catch '<' without '-'. (`sendkey <`) | Also, strncmp with a length of 1 (in the

Re: [Qemu-devel] [PATCH 1/3] sun4u: split out NPT and INT_DIS into separate CPUTimer fields

2016-01-08 Thread Mark Cave-Ayland
On 08/01/16 14:55, Peter Maydell wrote: > On 8 January 2016 at 14:34, Mark Cave-Ayland > wrote: >> I'm not particularly worried about sun4u for the moment as there are >> already other reasons why migration would fail, e.g. no >> VMStateDescription for storing PCI

[Qemu-devel] [RFC PATCH 1/2] softmmu_template: add smmu_helper, convert VICTIM_TLB_HIT

2016-01-08 Thread Alex Bennée
This lays the ground work for a re-factoring of the softmmu template code. The patch introduces inline "smmu_helper" functions where common (or almost common) code can be placed. Arguments that the compiler picks up as constant can then be used to eliminate legs of code in the inline fragments.

Re: [Qemu-devel] [PATCH] Add optionrom compatible with fw_cfg DMA version

2016-01-08 Thread Paolo Bonzini
On 08/01/2016 15:58, Marc Marí wrote: > > +static inline uint16_t readw_addr32(const void *addr) { > +uint16_t val; > +asm("addr32 movw %1, %0" : "=r"(val) : "g"(addr)); > +barrier(); > +return val; > +} > + Does SeaBIOS ensure that DS base is zero here? > +static void

Re: [Qemu-devel] [PATCH 1/5] migration: split hmp_savevm to do_savevm and hmp_savevm wrapper

2016-01-08 Thread Eric Blake
On 01/08/2016 04:27 AM, Denis V. Lunev wrote: >>> /* Delete old snapshots of the same name */ >>> if (name && bdrv_all_delete_snapshot(name, , _err) < >>> 0) { >>> -monitor_printf(mon, >>> - "Error while deleting snapshot on device >>> '%s': %s\n", >>>

Re: [Qemu-devel] [PULL 00/59] acpi dsdt rework, misc fixes

2016-01-08 Thread Peter Maydell
On 8 January 2016 at 15:08, Michael S. Tsirkin <m...@redhat.com> wrote: > The following changes since commit 6bb9ead762bf749af11ea225fc2a74db1b93c105: > > Merge remote-tracking branch 'remotes/kraxel/tags/pull-ui-20160108-1' into > staging (2016-01-08 12:50:19 +)

Re: [Qemu-devel] [PATCH 3/6] nvdimm acpi: introduce patched dsm memory

2016-01-08 Thread Igor Mammedov
On Fri, 8 Jan 2016 11:40:53 +0800 Xiao Guangrong wrote: > On 01/07/2016 07:04 PM, Igor Mammedov wrote: > > On Wed, 6 Jan 2016 23:39:04 +0800 > > Xiao Guangrong wrote: > > > >> On 01/06/2016 11:23 PM, Igor Mammedov wrote: > >>>

<    1   2   3