In abi_long do_ioctl_dm(), after calls lock_user(), it does not call
unlock_user() before go to failure return in default case.
Signed-off-by: Chen Gang
---
linux-user/syscall.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index a427f7a..ec9e4
On 01/24/15 10:21, Shannon Zhao wrote:
> This patch series generate seven ACPI v5.1 tables for machine virt on
> ARM.
> The set of generated tables are:
> - RSDP
> - XSDT
> - MADT
> - GTDT
> - FADT
> - FACS
> - DSDT
>
> These tables are created dynamically using the function of
> acpi-build-utils.c
comments below
On 01/24/15 10:21, Shannon Zhao wrote:
> FADT points to FACS and DSDT, in the case of mach virt, it is also used
> to set the Hardware Reduced bit and enable PSCI SMP booting through HVC.
>
> Update the header definitions for FADT taking into account the new
> additions of ACPI v5.
comments below, fix attached
On 01/24/15 10:21, Shannon Zhao wrote:
> XDST points to other tables except FACS & DSDT.
> Implement a common header helper functions for generating ACPI tables.
>
> Signed-off-by: Shannon Zhao
> ---
> hw/arm/virt-acpi-build.c| 34 +
The lack of emulated TLS on 10.6 is the consequence of a political choice,
though. GCC 4.3 was released long before Snow Leopard, but users are stuck with
4.2.1 because of the license.
Paolo
-Original Message-
From: Peter Maydell [peter.mayd...@linaro.org]
Received: sabato, 24 gen 2015
On 24 January 2015 at 18:54, Paolo Bonzini wrote:
> Note that GCC 4.3 was released almost seven years ago; we've been
> requiring it on Windows for three years (commit 00dccaf, coroutine:
> introduce coroutines, 2011-01-17), and no one has ever complained.
>
> Apple is not providing it for Mac OS
On 24 January 2015 at 16:36, Greg Bellows wrote:
> I understand what the code is doing, my point is that you rely on
> arm_is_secure_below_el3 to deal with EL2 when you could have just as easily
> checked for el<2. Not a big deal though.
Well, I rely on the architecture to tell me that it isn't
On 01/24/15 10:21, Shannon Zhao wrote:
> Expose the needed device information to the table generation
> insfrastructure and register a machine_init_done notify to
> call virt_acpi_build().
>
> Add CONFIG_ACPI to arm-softmmu.mak, but there is compile error.
> Don't include unnecessary file for ARM.
On 23/01/2015 23:54, Programmingkid wrote:
>> Sorry, I was wrong. I missed that you are using 10.6.x.
>>
>> Thread-local storage was introduced on Mac OS X in 10.7. For
>> 10.6.x you'll have to compile GCC 4.3 or newer yourself (or take it
>> from fink/homebrew/whatever the Mac folks use these
On Jan 23, 2015 7:12 PM, "Peter Maydell" wrote:
>
> On 23 January 2015 at 21:44, Greg Bellows wrote:
> > On Fri, Jan 23, 2015 at 12:20 PM, Peter Maydell
> > wrote:
> >> +typedef enum ARMMMUIdx {
> >> +ARMMMUIdx_S12NSE0 = 0,
> >> +ARMMMUIdx_S12NSE1 = 1,
> >> +ARMMMUIdx_S1E2 = 2,
> >>
On Fri, Jan 23, 2015 at 06:56:20PM +0100, Igor Mammedov wrote:
> On Fri, 23 Jan 2015 15:55:11 +0200
> "Michael S. Tsirkin" wrote:
>
> > On Fri, Jan 23, 2015 at 02:40:30PM +0100, Igor Mammedov wrote:
> > > On Fri, 23 Jan 2015 15:24:24 +0200
> > > "Michael S. Tsirkin" wrote:
> > >
> > > > On Fri,
On Sat, Jan 24, 2015 at 05:21:11PM +0800, Shannon Zhao wrote:
> 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. Some codes borrowed from hw/i386/acpi-build.c.
>
> The minimum required ACPI v
On 01/24/2015 12:04 AM, Alexander Graf wrote:
On 23.01.15 23:51, dval...@suse.de wrote:
From: Dinar Valeev
In order to have -boot once=d functioning, it is required to have
qemu_register_boot_set
qemu-system-ppc64 -enable-kvm -boot once=d
Ready!
0 > dev /chosen ok
0 > .properties
...
qem
Hello everyone,
I am new to QEMU and trying to attach gdb with qemu on powepc host.
I have tried below options
qemu-system-ppc -enable-kvm -nographic -m 512 -M ppce500 -cpu e500mc -gdb
tcp::1234 -s -S -kernel uImage -initrd rootfs.ext2.gz -append
"root=/dev/ram rw console=ttyS0,115200" -serial t
> * Liang Li (liang.z...@intel.com) wrote:
> > Add the qmp and hmp commands to tune the parameters used in live
> > migration.
>
> If I understand correctly on the destination side we need to set the number
> of decompression threads very early on an incoming migration - I'm not clear
> how earl
> > -
> > +/* When starting the process of a new block, the first page of
> > + * the block should be sent out before other pages in the same
> > + * block, and all the pages in last block should have been sent
> > + * out, keeping this order is important.
>
> Why? Is this just be
> > typedef struct compress_param compress_param;
> >
> > +enum {
> > +DONE,
> > +START,
> > +};
> > +
>
> Do you really need any more than a 'bool busy' ?
Good ideal.
> > struct decompress_param {
> > /* To be done */
> > };
> > typedef struct decompress_param decompress_param;
> > +size_t migrate_qemu_add_compression_data(QEMUFile *f,
> > +const uint8_t *p, size_t size, int level)
>
> It's an odd name, QEMUFile is only used by migration anyway; maybe
> qemufile_add_compression_data ?
>
> > +{
> > +size_t blen = IO_BUF_SIZE - f->buf_index - sizeof(int);
> >
Thanks Dave & Eric for spending time to review my patches and giving the
valuable comments, I will refine my patches in the later version according
to your suggestions.
> * Liang Li (liang.z...@intel.com) wrote:
> > This feature can help to reduce the data transferred about 60%, and
> > the migr
Public bug reported:
[qemu/target-lm32/translate.c:336]: (style) Same expression in both
branches of ternary operator.
int rY = (dc->format == OP_FMT_RR) ? dc->r0 : dc->r0;
** Affects: qemu
Importance: Undecided
Status: New
--
You received this bug notification because you are
Vhost-user will implement the multiqueueu support in a similar way to what
vhost already has - a separate thread for each queue.
To enable the multiqueue funcionality - a new command line parameter
"queues" is introduced for the vhost-user netdev.
Changes since v1:
- use s->nc.info_str when brin
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. Some codes borrowed from hw/i386/acpi-build.c.
The minimum required ACPI v5.1 tables for ARM are:
- RSDP: Initial table that points to XSDT
- XSDT
FADT points to FACS and DSDT, in the case of mach virt, it is also used
to set the Hardware Reduced bit and enable PSCI SMP booting through HVC.
Update the header definitions for FADT taking into account the new
additions of ACPI v5.1 in `include/hw/acpi/acpi-defs.h`
Signed-off-by: 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
---
hw/arm/virt-acpi-build.c| 30 ++
include/hw/acpi/acpi-defs.h | 37 -
2 files changed,
RSDP points to XSDT which in turn points to other tables.
Signed-off-by: Shannon Zhao
---
hw/arm/virt-acpi-build.c | 22 ++
1 files changed, 22 insertions(+), 0 deletions(-)
diff --git a/hw/arm/virt-acpi-build.c b/hw/arm/virt-acpi-build.c
index 4eed0a3..9c3971a 100644
---
The ACPI related header file acpi-defs.h, includes definitions that
apply on other architectures as well. Move it in `include/hw/acpi/`
to sanely include it from other architectures.
Signed-off-by: Alvise Rigo
Signed-off-by: Shannon Zhao
---
hw/i386/acpi-build.c|2 +-
hw/i386/acpi-d
This patch series generate seven ACPI v5.1 tables for machine virt on ARM.
The set of generated tables are:
- RSDP
- XSDT
- MADT
- GTDT
- FADT
- FACS
- DSDT
These tables are created dynamically using the function of acpi-build-utils.c,
taking into account the needed information passed from the vir
Expose the needed device information to the table generation
insfrastructure and register a machine_init_done notify to
call virt_acpi_build().
Add CONFIG_ACPI to arm-softmmu.mak, but there is compile error.
Don't include unnecessary file for ARM. Maybe this way is not
right, fix me please.
Signe
XDST points to other tables except FACS & DSDT.
Implement a common header helper functions for generating ACPI tables.
Signed-off-by: Shannon Zhao
---
hw/arm/virt-acpi-build.c| 34 ++
include/hw/acpi/acpi-defs.h |9 +
2 files changed, 43 insertio
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 using the Resource Templ
Add acpi_fixed_memory32() for describing device mmio region in resource
template.
Add acpi_extended_irq() for describing device interrupt in resource template.
These can be used to generating DSDT table for ACPI on ARM.
Signed-off-by: Shannon Zhao
---
hw/acpi/acpi-build-utils.c | 42 +
FACS table is created as a mockup, as with the Hardware Reduced bit
set it will not be used.
Update the header definitions for FACS taking into account the new
additions of ACPI v5.1 in `include/hw/acpi/acpi-defs.h`
Signed-off-by: Shannon Zhao
---
hw/arm/virt-acpi-build.c|4
includ
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
---
hw/arm/virt-acpi-build.c| 21 +
include/hw/acpi/acpi-defs.h | 37
This patch moves the memory region init code from the
armv7m_init function to the stellaris_init function
Signed-off-by: Alistair Francis
Reviewed-by: Peter Crosthwaite
---
This has been split from the Netduino 2 machine patch
series.
hw/arm/armv7m.c | 33 +++--
This patch allows the board to specifiy the number of NVIC interrupt
lines when using armv7m_init.
Signed-off-by: Alistair Francis
Reviewed-by: Peter Crosthwaite
---
This has been split from the Netduino 2 machine patch
series.
hw/arm/armv7m.c | 7 ---
hw/arm/stellaris.c | 5 -
35 matches
Mail list logo