From: Shannon Zhao
Move some common definitions to virt.h. These will be used by
generating ACPI tables.
Signed-off-by: Shannon Zhao
Signed-off-by: Shannon Zhao
---
hw/arm/virt.c | 21 +--
include/hw/arm/virt.h | 56 +++
From: Shannon Zhao
To generate ACPI table for PCIe controller, we need the base and size of
the PCIe ranges. Record these ranges in MemMapEntry array, then we could
share and use them for generating ACPI table.
Signed-off-by: Shannon Zhao
Signed-off-by: Shannon Zhao
---
hw/arm/virt.c
From: Shannon Zhao
Signed-off-by: Shannon Zhao
Signed-off-by: Shannon Zhao
Reviewed-by: Alex Bennée
---
hw/acpi/aml-build.c | 11 +++
include/hw/acpi/aml-build.h | 1 +
2 files changed, 12 insertions(+)
diff --git a/hw/acpi/aml-build.c b/hw/acpi/aml-build.c
index d62c2b3..de
From: Shannon Zhao
Signed-off-by: Shannon Zhao
Signed-off-by: Shannon Zhao
---
hw/acpi/aml-build.c | 18 ++
include/hw/acpi/aml-build.h | 1 +
2 files changed, 19 insertions(+)
diff --git a/hw/acpi/aml-build.c b/hw/acpi/aml-build.c
index 238d6a3..360023a 100644
--- a/
From: Shannon Zhao
This patch series generate seven ACPI tables for machine virt on ARM.
The set of generated tables are:
- RSDP
- RSDT
- MADT
- GTDT
- FADT
- DSDT
- MCFG (For PCIe host bridge)
These tables are created dynamically using the function of aml-build.c,
taking into account the needed
From: Shannon Zhao
Signed-off-by: Shannon Zhao
Signed-off-by: Shannon Zhao
Reviewed-by: Alex Bennée
---
hw/acpi/aml-build.c | 18 ++
include/hw/acpi/aml-build.h | 5 +
2 files changed, 23 insertions(+)
diff --git a/hw/acpi/aml-build.c b/hw/acpi/aml-build.c
index
** Summary changed:
- remote usbredirection failed, when guest os has more than one vcpus
+ remote usb3.0 redir failed, when guest os has more than one vcpus
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/
Am 13.05.2015 um 23:47 schrieb Michael S. Tsirkin:
> On Wed, May 13, 2015 at 08:57:00PM +0200, Christian Borntraeger wrote:
>> Am 13.05.2015 um 18:14 schrieb Michael S. Tsirkin:
- AFAICS, there's no easy way to add transport-specific subsections -
and simply adding config_vector in ccw
From: Shannon Zhao
MADT describes GIC enabled ARM platforms. The GICC and GICD
subtables are used to define the GIC regions.
Signed-off-by: Shannon Zhao
Signed-off-by: Shannon Zhao
Reviewed-by: Alex Bennée
---
hw/arm/virt-acpi-build.c | 57
in
From: Shannon Zhao
Add aml_interrupt() for describing device interrupt in resource template.
These can be used to generating DSDT table for ACPI on ARM.
Signed-off-by: Shannon Zhao
Signed-off-by: Shannon Zhao
---
hw/acpi/aml-build.c | 23 +
include/hw/acpi/aml-buil
From: Shannon Zhao
RSDP points to RSDT which in turn points to other tables.
Signed-off-by: Shannon Zhao
Signed-off-by: Shannon Zhao
Reviewed-by: Alex Bennée
---
hw/arm/virt-acpi-build.c | 35 ++-
1 file changed, 34 insertions(+), 1 deletion(-)
diff --git a/h
From: Shannon Zhao
DSDT consists of the usual common table header plus a definition
block in AML encoding which describes all devices in the platform.
After initializing DSDT with header information the namespace is
created which is followed by the device encodings. The devices are
described usi
From: Shannon Zhao
ACPI v5.1 defines GTDT for ARM devices as a place to describe timer
related information in the system. The Arch Timer interrupts must
be provided for GTDT.
Signed-off-by: Shannon Zhao
Signed-off-by: Shannon Zhao
---
hw/arm/virt-acpi-build.c| 29 +
From: Shannon Zhao
Generate MCFG table for PCIe controller.
Signed-off-by: Shannon Zhao
Signed-off-by: Shannon Zhao
---
hw/arm/virt-acpi-build.c | 23 +++
1 file changed, 23 insertions(+)
diff --git a/hw/arm/virt-acpi-build.c b/hw/arm/virt-acpi-build.c
index 19ba69e..80d4
From: Shannon Zhao
As core.c, piix4.c, ich9.c and pcihp.c are for x86, add CONFIG_ACPI_X86
to make it only for x86. ARM doesn't support cpu and memory hotplug, add
CONFIG_ACPI_CPU_HOTPLUG and CONFIG_ACPI_MEMORY_HOTPLUG to make them
exclusive for target-arm.
Signed-off-by: Shannon Zhao
Signed-of
From: Shannon Zhao
In the case of mach virt, it is used to set the Hardware Reduced bit
and enable PSCI SMP booting through HVC. So ignore FACS and FADT
points to DSDT.
Update the header definitions for FADT taking into account the new
additions of ACPI v5.1 in `include/hw/acpi/acpi-defs.h`
Sig
From: Shannon Zhao
According to ACPI spec, DefBuffer can take two parameters: BufferSize
and ByteList. Make it consistent with the spec. If we want to request
uninitialized buffer, pass ByteList as NULL to aml_buffer() to
reserve spaces.
Signed-off-by: Shannon Zhao
Signed-off-by: Shannon Zhao
From: Shannon Zhao
RSDT points to other tables FADT, MADT, GTDT. This code is shared with x86.
Here we still use RSDT as UEFI puts ACPI tables below 4G address space,
and UEFI ignore the RSDT or XSDT.
Signed-off-by: Shannon Zhao
Signed-off-by: Shannon Zhao
---
hw/acpi/aml-build.c | 2
From: Shannon Zhao
Initialize VirtGuestInfoState and register a machine_init_done notify to
call virt_acpi_build().
Signed-off-by: Shannon Zhao
Signed-off-by: Shannon Zhao
---
hw/arm/virt.c | 19 +++
1 file changed, 19 insertions(+)
diff --git a/hw/arm/virt.c b/hw/arm/virt.c
From: Shannon Zhao
Add aml_memory32_fixed() for describing device mmio region in resource
template. These can be used to generating DSDT table for ACPI on ARM.
Signed-off-by: Shannon Zhao
Signed-off-by: Shannon Zhao
Reviewed-by: Alex Bennée
---
hw/acpi/aml-build.c | 25 ++
From: Shannon Zhao
Signed-off-by: Shannon Zhao
Signed-off-by: Shannon Zhao
Reviewed-by: Alex Bennée
---
hw/acpi/aml-build.c | 7 +++
include/hw/acpi/aml-build.h | 1 +
2 files changed, 8 insertions(+)
diff --git a/hw/acpi/aml-build.c b/hw/acpi/aml-build.c
index 7945918..d62c2b3 1
From: Shannon Zhao
Add PCIe controller in ACPI DSDT table, so the guest can detect
the PCIe.
Signed-off-by: Shannon Zhao
Signed-off-by: Shannon Zhao
---
hw/arm/virt-acpi-build.c | 155 +++
1 file changed, 155 insertions(+)
diff --git a/hw/arm/virt-
From: Shannon Zhao
Introduce a preliminary framework in virt-acpi-build.c with the main
ACPI build functions. It exposes the generated ACPI contents to
guest over fw_cfg.
The required ACPI v5.1 tables for ARM are:
- RSDP: Initial table that points to XSDT
- RSDT: Points to FADT GTDT MADT tables
On 14/05/2015 06:35, Fam Zheng wrote:
> Sorry, please skip this one for now (overlooked before sending), it's not safe
> to include iohandler fds in nested aio_poll, at least until the "device IO" op
> blocker patches are in.
That's what I was going to ask. :)
Still, good job! And for Win32 we
From: Shannon Zhao
Add ToUUID macro, this is useful for generating PCIe ACPI table.
Signed-off-by: Shannon Zhao
Signed-off-by: Shannon Zhao
---
hw/acpi/aml-build.c | 46 +
include/hw/acpi/aml-build.h | 1 +
2 files changed, 47 insertions(+)
From: Shannon Zhao
Signed-off-by: Shannon Zhao
Signed-off-by: Shannon Zhao
Reviewed-by: Alex Bennée
---
hw/acpi/aml-build.c | 8
include/hw/acpi/aml-build.h | 1 +
2 files changed, 9 insertions(+)
diff --git a/hw/acpi/aml-build.c b/hw/acpi/aml-build.c
index e4ec938..7945918
From: Shannon Zhao
Signed-off-by: Shannon Zhao
Signed-off-by: Shannon Zhao
---
hw/acpi/aml-build.c | 10 ++
include/hw/acpi/aml-build.h | 1 +
2 files changed, 11 insertions(+)
diff --git a/hw/acpi/aml-build.c b/hw/acpi/aml-build.c
index 0e4d35f..e4ec938 100644
--- a/hw/acpi/
On 14/05/2015 06:39, Fam Zheng wrote:
> On Thu, 05/14 11:34, Fam Zheng wrote:
>> Patch 1 adds a stub for qemu_set_fd_handler which will be referenced in
>> coming
>> patches.
>>
>> Patch 2 converts qemu-nbd which compares two global numbers in the
>> fd_read_poll
>> callback.
>>
>> Patches 2~5 co
On Thu, May 14, 2015 at 11:22:13AM +0200, Christian Borntraeger wrote:
> Am 13.05.2015 um 23:47 schrieb Michael S. Tsirkin:
> > On Wed, May 13, 2015 at 08:57:00PM +0200, Christian Borntraeger wrote:
> >> Am 13.05.2015 um 18:14 schrieb Michael S. Tsirkin:
> - AFAICS, there's no easy way to add
On 13/05/2015 20:06, Eduardo Habkost wrote:
> Also, this introduces a circular dependency between pc-dimm.c and
> numa.c. Instead of that, pc-dimm could simply notify us when a new
> device is realized (with just (addr, end, node) as arguments), so we can
> save the list of memory ranges inside s
On 14/05/2015 10:00, Yongbok Kim wrote:
> On 13/05/2015 20:28, Richard Henderson wrote:
>> On 05/13/2015 08:37 AM, Yongbok Kim wrote:
>>> +static inline void ensure_atomic_msa_block_access(CPUMIPSState *env,
>>> + target_ulong addr,
>>> +
On Mon, Apr 27, 2015 at 5:26 AM, Peter Crosthwaite
wrote:
> On Sat, Apr 25, 2015 at 7:21 PM, Alistair Francis
> wrote:
>> On Sun, Apr 26, 2015 at 4:32 AM, Peter Crosthwaite
>> wrote:
>>> "devices"
>>>
>>> On Sat, Apr 25, 2015 at 1:18 AM, Alistair Francis
>>> wrote:
Connect the ADC device
On Thu, May 14, 2015 at 10:24:15AM +0200, Paolo Bonzini wrote:
>
>
> On 13/05/2015 18:14, Michael S. Tsirkin wrote:
> > > - AFAICS, there's no easy way to add transport-specific subsections -
> > > and simply adding config_vector in ccw would break compatibility
> >
> > subsections break compa
On 13/05/2015 14:14, Martin Cerveny wrote:
> for item in items:
> if item['type'].startswith('child<'):
> -list_node(path + '/' + item['name'])
> +list_node((path if (path != '/') else '') + '/' + item['name'])
I'm not sure which Python version introduced i
On 14/05/2015 11:36, Michael S. Tsirkin wrote:
>
> There are three answers:
> 1. Yes, it's sure to get detected because everything gets shifted
> and then you get an unexpected string instead of next device name.
> 2. If you want a more generic way to detect this, then please work
> on
If buf_size % granularity is not 0, mirror_free_init() will
do dangerous things.
Signed-off-by: Wen Congyang
---
block/mirror.c | 4
1 file changed, 4 insertions(+)
diff --git a/block/mirror.c b/block/mirror.c
index 58f391a..bb6bc27 100644
--- a/block/mirror.c
+++ b/block/mirror.c
@@ -686,
On 14/05/2015 11:56, Michael S. Tsirkin wrote:
> > That's expected. Subsections break compatibility because sometimes
> > breaking migration is better than leaving a broken guest after migration.
>
> Right, and what happens is that some devices work kind of okay without
> config interrupts? Chr
On Thu, May 14, 2015 at 12:04:05PM +0200, Paolo Bonzini wrote:
>
>
> On 14/05/2015 11:56, Michael S. Tsirkin wrote:
> > > That's expected. Subsections break compatibility because sometimes
> > > breaking migration is better than leaving a broken guest after migration.
> >
> > Right, and what ha
I have XQuartz 2.7.7 installed and there is no pixman in /opt/X11/bin.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1453436
Title:
Building on OS X: Undefined symbols ___emutls_v.prng_state and
On 14/05/2015 12:07, Michael S. Tsirkin wrote:
> > If you really want that, the hook should be in the virtio device class.
> > Keying on the machine type is almost never the answer, at least upstream.
> > Distros can always override it if they know what they're getting into.
>
> I beg to disagre
On 13/05/2015 20:28, Richard Henderson wrote:
> As an aside, consider moving away from
>
> #define HELPER_LD(name, insn, type) \
> static inline type do_##name(CPUMIPSState *env, target_ulong addr, \
> int mem_idx)
On 13/05/2015 13:31, Andrew Jones wrote:
> Commit 1050dcda30529 introduced KVM_MEMSLOT_INCOHERENT to flag memory
> regions that may have coherency issues due to mapping host system RAM
> as non-cacheable. This was introduced as a KVM internal flag, but now
> give KVM userspace access to it so tha
It's /opt/X11/lib/libpixman-1.dylib and /opt/X11/include/pixman-1/ for
me, but yes, it's possible I've got that from somewhere other than
XQuartz.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1453436
On 14/05/2015 12:07, Wen Congyang wrote:
> Signed-off-by: Wen Congyang
> ---
> block/mirror.c | 4
> 1 file changed, 4 insertions(+)
>
> diff --git a/block/mirror.c b/block/mirror.c
> index 58f391a..bb6bc27 100644
> --- a/block/mirror.c
> +++ b/block/mirror.c
> @@ -686,6 +686,10 @@ static
If buf_size % granularity is not 0, mirror_free_init() will
do dangerous things.
Signed-off-by: Wen Congyang
---
block/mirror.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/block/mirror.c b/block/mirror.c
index 58f391a..9521212 100644
--- a/block/mirror.c
+++ b/block/mirr
On Wed, May 13, 2015 at 01:31:51PM +0200, Andrew Jones wrote:
> Introduce a new memory region flag, KVM_MEM_UNCACHED, which is
> needed by ARM. This flag informs KVM that the given memory region
> is typically mapped by the guest as non-cacheable. KVM for ARM
> then ensures that that memory is inde
Am 14.05.2015 um 11:36 schrieb Michael S. Tsirkin:
> On Thu, May 14, 2015 at 11:22:13AM +0200, Christian Borntraeger wrote:
>> Am 13.05.2015 um 23:47 schrieb Michael S. Tsirkin:
>>> On Wed, May 13, 2015 at 08:57:00PM +0200, Christian Borntraeger wrote:
Am 13.05.2015 um 18:14 schrieb Michael S.
On 12/05/2015 13:48, Fam Zheng wrote:
> +if (!bdrv_is_allocated_above(source, NULL, sector_num,
> + nb_sectors, &pnum)) {
> +op->nb_sectors = pnum;
> +if (s->source_may_unmap) {
Can you avoid this check by introducing bdrv_get_block_status_abov
On 12/05/2015 13:48, Fam Zheng wrote:
> Unsetting dirty globally with discard is not very correct. The discard may
> zero
> out sectors (depending on can_write_zeroes_with_unmap), we should replicate
> this change to destinition side to make sure that the guest sees the same
> data.
>
> Callin
On Wed, May 13, 2015 at 01:31:51PM +0200, Andrew Jones wrote:
> Introduce a new memory region flag, KVM_MEM_UNCACHED, which is
> needed by ARM. This flag informs KVM that the given memory region
> is typically mapped by the guest as non-cacheable. KVM for ARM
> then ensures that that memory is inde
On 12/05/2015 13:48, Fam Zheng wrote:
> Signed-off-by: Fam Zheng
> Reviewed-by: John Snow
> ---
> tests/qemu-iotests/041| 66
> ++-
> tests/qemu-iotests/iotests.py | 28 ++
> 2 files changed, 43 insertions(+), 51 deletions(-)
>
On Wed, May 13, 2015 at 01:31:53PM +0200, Andrew Jones wrote:
> Commit 1050dcda30529 introduced KVM_MEMSLOT_INCOHERENT to flag memory
> regions that may have coherency issues due to mapping host system RAM
> as non-cacheable. This was introduced as a KVM internal flag, but now
> give KVM userspace
A bit of Boolean algebra (and common sense) tells us that the
second "if" here is looking for blocks that are not allocated.
This is the opposite of the "if" that sets BDRV_BLOCK_ALLOCATED,
and thus it can use an "else".
Signed-off-by: Paolo Bonzini
---
block/io.c | 4 +---
1 file changed, 1 ins
On Sun, Apr 26, 2015 at 4:43 AM, Peter Crosthwaite
wrote:
> On Sat, Apr 25, 2015 at 1:18 AM, Alistair Francis
> wrote:
>> Add the STM32F2xx SPI device.
>>
>> Signed-off-by: Alistair Francis
>> ---
>>
>> default-configs/arm-softmmu.mak | 1 +
>> hw/ssi/Makefile.objs| 1 +
>> hw/
301 - 354 of 354 matches
Mail list logo