From: Igor Mammedov
most of MEMORY_foo defines are not shared
with ASL anymore and are used only inside of
memory_hotplug_acpi_table.c, so move them
there and make them strings. As result we
can replace stringify(MEMORY_foo) with just
MEMORY_foo, which makes code a bit cleaner.
No AML change int
From: Igor Mammedov
Signed-off-by: Igor Mammedov
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
include/hw/acpi/aml-build.h | 2 ++
include/hw/acpi/cpu_hotplug.h | 1 +
include/hw/acpi/pc-hotplug.h | 1 +
hw/acpi/cpu_hotplug_acpi_table.c | 64
From: Igor Mammedov
before consolidating memhp code in memory_hotplug_acpi_table.c
and for simplifying review, first factor out memhp code into
new function build_memory_devices() in i386/acpi-build.c
Signed-off-by: Igor Mammedov
PS:
no functional change, only code movement.
Reviewed-by
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 | 2 ++
hw/acpi/cpu_hotplug_acpi_table.c | 23 +++
hw/i386/acpi-build.c | 5 +++--
hw/i386/acpi-dsdt-cpu
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 conditions, including
> > a virtio 1.0 device offered to a big endian guest, we
From: Igor Mammedov
move remnants of MHPD device from DSDT into SSDT.
i.e. Device(MHPD), _UID, _HID
Signed-off-by: Igor Mammedov
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
hw/acpi/memory_hotplug_acpi_table.c | 6 +-
hw/i386/acpi-dsdt-mem-hotplug.dsl | 7
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 | 13 +
hw/i386/acpi-dsdt-mem-hotplug.dsl | 8
2 files changed, 13 insertions(+), 8 deletions(-)
diff --git a/hw/
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 +
hw/acpi/cpu_hotplug_acpi_table.c | 22 ++
hw/i386/acpi-build.c | 3 ++-
hw/i386/acpi-dsdt-cpu-hot
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-isa.dsl | 16
2 files changed, 36 insertions(+), 16 deletions(-)
diff
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
hw/i386/acpi-build.c | 3 ++-
hw/acpi/Makefil
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 -
2 files changed, 26 insertions(+), 9 deletions(-)
diff --git a/hw/i386/a
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 +
hw/i386/acpi-dsdt-mem-hotplug.dsl | 72 -
2 files changed, 92 in
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 +
hw/i386/acpi-dsdt-mem-hotplug.dsl | 27 +
2 files changed, 61 insertions(+),
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
will BSOD ans IASL (ma
From: Igor Mammedov
Signed-off-by: Igor Mammedov
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
hw/i386/acpi-build.c | 174 ---
1 file changed, 94 insertions(+), 80 deletions(-)
diff --git a/hw/i386/acpi-build.c b/hw/i386
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 --
2 files changed, 21 insertions(+), 10 deletions(-)
diff --git a/hw/i386/acpi
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 -
hw/acpi/cpu_hotplug_acpi_table.c | 2 +-
hw/i386/acpi-build.c | 12
From: Igor Mammedov
Signed-off-by: Igor Mammedov
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
hw/i386/acpi-build.c | 40
hw/i386/acpi-dsdt-isa.dsl | 18 --
2 files changed, 40 insertions(+), 18 deletions(-)
From: Igor Mammedov
leave Scope(\_SB) definition in DSDT so that iasl
would be able to compile DSDT since we are still
need definition block for table.
After Q35 ASL is converted, DSDT templates will
be completly replaced by AML API generated tables.
Signed-off-by: Igor Mammedov
Reviewed-by: Mi
From: Igor Mammedov
Signed-off-by: Igor Mammedov
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
include/hw/timer/hpet.h| 1 +
hw/i386/acpi-build.c | 53 ++
hw/timer/hpet.c| 2 +-
hw/i386/acpi-dsdt-hpet.
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/q35-acpi-dsdt.dsl | 8
2 files changed, 15 insertions(+), 19 deletions(-)
diff --git a/hw/i386/a
From: Tetsuya Mukawa
If virtio-net driver allocates memory in ivshmem shared memory,
vhost-net will work correctly, but vhost-user will not work because
a fd of shared memory will not be sent to vhost-user backend.
This patch fixes ivshmem to store file descriptor of shared memory.
It will be use
From: Igor Mammedov
Signed-off-by: Igor Mammedov
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
hw/i386/acpi-build.c | 22 ++
hw/i386/acpi-dsdt-isa.dsl | 12
2 files changed, 22 insertions(+), 12 deletions(-)
diff --git a/hw/i386/a
From: Igor Mammedov
Signed-off-by: Igor Mammedov
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
hw/i386/acpi-build.c | 48 +++
hw/i386/acpi-dsdt-isa.dsl | 52 ---
hw/i386/acpi-dsdt.
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/q35-acpi-dsdt.dsl | 12
2 files changed, 21 insertions(+), 12 deletions(-)
diff --git a/hw/i386/ac
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 field declared as a pointer, but requires that the length
is a field member in the structure being loaded
From: Igor Mammedov
Signed-off-by: Igor Mammedov
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
hw/i386/acpi-build.c | 30 +-
hw/i386/acpi-dsdt.dsl | 40
hw/i386/q35-acpi-dsdt.dsl | 36 ---
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 insertions(+), 9 deletions(-)
diff --git a/hw/i386/acpi-build.c b/hw/i386/ac
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 | 40
2 files changed, 43 insertions(+)
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 | 41 -
hw/i386/acpi-dsdt.dsl |
On Fri, Jan 08, 2016 at 07:29:31PM +0530, P J P wrote:
> +-- On Fri, 8 Jan 2016, Wolfgang Bumiller wrote --+
> | Ah yes, how could I miss that. Maybe just add a min() around the
> | keyname_len computation?
> |
> | - keyname_len = separator ? separator - keys : strlen(keys);
> | + keyname_len = MI
From: Igor Mammedov
Signed-off-by: Igor Mammedov
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
hw/i386/acpi-build.c | 47 +++
hw/i386/q35-acpi-dsdt.dsl | 34 --
2 files changed, 55 inserti
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 changed, 20 insertions(+), 11 deletions(-)
diff --git a/hw/i386/acpi-build.c
hi all
I recently pursued Linux IO stack and dove into kernel source code. that is
when a user programm calls read or write syscall some functions will be
called to finally make a io request and send it to device drivers and
compelete io request.
in this path which is known as Life of IO request i
On 08/01/16 14:05, Peter Maydell wrote:
> On 13 November 2015 at 17:54, Mark Cave-Ayland
> wrote:
>> Currently there is confusion between use of these bits for the timer and
>> timer
>> compare registers (while they both have the same value, the behaviour is
>> different). Split into two separat
From: Igor Mammedov
Signed-off-by: Igor Mammedov
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
hw/i386/acpi-build.c | 61 +++
hw/i386/q35-acpi-dsdt.dsl | 57 ---
2 files changed, 6
From: Igor Mammedov
PCI routing table for expander buses is build with help
of build_prt() using AML API. And it's almost the same
as PRT for PCI0 bus except of power-management device.
So make existing build_prt() build PRT table for PCI0
bus as well.
Signed-off-by: Igor Mammedov
Reviewed-by:
From: Igor Mammedov
Signed-off-by: Igor Mammedov
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
hw/i386/acpi-build.c | 2 ++
hw/i386/q35-acpi-dsdt.dsl | 79 ---
2 files changed, 2 insertions(+), 79 deletions(-)
diff --g
From: Igor Mammedov
Signed-off-by: Igor Mammedov
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
hw/i386/acpi-build.c | 54 +++
hw/i386/q35-acpi-dsdt.dsl | 46
2 files changed, 54 i
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/q35-acpi-dsdt.dsl | 5 -
2 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/hw/i386/acpi-build.c b/hw/i38
From: Igor Mammedov
Signed-off-by: Igor Mammedov
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
hw/i386/acpi-build.c | 8
hw/i386/q35-acpi-dsdt.dsl | 10 --
2 files changed, 8 insertions(+), 10 deletions(-)
diff --git a/hw/i386/acpi-build.c b/hw/
From: Roman Kagan
Factor out and expose the function to locate the floppy controller in
the system.
It will allow to dynamically populate the relevant objects in the ACPI
tables.
Signed-off-by: Roman Kagan
Cc: "Michael S. Tsirkin"
Cc: Eduardo Habkost
Cc: Igor Mammedov
Cc: John Snow
Cc: Kevi
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 ++
hw/i386/q35-acpi-dsdt.dsl | 57 ---
2 files changed
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. Tsirkin
Reviewed-by: Amit Shah
---
hw/virtio/virtio.c | 87 +
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 files changed, 9 insertions(+), 18 deletions(-)
diff --git a/hw/i386/acpi-buil
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
2 files changed, 17 insertions(+), 32 deletions(-)
diff --
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 +++
hw/i386/acpi-dsdt.dsl | 49
2 files changed, 82 insertions(+)
On 08/01/16 02:47, Alexey Kardashevskiy wrote:
> On 01/07/2016 05:22 AM, Mark Cave-Ayland wrote:
>> During local testing with TCG, intermittent errors were found when
>> trying to
>> migrate Darwin OS images.
>>
>> The underlying cause was that Darwin resets the decrementer value to
>> fairly
>> s
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 duplicates; make slirp.h include eth.h
Signed-off-by: Dr. David Alan Gilbert
---
hw/net/rtl81
From: Cornelia Huck
There's no such thing as "PCI queues" in the virtio core.
Signed-off-by: Cornelia Huck
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
hw/virtio/virtio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/virtio/virtio.c b/hw/virt
From: Igor Mammedov
Signed-off-by: Igor Mammedov
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
hw/i386/acpi-build.c | 51 ++-
hw/i386/q35-acpi-dsdt.dsl | 9 -
2 files changed, 33 insertions(+), 27 deletions(-)
From: Igor Mammedov
Signed-off-by: Igor Mammedov
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
hw/i386/acpi-build.c | 235 +--
1 file changed, 115 insertions(+), 120 deletions(-)
diff --git a/hw/i386/acpi-build.c b/hw/i3
From: Igor Mammedov
QEMU now uses internally composed DSDT so drop now
empty *.dsl templates and related *.generated
binary blobs.
Also since templates are not used anymore/obolete
remove utility scripts used for extracting/patching
AML blobs compiled by IASL and for updating them
in git tree.
On Thu, Jan 7, 2016 at 10:09 AM, Peter Maydell wrote:
> On 20 December 2015 at 20:51, Peter Crosthwaite
> wrote:
>> On Sun, Dec 20, 2015 at 9:10 AM, Peter Maydell
>> wrote:
>>> For user-level back compat I think we need to retain "might have
>>> an sdcard object with no block backend, and that
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 interrupt state in the apb host bridge.
>
> Last time I checked sun4m migration
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 ID_AA64
This optionrom is based on linuxboot.S.
Signed-off-by: Marc Marí
---
.gitignore| 4 +
hw/i386/pc.c | 9 +-
hw/nvram/fw_cfg.c | 2 +-
include/hw/nvram/fw_cfg.h | 1 +
pc-bios/optionrom/Makefile| 8 +-
pc-bios/o
On 01/08/2016 03:03 PM, Laurent Vivier wrote:
> I think you can add the ones from Adrian:
>
> [PATCH 1/2] linux-user: Update m68k syscall definitions to match Linux 4.4.
> [PATCH 2/2] linux-user: Add SOCKOP_sendmmsg and SOCKOP_recvmmsg socket
> call, wire them up.
Oh, I'd really appreciate that a
On 8 January 2016 at 14:19, Michael S. Tsirkin wrote:
> The following changes since commit 5dc42c186d63b7b338594fc071cf290805dcc5a5:
>
> Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request'
> into staging (2015-12-22 14:21:42 +)
>
> are available in the git repository at:
From: Cao jin
Fix the bug introduced by 595a4f07: function host_pci_config_read() should be
pass-by-reference, not value.
This probably means this function never worked for anyone.
Signed-off-by: Cao jin
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
hw/pci-host/piix.c
On 12/29/2015 10:59 AM, Mark Cave-Ayland wrote:
> If there are explicit bug-fixes related to above then my preference
> would be to have them as a separate patchset outside of the performance
> improvements, but then if this isn't feasible then I don't feel that
> this should block getting this pat
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/qem
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 not supported. If thi
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[]. Therefore, the usage of 'head
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 interrupt state in the apb host
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 conditions, including
>>> a v
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 could
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 throug
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: Pao
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 aw
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
Suggested-by: Claudio Fontana
CC: Alvise Rigo
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.
Th
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 transiti
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:
> >>
> > Yes - if address is static, you need to put it outsid
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 07/01/2016 12:32, Greg Kurz wrote:
> >>>
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();
> > +return val;
> > +}
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 fully emulate
> >> the dsm method
> >>
> >> This patch saves _DSM
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, &bs1, &local_err) <
>>> 0) {
>>> -monitor_printf(mon,
>>> - "Error while deleting snapshot on device
>>> '%s': %s
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 d
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 pres
On 8 January 2016 at 15:08, Michael S. Tsirkin 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 +)
>
> are availa
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 --
> nbd.c
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 duplicates; make slirp.h include eth.h
Revi
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 translation time and Peter s
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 insertions(+), 8 deletions(-)
diff --git a/include/exe
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
---
tcg/tcg.h | 6 ++
1 file changed, 6 insertions(+)
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 versi
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, &bs1, &local_err) <
0) {
-monitor_printf(mon,
- "Error while deleting snap
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
[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
---
docs/qapi-code-gen.txt | 51 +
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 ++
include/tb-annotation/tb-annotati
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 consumption
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-op
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: Pe
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:
> >>> On Tue, 5 Jan 2016 02:52:05 +0800
> >>> Xiao Guangrong wrote:
>
+-- 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 or
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 for
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 no
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 pr
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
blockdev_mark_auto
1 - 100 of 270 matches
Mail list logo