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, fred.kon...@greensocs.com wrote:
From: KONRAD Frederic fred.kon...@greensocs.com
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,
On Mon, Dec 3, 2012 at 9:43 AM, Peter Cheung mcheun...@hotmail.com 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 kra...@redhat.com
---
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
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 kra...@redhat.com
---
pc-bios/acpi-dsdt.aml | Bin 4540 - 4450 bytes
pc-bios/bios.bin
+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,
+.shared = 0
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 changes
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 mcheun...@hotmail.com wrote:
Hi
Is there a
Signed-off-by: Gerd Hoffmann kra...@redhat.com
---
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
+++
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 to improve
Am 16.11.2012 um 12:00 schrieb Alexandre DERUMIER aderum...@odiso.com:
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
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 into the
On Thu, Nov 29, 2012 at 12:05:14PM +1000, Peter Crosthwaite wrote:
On Thu, Nov 29, 2012 at 12:00 PM, walimis walimis...@gmail.com 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
On Fri, Nov 23, 2012 at 8:47 AM, Dong Xu Wang
wdon...@linux.vnet.ibm.com 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;
+
On 3 December 2012 11:58, walimis walimis...@gmail.com 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
On Mon, Dec 03, 2012 at 12:10:02PM +, Peter Maydell wrote:
On 3 December 2012 11:58, walimis walimis...@gmail.com 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?
On Fri, Nov 23, 2012 at 8:47 AM, Dong Xu Wang
wdon...@linux.vnet.ibm.com 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
On Fri, Nov 23, 2012 at 8:47 AM, Dong Xu Wang
wdon...@linux.vnet.ibm.com 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:
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 O_NONBLOCK is not
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 peter.crosthwa...@xilinx.com
---
hw/a9mpcore.c |1 -
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 arm...@redhat.com
---
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 s...@weilnetz.de
---
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-off-by:
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 default
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 arm...@redhat.com
---
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 interfaces. It
Stefan Hajnoczi stefa...@gmail.com 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)
Am 30.11.2012 16:36, schrieb Roy Tam:
2012/11/30 Roy Tam roy...@gmail.com:
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
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= property;
Sorry, I
On 3 December 2012 13:37, Gerd Hoffmann kra...@redhat.com 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
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 EHCI
Am 14.11.2012 23:53, schrieb Corey Bryant:
Signed-off-by: Corey Bryant cor...@linux.vnet.ibm.com
---
tests/qemu-iotests/044| 129
++
tests/qemu-iotests/044.out| 5 ++
tests/qemu-iotests/group | 1 +
tests/qemu-iotests/iotests.py
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,
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, the PCI is added
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 imamm...@redhat.com
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 imamm...@redhat.com
---
target-i386/cpu.c
From: Igor Mammedov imamm...@redhat.com
Signed-off-by: Igor Mammedov imamm...@redhat.com
---
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
---
From: Igor Mammedov imamm...@redhat.com
Signed-off-by: Igor Mammedov imamm...@redhat.com
Acked-by: Andreas Färber afaer...@suse.de
---
qapi/qapi-visit-core.c | 11 +++
qapi/qapi-visit-core.h | 2 ++
qapi/string-input-visitor.c | 22 ++
3 files changed, 35
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
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]
From: Igor Mammedov imamm...@redhat.com
Signed-off-by: Igor Mammedov imamm...@redhat.com
Reviewed-by: Andreas Färber afaer...@suse.de
---
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
---
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
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 andreas.faer...@web.de
---
hw/usb/hcd-ehci-sysbus.c | 26 --
1 Datei geändert, 24 Zeilen hinzugefügt(+), 2 Zeilen entfernt(-)
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 pull
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 walimis...@gmail.com
Signed-off-by: Andreas Färber andreas.faer...@web.de
Cc: Igor Mitsyanko i.mitsya...@samsung.com
---
hw/usb/hcd-ehci-sysbus.c | 15
On 12/02/2012 06:57 AM, Andreas Färber wrote:
From: Liming Wang walimis...@gmail.com
Add EHCI USB host controller to exynos4210.
Signed-off-by: Liming Wang walimis...@gmail.com
[AF: Use type constant]
Signed-off-by: Andreas Färber andreas.faer...@web.de
---
hw/exynos4210.c |7 +++
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
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
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 don't
This patch adds support for directly passing the iovec
array from QEMUIOVector if libiscsi supports it.
Signed-off-by: Peter Lieven p...@kamp.de
---
block/iscsi.c | 31 +++
1 file changed, 31 insertions(+)
diff --git a/block/iscsi.c b/block/iscsi.c
index
Per the datasheet, the DATE (wday) register is user defined. Implement this.
Signed-off-by: Antoine Mathys barsa...@gmail.com
---
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
---
On Fri, 30 Nov 2012 17:27:17 -0200
Eduardo Habkost ehabk...@redhat.com 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
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:
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 until
On Fri, 30 Nov 2012 17:27:17 -0200
Eduardo Habkost ehabk...@redhat.com 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
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,
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 er...@mips.com 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-
On 3 December 2012 21:20, Alexander Graf ag...@suse.de 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
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 m...@tls.msk.ru
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
From: Joel Martin git...@martintribe.org
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
From: Jan Kiszka jan.kis...@siemens.com
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 jan.kis...@siemens.com
Signed-off-by: Aurelien Jarno aurel...@aurel32.net
From: Paolo Bonzini pbonz...@redhat.com
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
$
From: Gerd Hoffmann kra...@redhat.com
Used to be UTB not USB.
Signed-off-by: Gerd Hoffmann kra...@redhat.com
(cherry picked from commit 0ebfb144e8ad3f2da436d630fdcc5aa9ab646341)
Signed-off-by: Michael Roth mdr...@linux.vnet.ibm.com
---
hw/usb/hcd-xhci.c |4 ++--
1 file changed, 2
From: Aurelien Jarno aurel...@aurel32.net
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
From: Alexander Graf ag...@suse.de
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 ag...@suse.de
Acked-by: Richard Henderson r...@twiddle.net
From: Aurelien Jarno aurel...@aurel32.net
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 r...@twiddle.net
Cc: Blue Swirl
From: Alexander Graf ag...@suse.de
Device tree properties need to be specified in big endian. Fix the
bamboo memory size property accordingly.
Signed-off-by: Alexander Graf ag...@suse.de
CC: qemu-sta...@nongnu.org
(cherry picked from commit 5232fa59b17b45c04bd24e0d38224964816bf391)
From: Paolo Bonzini pbonz...@redhat.com
Tools were broken because they initialized the block layer while
qemu_aio_context was still NULL.
Reported-by: malc av1...@comtv.ru
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
Signed-off-by: malc av1...@comtv.ru
(cherry picked from commit
From: Meador Inge mead...@codesourcery.com
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 mead...@codesourcery.com
Reviewed-by: Andreas Färber afaer...@suse.de
Signed-off-by: Peter Maydell
From: 陳韋任 (Wei-Ren Chen) che...@iis.sinica.edu.tw
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
From: Aurelien Jarno aurel...@aurel32.net
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
From: Hans de Goede hdego...@redhat.com
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
From: Stefan Weil s...@weilnetz.de
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
From: Paolo Bonzini pbonz...@redhat.com
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 arm...@redhat.com
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
Signed-off-by:
From: Paolo Bonzini pbonz...@redhat.com
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
From: Paolo Bonzini pbonz...@redhat.com
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
From: Julio Guerra gu...@julio.in
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
From: Richard Henderson r...@twiddle.net
Fixes the pointer truncation that was occurring for branches.
Cc: Stefan Weil s...@weilnetz.de
Cc: Blue Swirl blauwir...@gmail.com
Signed-off-by: Richard Henderson r...@twiddle.net
Reviewed-by: Stefan Weil s...@weilnetz.de
Tested-by: Stefan Weil
From: Don Slutz d...@cloudswitch.com
The check using INT_MAX (2147483647) is wrong in this case.
Signed-off-by: Fred Oliveira folive...@cloudswitch.com
Signed-off-by: Don Slutz d...@cloudswitch.com
Signed-off-by: Stefan Hajnoczi stefa...@gmail.com
(cherry picked from commit
From: Kevin Wolf kw...@redhat.com
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 kw...@redhat.com
Reviewed-by: Michael
From: Alon Levy al...@redhat.com
As suggested by Paolo Bonzini, to avoid possible integer overflow issues.
Signed-off-by: Alon Levy al...@redhat.com
Signed-off-by: Gerd Hoffmann kra...@redhat.com
(cherry picked from commit c5825ac6c861bfe1a4adfa27517931b56079e298)
Signed-off-by: Michael Roth
From: Bruce Rogers brog...@suse.com
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 brog...@suse.com
Reviewed-by: Michael Roth
From: Stefan Hajnoczi stefa...@redhat.com
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 \
On Mon, Dec 03, 2012 at 10:20:03PM +0100, Igor Mammedov wrote:
On Fri, 30 Nov 2012 17:27:17 -0200
Eduardo Habkost ehabk...@redhat.com 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
From: Peter Lieven p...@dlhnet.de
If an invalid URL is specified iscsi_get_error(iscsi) is called
with iscsi == NULL.
Signed-off-by: Peter Lieven p...@kamp.de
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
(cherry picked from commit 8da1e18b0cf46b6c95c88bbad1cc50d6dd1bef4b)
Signed-off-by:
From: David Gibson da...@gibson.dropbear.id.au
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
From: Dietmar Maurer diet...@proxmox.com
The formula to compute slice_quota was wrong since commit 6ef228fc.
Signed-off-by: Dietmar Maurer diet...@proxmox.com
Reviewed-by: Eric Blake ebl...@redhat.com
Signed-off-by: Kevin Wolf kw...@redhat.com
(cherry picked from commit
From: Stefan Hajnoczi stefa...@redhat.com
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
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
From: Yonit Halperin yhalp...@redhat.com
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
1 - 100 of 158 matches
Mail list logo