Hi Is there a func call to safely shutdown VM and quit qemu?
Thanksfrom Peter
On 12/01/2012 09:08 PM, Jean-Christophe DUBOIS wrote:
Check for a 0 "distance" value to avoid infinite loop when the
expired FCR timer was not programed with auto-increment.
With this change the behavior is coherent with the same type
of code in the exynos4210_gfrc_restart() function in the same
On 30/11/2012 19:43, Peter Maydell wrote:
On 30 November 2012 17:12, wrote:
From: KONRAD Frederic
I send this RFC, to know if you're all happy with the current structure of the
device (QOM).
The general layout of classes looks OK to me, which is why
I've moved on to some more nitpicky stuff
On Mon, Dec 3, 2012 at 9:43 AM, Peter Cheung wrote:
> Hi
>Is there a func call to safely shutdown VM and quit qemu?
I am using qemu_system_shutdown_request(). I don't know it that's
the best way of quitting, but it works for me.
HTH,
Laurent
On 2012-12-03 04:07, liguang wrote:
> 1. define names of breakpoints in dr7
> 2. slightly refactor bits field of breakpoint
>related functions.
Two topics, (at least) two patches, please. The code is hairy - not your
fault, you actually try to improve it. But splitting up makes review
easier.
Signed-off-by: Gerd Hoffmann
---
configure |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/configure b/configure
index 994f731..8483388 100755
--- a/configure
+++ b/configure
@@ -4190,6 +4190,7 @@ FILES="$FILES pc-bios/spapr-rtas/Makefile"
FILES="$FILES roms/seabios/Make
Most q35 patches landed in seabios upstream. Some cleanups and the
mcfg table are still missing. So pci mmconfig will not work. Basic
functionality is there though.
Signed-off-by: Gerd Hoffmann
---
pc-bios/acpi-dsdt.aml | Bin 4540 -> 4450 bytes
pc-bios/bios.bin | Bin 131072 ->
> +static void coroutine_fn backup_start_savevm(void *opaque)
> +{
> +assert(backup_state.driver);
> +assert(backup_state.writer);
> +int ret;
> +char *err = NULL;
> +uint64_t remaining;
> +int64_t maxlen;
> +MigrationParams params = {
> +.blk = 0,
> +.sh
Hi,
Most q35 seabios patches just landed upstream. So here we go with a
last-minute pull to plumb the missing q35 bits. It obviously updates
seabios again. It also adds autoloading for the acpi dsdt table.
With this pull "qemu -M q35" JustWorks[tm].
please pull,
Gerd
The following change
> Date: Mon, 3 Dec 2012 10:30:41 +0100
> From: laurent.desnog...@gmail.com
> To: mcheun...@hotmail.com
> CC: qemu-devel@nongnu.org
> Subject: Re: [Qemu-devel] func call to safely shutdown VM and quit qemu?
>
> On Mon, Dec 3, 2012 at 9:43 AM, Peter Cheung wrote:
> > Hi
> >Is there a func call
Signed-off-by: Gerd Hoffmann
---
hw/pc.c | 23 +++
hw/pc.h |1 +
hw/pc_piix.c |1 +
hw/pc_q35.c |1 +
4 files changed, 26 insertions(+), 0 deletions(-)
diff --git a/hw/pc.c b/hw/pc.c
index 2b5bbbf..2547c26 100644
--- a/hw/pc.c
+++ b/hw/pc.c
@@ -877,6
Am 03.12.2012 10:43, schrieb Jan Kiszka:
> On 2012-12-03 04:07, liguang wrote:
>> 1. define names of breakpoints in dr7
>> 2. slightly refactor bits field of breakpoint
>>related functions.
>
> Two topics, (at least) two patches, please. The code is hairy - not your
> fault, you actually try t
Am 16.11.2012 um 12:00 schrieb Alexandre DERUMIER :
>>> While trying to reproduce the bug, we just detected that it depends on the
>>> hardware (mainboard) you run on.
>>>
>>> Sigh :-/
>
> Hi,
>
> I can reproduce the bug on all my dell servers,differents generation (R710
> (intel),R815 (amd)
On Mon, Dec 03, 2012 at 07:59:55AM +0100, Gerd Hoffmann wrote:
> Hi,
>
>> Gerd: In order for me to use this with the new-style Tegra2 model we
>> will need to further move EHCISysBusState and the accompanying macros
>> that this series adds into the hcd-ehci.h header so that it can be
>> embedded
On Thu, Nov 29, 2012 at 12:05:14PM +1000, Peter Crosthwaite wrote:
>On Thu, Nov 29, 2012 at 12:00 PM, walimis wrote:
>> On Thu, Nov 29, 2012 at 11:43:18AM +1000, Peter Crosthwaite wrote:
>>>This was left as NULL on the initial merge due to debate on the mailing list
>>>on
>>>how to handle DMA con
On Fri, Nov 23, 2012 at 8:47 AM, Dong Xu Wang
wrote:
> +/* Create a new QemuOptsList and make its desc to the merge of first and
> second.
> + * It will allocate space for one new QemuOptsList plus enouth space for
s/enouth/enough/
> +dest->name = "append_opts_list";
> +dest->implied_op
On 3 December 2012 11:58, walimis wrote:
> For example, xilinx_zynq has two EHCI controllers. If I specify a usb
> device of type "usb-storage", the question is: which EHCI controller does the
> usb device attach to? The answer is dependent.
>
> 1. If I use "usbdevice" and pass the host usb device
On Mon, Dec 03, 2012 at 12:10:02PM +, Peter Maydell wrote:
>On 3 December 2012 11:58, walimis wrote:
>> For example, xilinx_zynq has two EHCI controllers. If I specify a usb
>> device of type "usb-storage", the question is: which EHCI controller does the
>> usb device attach to? The answer is
On Fri, Nov 23, 2012 at 8:47 AM, Dong Xu Wang
wrote:
> This patch will use QemuOpts related functions in block layer, add
> a member bdrv_create_options to BlockDriver struct, it will return
> a QemuOptsList pointer, which includes the image format's create
> options.
>
> And create options's prim
On Fri, Nov 23, 2012 at 8:47 AM, Dong Xu Wang
wrote:
> Patch 1-3 are from Luiz, added Markus's comments, discussion could be found
> here:
> http://lists.nongnu.org/archive/html/qemu-devel/2012-07/msg02716.html
> Patch 3 was changed according Paolo's comments.
>
> Patch 4-5: because qemu_opts_cre
Hi,
> As said in another mail, I found that the root cause is that xilinx_zynq has
> two EHCI controller. If we use usb-storage disk, the disk will be attached to
> the second EHCI controller, which the kernel uses the first EHCI controller
> by default.
For the linux kernel it shouldn't matter
On Sun, Nov 18, 2012 at 11:41:20AM +0100, Stefan Weil wrote:
> Am 18.11.2012 09:55, schrieb Paolo Bonzini:
> >Il 17/11/2012 17:40, Stefan Weil ha scritto:
> >>backends/rng-random.c which was added by commit
> >>5c74521d249486fa3e749dbbf6d56a70d4d7235f needs
> >>macro O_NONBLOCK.
> >>
> >>The macro
On Mon, Nov 19, 2012 at 03:13:49PM +1000, Peter Crosthwaite wrote:
> I'm guessing this is a hangover from a previous coreification of the mptimer
> sub-module. This field is completely unused - removed.
>
> Signed-off-by: Peter Crosthwaite
> ---
> hw/a9mpcore.c |1 -
> 1 files changed, 0 ins
On Thu, Nov 22, 2012 at 03:16:36PM +0100, Markus Armbruster wrote:
> pci_drive_hot_add() parameter type has the wrong type: int instead of
> BlockInterfaceType. It's actually redundant, so we can just drop it.
>
> Signed-off-by: Markus Armbruster
> ---
> hw/device-hotplug.c | 11 ---
>
On Fri, Nov 23, 2012 at 07:26:04AM +0100, Stefan Weil wrote:
> These spelling bugs were found by codespell:
>
> supressing -> suppressing
> transfered -> transferred
>
> Signed-off-by: Stefan Weil
> ---
> hw/usb.h |6 +++---
> tests/qemu-iotests/iotests.py |2 +-
>
On Fri, Nov 23, 2012 at 09:52:39AM +0100, Michal Privoznik wrote:
> There's no need to add a space at the end of line.
> Moreover, it can make problems in some projects that
> store the help output into a file (and run couple of
> tests based on that) and have space at EOL forbidden.
>
> Signed-of
On Fri, Nov 23, 2012 at 03:12:50PM +, Peter Maydell wrote:
> Adjust the conditional which guards the implementation of
> cpu_get_real_ticks() via RDTSC, so that we don't try to use it
> on x86 CPUs which don't implement RDTSC. Instead we will fall
> back to the no-cycle-counter-available defau
On Fri, Nov 23, 2012 at 07:12:17PM +0100, Markus Armbruster wrote:
> diff --git a/hw/pc_sysfw.c b/hw/pc_sysfw.c
> index 9d7c5f4..066c4fe 100644
> --- a/hw/pc_sysfw.c
> +++ b/hw/pc_sysfw.c
> @@ -84,6 +84,11 @@ static void pc_fw_add_pflash_drv(void)
> bios_name = BIOS_FILENAME;
> }
>
On Fri, Nov 23, 2012 at 07:12:18PM +0100, Markus Armbruster wrote:
> Harmless, because we the error inevitably leads to another, fatal one
> in pc_system_flash_init(): PC system firmware (pflash) not available.
> Fix it anyway.
>
> Signed-off-by: Markus Armbruster
> ---
> hw/pc_sysfw.c | 4 +++-
On Fri, Nov 30, 2012 at 03:35:46PM +0100, Paolo Bonzini wrote:
> Il 30/11/2012 08:10, Mike Lovell ha scritto:
> > On 10/12/2012 12:49 AM, Mike Lovell wrote:
> >> This makes a few changes to allow ifname to be specified when using
> >> qemu-bridge-helper with both the bridge and tap network interfac
Stefan Hajnoczi writes:
> On Fri, Nov 23, 2012 at 07:12:17PM +0100, Markus Armbruster wrote:
>> diff --git a/hw/pc_sysfw.c b/hw/pc_sysfw.c
>> index 9d7c5f4..066c4fe 100644
>> --- a/hw/pc_sysfw.c
>> +++ b/hw/pc_sysfw.c
>> @@ -84,6 +84,11 @@ static void pc_fw_add_pflash_drv(void)
>> bios_n
Am 30.11.2012 16:36, schrieb Roy Tam:
> 2012/11/30 Roy Tam :
>> Hello all,
>>
>> I noticed that QEMU(both 1.2.1 and git head) acts very slow when
>> accessing HD. I wonder if it is a fault in my build environment?
>>
>
> and in same environment, I can see the speed decreases when version bumps:
>
Hi,
>>> Qemu doesn't provide some properties, such as "bus", to specify which EHCI
>>> controller the
>>> usb device attach to. If we use "device" and "usb-storage", we never
>>> attach the usb
>>> device to the specified EHCI controller.
>>
>> -device certainly ought to let you specify a bus
On 3 December 2012 13:37, Gerd Hoffmann wrote:
>> But why both EHCI controller are named "usb-bus.0"? How to distinguish the
>> different usb usb?
>
> That is the default name. For usb controllers added via -device the bus
> name is derived from the device name, i.e. '-device usb-ehci,id=ehci"
>
On Mon, Dec 03, 2012 at 01:51:00PM +0100, Gerd Hoffmann wrote:
> Hi,
>
>> As said in another mail, I found that the root cause is that xilinx_zynq has
>> two EHCI controller. If we use usb-storage disk, the disk will be attached to
>> the second EHCI controller, which the kernel uses the first EHC
Am 14.11.2012 23:53, schrieb Corey Bryant:
> Signed-off-by: Corey Bryant
> ---
> tests/qemu-iotests/044| 129
> ++
> tests/qemu-iotests/044.out| 5 ++
> tests/qemu-iotests/group | 1 +
> tests/qemu-iotests/iotests.py | 12
> 4 fi
Hi
Please send in any agenda topics you are interested in.
- migration troubles from 1.2 -> 1.3 due to qemu-kvm integration
Later, Juan.
Hello,
is there a way to check if QEMU was compiled with --enable-seccomp via QMP?
Jan
On Fri, Nov 23, 2012 at 08:00:47PM +0100, Tim Hardeck wrote:
Thanks for the patch, Tim. Some general code review comments below. I
hope someone has time to review the VNC and WebSocket specific stuff. I
didn't check the details of buffers, whether the WebSocket spec is
correctly implemented, et
On 11/27/2012 08:46 PM, Jason Baron wrote:
> On Tue, Nov 27, 2012 at 01:10:16AM +0100, Andreas Färber wrote:
>> Am 19.09.2012 13:50, schrieb Julien Grall:
>>> This patch replaces all register_ioport* by a MemorySection.
>>> It permits to use the new Memory stuff like listener.
>>>
>>> Moreover, th
Dear AllI can read memory by a physical address
"cpu_physical_memory_map()", but how can i read it by linear address or virtual
address?
Thanksfrom Peter
From: Igor Mammedov
delay capping cpuid_level to 7 to realize time so property setters
for cpuid_7_0_ebx_features and "level" could be used in any order/time
between x86_cpu_initfn() and x86_cpu_realize().
Signed-off-by: Igor Mammedov
---
target-i386/cpu.c | 8 +---
1 file changed, 5 inser
From: Igor Mammedov
Signed-off-by: Igor Mammedov
---
target-i386/cpu.c | 6 +++---
target-i386/cpu.h | 2 ++
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/target-i386/cpu.c b/target-i386/cpu.c
index 89fd700..569acac 100644
--- a/target-i386/cpu.c
+++ b/target-i386/cpu.c
@@ -110
From: Igor Mammedov
Signed-off-by: Igor Mammedov
Acked-by: Andreas Färber
---
qapi/qapi-visit-core.c | 11 +++
qapi/qapi-visit-core.h | 2 ++
qapi/string-input-visitor.c | 22 ++
3 files changed, 35 insertions(+)
diff --git a/qapi/qapi-visit-core.c b/qap
Instead of using parsing the whole cpu_model string inside
cpu_x86_find_by_name(), first split it into the CPU model name and the
full feature string, then parse the feature string into pieces.
When using CPU model classes, those two pieces of information will be
used at different moments (CPU mod
Hi,
This is a much shorter version of x86 CPU cleanup series[1] I sent earlier,
including only what's really essential. I hope it will be easier to review and
include, while Igor and I work on the CPU properties/subclasses code using this
as base.
[1] The one sent as:
Subject: [Qemu-devel] [P
From: Igor Mammedov
Signed-off-by: Igor Mammedov
Reviewed-by: Andreas Färber
---
target-i386/cpu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target-i386/cpu.c b/target-i386/cpu.c
index ee03652..def801a 100644
--- a/target-i386/cpu.c
+++ b/target-i386/cpu.c
@@ -1195,7
On 12/02/2012 06:57 AM, Andreas Färber wrote:
SysBus EHCI was introduced in a hurry before 1.3 Soft Freeze.
To use QOM casts in place of DO_UPCAST() / FROM_SYSBUS(), we need an
identifying type. Introduce generic abstract base types for PCI and
SysBus EHCI to allow multiple types to access the sh
On 12/02/2012 06:57 AM, Andreas Färber wrote:
This allows specific derived models to use different values.
Signed-off-by: Andreas Färber
---
hw/usb/hcd-ehci-sysbus.c | 26 --
1 Datei geändert, 24 Zeilen hinzugefügt(+), 2 Zeilen entfernt(-)
diff --git a/hw/usb/hcd-e
On Mon, Dec 03, 2012 at 11:11:55AM +0100, Gerd Hoffmann wrote:
> Hi,
>
> Most q35 seabios patches just landed upstream. So here we go with a
> last-minute pull to plumb the missing q35 bits. It obviously updates
> seabios again. It also adds autoloading for the acpi dsdt table.
>
> With this
On 12/02/2012 06:57 AM, Andreas Färber wrote:
It uses a different capsbase and opregbase than the Xilinx device.
Signed-off-by: Liming Wang
Signed-off-by: Andreas Färber
Cc: Igor Mitsyanko
---
hw/usb/hcd-ehci-sysbus.c | 15 +++
hw/usb/hcd-ehci.h|2 ++
2 Dateien g
On 12/02/2012 06:57 AM, Andreas Färber wrote:
From: Liming Wang
Add EHCI USB host controller to exynos4210.
Signed-off-by: Liming Wang
[AF: Use type constant]
Signed-off-by: Andreas Färber
---
hw/exynos4210.c |7 +++
hw/exynos4210_gic.c |2 +-
2 Dateien geändert, 8 Zeilen
On 12/03/2012 08:53 PM, Peter Cheung wrote:
> Dear All
> I can read memory by a physical
> address "cpu_physical_memory_map()", but how can i read it by linear
> address or virtual address?
>
> Thanks
> from Peter
Hi, Peter, you can use cpu_memory_rw_debug/cpu_get_phys_page_debug for this
On 10.10.2012, at 16:28, Bharat Bhushan wrote:
> PCI Root complex have TYPE-1 configuration header while PCI endpoint
> have type-0 configuration header. The type-1 configuration header have
> a BAR (BAR0). In Freescale PCI controller BAR0 is used for mapping pci
> address space to CCSR address s
This patch will send NOP-Out PDUs every 5 seconds to the iSCSI target.
If a consecutive number of NOP-In replies fail a reconnect is initiated.
iSCSI NOPs help to ensure that the connection to the target is still
operational.
This should not, but in reality may be the case even if the TCP connecti
On Sat, Oct 27, 2012 at 12:32:28PM +0400, Michael Tokarev wrote:
> Ping?
Ping.
Fix still applicable for 1.3, also looking to pull it in for 1.2.2.
>
> /mjt
>
> On 18.09.2012 18:32, Andreas Färber wrote:
> > Am 18.09.2012 14:29, schrieb Michael Tokarev:
> >> Has it been applied to anything? I
This patch adds support for directly passing the iovec
array from QEMUIOVector if libiscsi supports it.
Signed-off-by: Peter Lieven
---
block/iscsi.c | 31 +++
1 file changed, 31 insertions(+)
diff --git a/block/iscsi.c b/block/iscsi.c
index c0b70b3..6f3ee4a 100644
Per the datasheet, the DATE (wday) register is user defined. Implement this.
Signed-off-by: Antoine Mathys
---
hw/ds1338.c | 14 --
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/hw/ds1338.c b/hw/ds1338.c
index 8f85635..c502934 100644
--- a/hw/ds1338.c
+++ b/hw/ds1
On Fri, 30 Nov 2012 17:27:17 -0200
Eduardo Habkost wrote:
> The core qdev code uses the reset handler list from vl.c, and
> currently *-user has some hacks to make CPU reset work.
>
> This moves qemu_register_reset(), qemu_unregister_reset() and
> qemu_devices_reset() to a new file, hw/reset.c,
Hi,
On behalf of the QEMU Team, I'd like to announce the availability of the
QEMU 1.3 release!
http://wiki.qemu.org/download/qemu-1.3.0.tar.bz2
This release contains over 1700 changesets from 118 unique authors.
See the ChangeLog on the wiki for a full changelog:
http://wiki.qemu.org/ChangeLog
Happy hacking!
Regards,
Anthony Liguori
On 01.12.2012, at 12:27, Peter Maydell wrote:
> On 1 December 2012 10:29, Janne Karhunen <955...@bugs.launchpad.net> wrote:
>>> this blocks forever, because the thing that would wake it up is the
>> signal handler writing to the pipe we're selecting on, but we will never
>> run the signal handler
On Fri, 30 Nov 2012 17:27:17 -0200
Eduardo Habkost wrote:
> The core qdev code uses the reset handler list from vl.c, and
> currently *-user has some hacks to make CPU reset work.
>
> This moves qemu_register_reset(), qemu_unregister_reset() and
> qemu_devices_reset() to a new file, hw/reset.c,
Hi,
Based on popular demand, I'd like to continue with a 3-month release
cycle for the foreseeable future. One thing I'd like to "fix" though is
to avoid major holidays during the -rc cycles.
The best cycle I can figure is:
Feb 15th
May 15th
Aug 15th
Nov 15th
To get us onto this schedule, we'
I think you meant to change the 1.3.0 to 1.4.0 for the milestones on the Wiki.
;-)
> -Original Message-
> From: qemu-devel-bounces+ericj=mips@nongnu.org [mailto:qemu-devel-
> bounces+ericj=mips@nongnu.org] On Behalf Of Anthony Liguori
> Sent: Monday, December 03, 2012 1:30 PM
> To
"Johnson, Eric" writes:
> I think you meant to change the 1.3.0 to 1.4.0 for the milestones on
> the Wiki. ;-)
Indeed, fixed now.
Regards,
Anthony Liguori
>
>> -Original Message-
>> From: qemu-devel-bounces+ericj=mips@nongnu.org [mailto:qemu-devel-
>> bounces+ericj=mips@nongnu
On 3 December 2012 21:20, Alexander Graf wrote:
> Could you please try and see if this patch makes a difference?
>
> http://repo.or.cz/w/qemu/agraf.git/patch/489924aa0115dc6cfcd4e91b0747da4ff8425d1f
I think the answer will turn out to be "no" (though it's worth
testing anyway), because the syscal
Hi everyone,
The following new patches are queued for QEMU stable v1.2.2:
https://github.com/mdroth/qemu/commits/stable-1.2-staging
The release is planned for Tuesday, 12-11-2012:
http://wiki.qemu.org/Planning/1.2
Please CC qemu-sta...@nongnu.org on any patches you think should be
included in
From: Michael Tokarev
commit 38f419f35225 fixed a breakage with CONFIG_QEMU_HELPERDIR
which has been introduced by 8bf188aa18ef7a8. But while techinically
that fix has been correct, all other similar variables are handled
differently. Make it consistent, and let scripts/create_config
expand and
From: Joel Martin
If TIGHT_PNG is not enabled by the --enable-vnc-png configure flag
then do not report to the client that it is supported.
Also, since TIGHT_PNG is the same as the TIGHT encoding but with the
filter/copy replaced with PNG data, adding it to the supported
encodings list when it i
From: Jan Kiszka
We need to evaluate $libexecdir in configure, otherwise we literally end
up with "${prefix}/libexec" instead of the absolute path as
CONFIG_QEMU_HELPERDIR.
Signed-off-by: Jan Kiszka
Signed-off-by: Aurelien Jarno
(cherry picked from commit 38f419f35225decdbaea9fe1fd00218f8924ce
From: Paolo Bonzini
When reverse connection is in use, there is no active VNC server
socket. Because of this, getsockopt(-1, ...) is attempted and
the following error is emitted:
$ socat TCP-LISTEN:5900,reuseaddr TCP-LISTEN:5901,reuseaddr &
$ x86_64-softmmu/qemu-system-x86_64 -vnc local
From: Gerd Hoffmann
Used to be "UTB" not "USB".
Signed-off-by: Gerd Hoffmann
(cherry picked from commit 0ebfb144e8ad3f2da436d630fdcc5aa9ab646341)
Signed-off-by: Michael Roth
---
hw/usb/hcd-xhci.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/usb/hcd-xhci.c b/h
From: Aurelien Jarno
According to the MIPS Malta Developement Platform User's Manual, the
i8259 interrupt controller is supposed to be connected to the hardware
IRQ0, and the CBUS UART to the hardware interrupt 2.
In QEMU they are both connected to hardware interrupt 0, the CBUS UART
interrupt b
From: Alexander Graf
When using -initrd in the virtio machine, we need to indicate the initrd
start and size inside the kernel image. These parameters need to be stored
in native endianness.
Signed-off-by: Alexander Graf
Acked-by: Richard Henderson
Acked-by: Christian Borntraeger
(cherry pick
From: Aurelien Jarno
OpenBIOS on sparc64 only support Standard VGA and not Cirrus VGA. Don't
build Cirrus VGA support so that it can't be selected.
This fixes the breakage introduced by commit f2898771.
Reported-by: Richard Henderson
Cc: Blue Swirl
Signed-off-by: Aurelien Jarno
Tested-by: Ri
From: Alexander Graf
Device tree properties need to be specified in big endian. Fix the
bamboo memory size property accordingly.
Signed-off-by: Alexander Graf
CC: qemu-sta...@nongnu.org
(cherry picked from commit 5232fa59b17b45c04bd24e0d38224964816bf391)
Signed-off-by: Michael Roth
---
hw/pp
From: Paolo Bonzini
Tools were broken because they initialized the block layer while
qemu_aio_context was still NULL.
Reported-by: malc
Signed-off-by: Paolo Bonzini
Signed-off-by: malc
(cherry picked from commit 2592c59a66d456fe98fe96cb5787b356c40ee66f)
Signed-off-by: Michael Roth
---
qemu
From: Meador Inge
Fixing a simple typo, s/errno/err/, that caused
the error status from GDB semihosted system calls
to be returned incorrectly.
Signed-off-by: Meador Inge
Reviewed-by: Andreas Färber
Signed-off-by: Peter Maydell
Signed-off-by: Blue Swirl
(cherry picked from commit aed91c1bff5
From: "陳韋任 (Wei-Ren Chen)"
While reading microMIPS decoding, I found a possible wrong opcode
encoding. According to [1] page 166, the bits 13..12 for MULTU is
0x01 rather than 0x00. Please review, thanks.
[1] MIPS Architecture for Programmers VolumeIV-e: The MIPS DSP
Application-Specific Ext
From: Aurelien Jarno
The TCG arm backend considers likely that the offset to the TLB
entries does not exceed 12 bits for mem_index = 0. In practice this is
not true for at least the MIPS target.
The current patch fixes that by loading the bits 23-12 with a separate
instruction, and using loads w
From: Hans de Goede
According to the spec we must raise an interrupt when one is requested
even for non active tds.
Linux depends on this, for bulk transfers it runs an inactivity timer
to work around a bug in early uhci revisions, when we take longer then
200 ms to process a packet, this timer
From: Stefan Weil
The local string tmp_filename is passed to function get_tmp_filename
which expects a string with minimum size MAX_PATH for w32 hosts.
MAX_PATH is 260 and PATH_MAX is 259, so tmp_filename was too short.
Commit eba25057b9a5e19d10ace2bc7716667a31297169 introduced this
regression.
From: Paolo Bonzini
Trying to cast a NULL value will cause a crash. Returning
NULL is also sensible, and it is also what the type-unsafe
DO_UPCAST macro does.
Reported-by: Markus Armbruster
Signed-off-by: Paolo Bonzini
Signed-off-by: Anthony Liguori
(cherry picked from commit b7f43fe46029d8f
From: Paolo Bonzini
Commit 0d93692 (qdev: Convert busses to QEMU Object Model, 2012-05-02)
removed a check on the type of the bus where a SCSI disk is hotplugged.
However, hot-plugging to the wrong kind of device now causes a crash
due to either a NULL pointer dereference (avoided by the previous
From: Paolo Bonzini
The reference count for embedded objects is always one too low, because
object_initialize_with_type returns with zero references to the object.
This causes premature finalization of the object (or an assertion failure)
after calling object_ref to add an extra reference and obj
From: Julio Guerra
This patch fixes bug 1031698 :
https://bugs.launchpad.net/qemu/+bug/1031698
If we look at the (truncated) translation of the conditional branch
instruction in the test submitted in the bug post, the call to the
exception helper is missing in the "bne-false" chunk of translated
From: Richard Henderson
Fixes the pointer truncation that was occurring for branches.
Cc: Stefan Weil
Cc: Blue Swirl
Signed-off-by: Richard Henderson
Reviewed-by: Stefan Weil
Tested-by: Stefan Weil
Signed-off-by: Blue Swirl
(cherry picked from commit c6c5063c7a5bb1d3fe6b9931a1ec15294e39b8b
From: Don Slutz
The check using INT_MAX (2147483647) is wrong in this case.
Signed-off-by: Fred Oliveira
Signed-off-by: Don Slutz
Signed-off-by: Stefan Hajnoczi
(cherry picked from commit 2e84849aa2cc7f220d3b3668f5f7e3c57bb1b590)
Signed-off-by: Michael Roth
---
target-i386/cpu.c |2 +-
From: Kevin Wolf
A missing factor for the refcount table entry size in the calculation
could mean that too little memory was allocated for the in-memory
representation of the table, resulting in a buffer overflow.
Signed-off-by: Kevin Wolf
Reviewed-by: Michael Tokarev
Tested-by: Michael Tokare
From: Alon Levy
As suggested by Paolo Bonzini, to avoid possible integer overflow issues.
Signed-off-by: Alon Levy
Signed-off-by: Gerd Hoffmann
(cherry picked from commit c5825ac6c861bfe1a4adfa27517931b56079e298)
Signed-off-by: Michael Roth
---
hw/qxl.c |4 ++--
1 file changed, 2 insert
From: Bruce Rogers
The second parameter to qapi_dealloc_type_size should be a uint64_t *,
not a size_t *. This was causing our 32 bit x86 build to fail, since
warnings are treated as errors.
Signed-off-by: Bruce Rogers
Reviewed-by: Michael Roth
Reviewed-by: Stefan Weil
Signed-off-by: Luiz Cap
From: Stefan Hajnoczi
visit_type_size() requires either visitor->type_size() or
visitor_uint64() to be implemented, otherwise a NULL function pointer is
invoked.
It is possible to trigger this crash as follows:
$ qemu-system-x86_64 -netdev tap,sndbuf=0,id=netdev0 \
-dev
On Mon, Dec 03, 2012 at 10:20:03PM +0100, Igor Mammedov wrote:
> On Fri, 30 Nov 2012 17:27:17 -0200
> Eduardo Habkost wrote:
>
> > The core qdev code uses the reset handler list from vl.c, and
> > currently *-user has some hacks to make CPU reset work.
> >
> > This moves qemu_register_reset(), q
From: Peter Lieven
If an invalid URL is specified iscsi_get_error(iscsi) is called
with iscsi == NULL.
Signed-off-by: Peter Lieven
Signed-off-by: Paolo Bonzini
(cherry picked from commit 8da1e18b0cf46b6c95c88bbad1cc50d6dd1bef4b)
Signed-off-by: Michael Roth
---
block/iscsi.c |3 +--
1 fi
From: David Gibson
The virtio-scsi specification does not specify the correct endianness for
fields in the request structure. It's therefore best to assume that it is
"guest native" endian since that's the (stupid and poorly defined) norm in
virtio.
However, the qemu device for virtio-scsi has
From: Dietmar Maurer
The formula to compute slice_quota was wrong since commit 6ef228fc.
Signed-off-by: Dietmar Maurer
Reviewed-by: Eric Blake
Signed-off-by: Kevin Wolf
(cherry picked from commit e3980e28bb888bf643054770452998d1b4319609)
Signed-off-by: Michael Roth
---
include/qemu/ratelim
From: Stefan Hajnoczi
Report an error instead of segfaulting when attaching a USB device to a
machine with no USB busses:
$ qemu-system-arm -machine vexpress-a9 \
-sd Fedora-17-armhfp-vexpress-mmcblk0.img \
-kernel vmlinuz-3.4.2-3.fc17.armv7hl \
-initrd initramfs-3.4.2-3.fc17
Check for a 0 "distance" value to avoid infinite loop when the
expired FCR timer was not programed with auto-increment.
With this change the behavior is coherent with the same type
of code in the exynos4210_gfrc_restart() function in the same
file.
Linux seems to mostly use this timer with auto-i
From: Yonit Halperin
The devram memslot stays active when qxl enters UNDEFINED mode (i.e, no
primary surface). If migration has occurred while the device is in
UNDEFINED stae, the memslots have to be reloaded at the destination.
Fixes rhbz#874574
Signed-off-by: Yonit Halperin
Signed-off-by: Ge
1 - 100 of 158 matches
Mail list logo