Re: [Qemu-devel] [Question] dump memory when host pci device is used by guest

2011-10-10 Thread Jan Kiszka
On 2011-10-11 04:20, Wen Congyang wrote: The other reason why it would be good, is that we would then have a clearly defined standard "QEMU dump format", instead of "libvirt dump format for QEMU" >>> >>> A core file would be that format - for direct gdb processing. No >>> proprietar

Re: [Qemu-devel] [PATCH 0/6] block: do request processing in a coroutine

2011-10-10 Thread Zhi Yong Wu
On Thu, Oct 6, 2011 at 12:17 AM, Stefan Hajnoczi wrote: > Block layer features like dirty block tracing, I/O throttling, and live block > copy are forced to duplicate code due to the three different interfaces: > synchronous, asynchronous, and coroutines. > > Since there are bdrv_read(), bdrv_aio_

Re: [Qemu-devel] [PATCH 6/6] block: switch bdrv_aio_writev() to coroutines

2011-10-10 Thread Zhi Yong Wu
On Thu, Oct 6, 2011 at 12:17 AM, Stefan Hajnoczi wrote: > More sync, aio, and coroutine unification.  Make bdrv_aio_writev() go > through coroutine request processing. > > Remove the dirty block callback mechanism which was needed only for aio > processing and can be done more naturally in corouti

Re: [Qemu-devel] [PATCH 3/6] block: switch bdrv_read()/bdrv_write() to coroutines

2011-10-10 Thread Zhi Yong Wu
On Thu, Oct 6, 2011 at 12:17 AM, Stefan Hajnoczi wrote: > The bdrv_read()/bdrv_write() functions call .bdrv_read()/.bdrv_write(). > They should go through bdrv_co_do_readv() and bdrv_co_do_writev() > instead in order to unify request processing code across sync, aio, and > coroutine interfaces.  T

Re: [Qemu-devel] [PATCH] virtio-9p: fix QEMU build break

2011-10-10 Thread Zhi Yong Wu
On Tue, Oct 11, 2011 at 12:49 AM, Aneesh Kumar K.V wrote: > On Mon, 10 Oct 2011 22:05:21 +0530, "Aneesh Kumar K.V" > wrote: >> On Mon, 10 Oct 2011 18:30:28 +0800, Zhi Yong Wu >> wrote: >> > qemu build break due to the redefinition of struct file_handle. My >> > qemu.git/HEAD is 8acbc9b21d757a

[Qemu-devel] [Bug 861141] Re: Installing libvirt-bin qemu slows host network

2011-10-10 Thread michael imelfort
It's been a few weeks and I'm still stuck on this. The system is working but I'm not happy with it's performance. Perhaps this is the wrong place to put this bug? If it is then could someone please guide me to where it would be better to log it. -- You received this bug notification because you

[Qemu-devel] buildbot failure in qemu on ppc-next_x86_64_debian_6_0

2011-10-10 Thread qemu
The Buildbot has detected a new failure on builder ppc-next_x86_64_debian_6_0 while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/ppc-next_x86_64_debian_6_0/builds/57 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: yuzuki

[Qemu-devel] buildbot failure in qemu on ppc-next_i386_debian_6_0

2011-10-10 Thread qemu
The Buildbot has detected a new failure on builder ppc-next_i386_debian_6_0 while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/ppc-next_i386_debian_6_0/builds/57 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: yuzuki Bui

Re: [Qemu-devel] Safely reopening image files by stashing fds

2011-10-10 Thread Supriya Kannery
On 10/10/2011 11:58 PM, Kevin Wolf wrote: Am 09.08.2011 11:22, schrieb supriya kannery: Kevin Wolf wrote: Am 08.08.2011 09:02, schrieb Supriya Kannery: On 08/05/2011 09:19 PM, Anthony Liguori wrote: On 08/05/2011 10:43 AM, Kevin Wolf wrote: Am 05.08.2011 17:24, schrieb Stefan Hajnoczi:

[Qemu-devel] [PATCH 2/2] pseries: Add device tree properties for VMX/VSX and DFP under kvm

2011-10-10 Thread David Gibson
Sufficiently recent PAPR specifications define properties "ibm,vmx" and "ibm,dfp" on the CPU node which advertise whether the VMX vector extensions (or the later VSX version) and/or the Decimal Floating Point operations from IBM's recent POWER CPUs are available. Currently we do not put these in t

[Qemu-devel] [PATCH 1/2] ppc: Generalize the kvmppc_get_clockfreq() function

2011-10-10 Thread David Gibson
Currently the kvmppc_get_clockfreq() function reads the host's clock frequency from /proc/device-tree, which is useful to past to the guest in KVM setups. However, there are some other host properties advertised in the device tree which can also be relevant to the guests. This patch, therefore, r

Re: [Qemu-devel] [PATCH 1/3] ppc: Generalize the kvmppc_get_clockfreq() function

2011-10-10 Thread David Gibson
On Fri, Sep 30, 2011 at 08:06:59PM +0200, Alexander Graf wrote: > > Am 30.09.2011 um 09:50 schrieb David Gibson : > > > Currently the kvmppc_get_clockfreq() function reads the host's clock > > frequency from /proc/device-tree, which is useful to past to the guest > > in KVM setups. However, ther

[Qemu-devel] Build bug in virtio-9p-handle.c

2011-10-10 Thread David Gibson
virtio-9p-handle.c relies on a "struct file_handle". From the code it appears that this is defined in sufficiently recent glibc versions. Specifically, the file defines the structure itself if built on a glibc version < 2.14. However, this test does not appear to be correct. Fedora 16, for examp

[Qemu-devel] [v7 Patch 5/5]Qemu: New struct 'BDRVReopenState' for image files reopen

2011-10-10 Thread Supriya Kannery
Struct BDRVReopenState introduced for handling reopen state of images. This can be extended by each of the block drivers to reopen respective image files. Implementation for raw-posix is done here. Signed-off-by: Supriya Kannery --- block.c | 46 ---

[Qemu-devel] [v7 Patch 4/5]Qemu: Add commandline -drive option 'hostcache'

2011-10-10 Thread Supriya Kannery
qemu command option 'hostcache' added to -drive for block devices. While starting a VM from qemu commandline, this option can be used for setting host cache usage for block data access. Simultaneous use of 'hostcache' and 'cache' options not allowed. Signed-off-by: Supriya Kannery --- blockdev

[Qemu-devel] [v7 Patch 3/5]Qemu: Cmd "block_set_hostcache" for dynamic cache change

2011-10-10 Thread Supriya Kannery
New command "block_set_hostcache" added for dynamically changing host pagecache setting of a block device. Usage: block_set_hostcache = block device = on/off Example: (qemu) block_set_hostcache ide0-hd0 off Signed-off-by: Supriya Kannery --- block.c | 54 +

[Qemu-devel] [v7 Patch 2/5]Qemu: Error classes for file reopen and data sync failure

2011-10-10 Thread Supriya Kannery
New error classes defined for file reopen failure and data sync error Signed-off-by: Supriya Kannery --- qerror.c |8 qerror.h |6 ++ 2 files changed, 14 insertions(+) Index: qemu/qerror.c === --- qemu.orig/qe

[Qemu-devel] [v7 Patch 1/5]Qemu: Enhance "info block" to display host cache setting

2011-10-10 Thread Supriya Kannery
Enhance "info block" to display hostcache setting for each block device. Example: (qemu) info block ide0-hd0: removable=0 file=../sles11-32.raw ro=0 drv=raw encrypted=0 Enhanced to display "hostcache" setting: (qemu) info block ide0-hd0: removable=0 hostcache=1 file=../sles11-32.raw ro=0 drv=raw

[Qemu-devel] [v7 Patch 0/5]Qemu: Host pagecache setting from cmdline and monitor

2011-10-10 Thread Supriya Kannery
Currently cache setting of a block device cannot be changed without restarting a running VM. Following patchset is for enabling dynamic change of cache setting for block devices through qemu monitor and qmp. Code changes are based on patches from Christoph Hellwig and Prerna Saxena. This patch

Re: [Qemu-devel] [Question] dump memory when host pci device is used by guest

2011-10-10 Thread Wen Congyang
At 10/10/2011 05:34 PM, Jan Kiszka Write: > On 2011-10-10 11:02, Daniel P. Berrange wrote: > Run gdb with "set debug remote 1" and watch the communication, it is not > that complex. But a dump command is probably simpler for those > scenarios, I agree. We have determined to introduce a new comman

Re: [Qemu-devel] [Question] dump memory when host pci device is used by guest

2011-10-10 Thread Wen Congyang
At 10/10/2011 06:19 PM, Daniel P. Berrange Write: > On Mon, Oct 10, 2011 at 11:34:44AM +0200, Jan Kiszka wrote: >> On 2011-10-10 11:10, Daniel P. Berrange wrote: >>> On Mon, Oct 10, 2011 at 10:08:26AM +0100, Daniel P. Berrange wrote: On Mon, Oct 10, 2011 at 10:21:02AM +0800, Wen Congyang wrote

Re: [Qemu-devel] [0/4] pseries: Support and improvements for KVM Book3S-HV support (v2)

2011-10-10 Thread David Gibson
On Tue, Oct 11, 2011 at 02:20:48AM +0200, Alexander Graf wrote: > > On 11.10.2011, at 01:39, David Gibson wrote: > > > On Fri, Oct 07, 2011 at 08:57:49AM +0200, Alexander Graf wrote: > >> > >> On 30.09.2011, at 09:39, David Gibson wrote: > >> > >>> Alex Graf has added support for KVM accelerati

Re: [Qemu-devel] [0/4] pseries: Support and improvements for KVM Book3S-HV support (v2)

2011-10-10 Thread Alexander Graf
On 11.10.2011, at 01:39, David Gibson wrote: > On Fri, Oct 07, 2011 at 08:57:49AM +0200, Alexander Graf wrote: >> >> On 30.09.2011, at 09:39, David Gibson wrote: >> >>> Alex Graf has added support for KVM acceleration of the pseries >>> machine, using his Book3S-PR KVM variant, which runs the g

Re: [Qemu-devel] [0/4] pseries: Support and improvements for KVM Book3S-HV support (v2)

2011-10-10 Thread David Gibson
On Fri, Oct 07, 2011 at 08:57:49AM +0200, Alexander Graf wrote: > > On 30.09.2011, at 09:39, David Gibson wrote: > > > Alex Graf has added support for KVM acceleration of the pseries > > machine, using his Book3S-PR KVM variant, which runs the guest in > > userspace, emulating supervisor operatio

Re: [Qemu-devel] Hack integrating SeaBios / LinuxBoot option rom with QEMU trace backends

2011-10-10 Thread Kevin O'Connor
On Mon, Oct 10, 2011 at 06:08:03PM +0100, Daniel P. Berrange wrote: > I've been investigating where time disappears to when booting Linux guests. > > Initially I enabled DEBUG_BIOS in QEMU's hw/pc.c, and then hacked it so > that it could print a timestamp before each new line of debug output. The

[Qemu-devel] [PATCH] QMP: Fix blockdev-snapshot-sync doc example

2011-10-10 Thread Luiz Capitulino
Fix wrong command name. Reported-by: Eric Blake Signed-off-by: Luiz Capitulino --- qmp-commands.hx |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/qmp-commands.hx b/qmp-commands.hx index ea96191..9edb3b9 100644 --- a/qmp-commands.hx +++ b/qmp-commands.hx @@ -710,

Re: [Qemu-devel] [PATCH v3 0/6]: block: Add I/O status support

2011-10-10 Thread Luiz Capitulino
On Mon, 10 Oct 2011 19:30:32 +0200 Kevin Wolf wrote: > Am 26.09.2011 22:43, schrieb Luiz Capitulino: > > This series adds support to the block layer to keep track of devices' > > I/O status. That information is also made available in QMP and HMP. > > > > The goal here is to allow management appl

Re: [Qemu-devel] Hack integrating SeaBios / LinuxBoot option rom with QEMU trace backends

2011-10-10 Thread Alexander Graf
On 10.10.2011, at 20:53, Anthony Liguori wrote: > On 10/10/2011 12:08 PM, Daniel P. Berrange wrote: >> I've been investigating where time disappears to when booting Linux guests. >> >> Initially I enabled DEBUG_BIOS in QEMU's hw/pc.c, and then hacked it so >> that it could print a timestamp befo

Re: [Qemu-devel] Hack integrating SeaBios / LinuxBoot option rom with QEMU trace backends

2011-10-10 Thread Anthony Liguori
On 10/10/2011 12:08 PM, Daniel P. Berrange wrote: I've been investigating where time disappears to when booting Linux guests. Initially I enabled DEBUG_BIOS in QEMU's hw/pc.c, and then hacked it so that it could print a timestamp before each new line of debug output. The problem with that is tha

Re: [Qemu-devel] [PATCH v2] runstate: add more valid transitions

2011-10-10 Thread Luiz Capitulino
On Tue, 4 Oct 2011 15:15:40 +0200 Paolo Bonzini wrote: > This patch adds more valid transitions to the table, and avoids > that the VM remains stuck in RSTATE_SAVEVM state when savevm is > done on a paused virtual machine. > > Signed-off-by: Paolo Bonzini Looks good, but it needs to be rebase

Re: [Qemu-devel] [PATCH] runstate: do not discard runstate changes when paused

2011-10-10 Thread Luiz Capitulino
On Tue, 4 Oct 2011 14:04:45 +0200 Paolo Bonzini wrote: > Trying to migrate a paused machine fails. The reason is that > the RSTATE_PRE_MIGRATE is reached with vm_stop, and this > transition is eaten when the vm is already paused. This patch > fixes the problem by always going through runstate_

Re: [Qemu-devel] Safely reopening image files by stashing fds

2011-10-10 Thread Kevin Wolf
Am 09.08.2011 11:22, schrieb supriya kannery: > Kevin Wolf wrote: >> Am 08.08.2011 09:02, schrieb Supriya Kannery: >> >>> On 08/05/2011 09:19 PM, Anthony Liguori wrote: >>> On 08/05/2011 10:43 AM, Kevin Wolf wrote: > Am 05.08.2011 17:24, schrieb Stefan Hajnoczi: >

[Qemu-devel] [PATCH] vvfat: Fix potential buffer overflow

2011-10-10 Thread Kevin Wolf
path2[PATH_MAX] can be used for the null termination, so make the array big enough to allow this. Signed-off-by: Kevin Wolf --- block/vvfat.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/block/vvfat.c b/block/vvfat.c index ba207e2..7e9e35a 100644 --- a/block/vvfat.c

Re: [Qemu-devel] [PATCH] block/vvfat: Remove unused code

2011-10-10 Thread Kevin Wolf
Am 01.10.2011 09:05, schrieb Stefan Weil: > The unused code was detected using cppcheck. > > Cc: Kevin Wolf > Signed-off-by: Stefan Weil Thanks, applied to the block branch. Kevin

Re: [Qemu-devel] [PATCH] block/vvfat: Fix potential memory leaks and other memory errors

2011-10-10 Thread Kevin Wolf
Am 30.09.2011 23:29, schrieb Stefan Weil: > cppcheck reported memory leaks and mismatched g_malloc() with free() > instead of g_free(). > > Fix these errors. > > Cc: Kevin Wolf > Signed-off-by: Stefan Weil Thanks, applied to the block branch. Kevin

Re: [Qemu-devel] [PATCH v3 0/6]: block: Add I/O status support

2011-10-10 Thread Kevin Wolf
Am 26.09.2011 22:43, schrieb Luiz Capitulino: > This series adds support to the block layer to keep track of devices' > I/O status. That information is also made available in QMP and HMP. > > The goal here is to allow management applications that miss the > BLOCK_IO_ERROR event to able to query th

[Qemu-devel] Hack integrating SeaBios / LinuxBoot option rom with QEMU trace backends

2011-10-10 Thread Daniel P. Berrange
I've been investigating where time disappears to when booting Linux guests. Initially I enabled DEBUG_BIOS in QEMU's hw/pc.c, and then hacked it so that it could print a timestamp before each new line of debug output. The problem with that is that it slowed down startup, so the timings I was exami

Re: [Qemu-devel] [PATCH] virtio-9p: fix QEMU build break

2011-10-10 Thread Aneesh Kumar K.V
On Mon, 10 Oct 2011 22:05:21 +0530, "Aneesh Kumar K.V" wrote: > On Mon, 10 Oct 2011 18:30:28 +0800, Zhi Yong Wu > wrote: > > qemu build break due to the redefinition of struct file_handle. My > > qemu.git/HEAD is 8acbc9b21d757a6be4f8492e547b8159703a0547 > > > > Below is the log: > > [root@f15

Re: [Qemu-devel] [PATCH 0/2] usb-ohci: fixes to allow usb-net to work

2011-10-10 Thread Peter Maydell
On 14 September 2011 18:48, Peter Maydell wrote: > This patchset contains a couple of fixes to usb-ohci which I had to make > in the course of getting usb-net to work on the Beagle (which uses OHCI > rather than UHCI). The main one is making the usb-ohci controller model > honour the endpoint maxi

[Qemu-devel] [PATCH v2 1/5] target-arm: v6 media multiply space: UNDEF on unassigned encodings

2011-10-10 Thread Peter Maydell
Clean up the decoding of the v6 media multiply space so that we UNDEF on unassigned encodings rather than randomly interpreting them as some instruction in this space. Signed-off-by: Peter Maydell --- target-arm/translate.c | 24 1 files changed, 20 insertions(+), 4 de

Re: [Qemu-devel] [PATCH] virtio-9p: fix QEMU build break

2011-10-10 Thread Aneesh Kumar K.V
On Mon, 10 Oct 2011 18:30:28 +0800, Zhi Yong Wu wrote: > qemu build break due to the redefinition of struct file_handle. My > qemu.git/HEAD is 8acbc9b21d757a6be4f8492e547b8159703a0547 > > Below is the log: > [root@f15 qemu]# make > CCqapi-generated/qga-qapi-types.o > LINK qemu-ga > C

[Qemu-devel] [PATCH 13/24] fdc: Convert to isa_register_portio_list

2011-10-10 Thread Avi Kivity
From: Richard Henderson Signed-off-by: Richard Henderson Signed-off-by: Avi Kivity --- hw/fdc.c | 34 -- 1 files changed, 4 insertions(+), 30 deletions(-) diff --git a/hw/fdc.c b/hw/fdc.c index 0f1cee9..4b06e04 100644 --- a/hw/fdc.c +++ b/hw/fdc.c @@ -424,7 +

[Qemu-devel] [PATCH v2 2/5] target-arm: Rename ARM_FEATURE_DIV to _THUMB_DIV

2011-10-10 Thread Peter Maydell
Rename the ARM_FEATURE_DIV feature bit to _THUMB_DIV, to make room for a new feature switch enabling DIV in the ARM encoding. (Cores may implement either (a) no divide insns (b) divide insns in Thumb encodings only (c) divide insns in both ARM and Thumb encodings.) Signed-off-by: Peter Maydell --

Re: [Qemu-devel] buildbot failure in qemu on default_openbsd_4.9

2011-10-10 Thread Kevin Wolf
Am 10.10.2011 17:35, schrieb Daniel Gollub: > Hi Gerd, Hi Kevin, > > On Monday, October 10, 2011 04:23:28 PM Gerd Hoffmann wrote: >>> Gerd, Brad, does one of your buildbots have some resources left to build >>> the block branch on OpenBSD (and for Gerd, possibly mingw) as well? >> >> No problem, c

[Qemu-devel] [PATCH 09/24] isa: Tidy support code for isabus_get_fw_dev_path

2011-10-10 Thread Avi Kivity
From: Richard Henderson The only user of ISADevice.ioports is isabus_get_fw_dev_path, and it only looks at the first entry of the array. Which suggests that this entire array+sort operation can be replaced by a simple minimum. Signed-off-by: Richard Henderson Signed-off-by: Avi Kivity --- hw

[Qemu-devel] [PATCH 15/24] m48t59: Convert to isa_register_ioport

2011-10-10 Thread Avi Kivity
From: Richard Henderson The sysbus interface is as yet unconverted. Signed-off-by: Richard Henderson Signed-off-by: Avi Kivity --- hw/m48t59.c | 15 --- 1 files changed, 12 insertions(+), 3 deletions(-) diff --git a/hw/m48t59.c b/hw/m48t59.c index 0cc361e..f318e67 100644 --- a/

[Qemu-devel] [PATCH 14/24] gus: Convert to isa_register_portio_list

2011-10-10 Thread Avi Kivity
From: Richard Henderson Signed-off-by: Richard Henderson Signed-off-by: Avi Kivity --- hw/gus.c | 38 +++--- 1 files changed, 19 insertions(+), 19 deletions(-) diff --git a/hw/gus.c b/hw/gus.c index a65192d..b5eb548 100644 --- a/hw/gus.c +++ b/hw/gus.c @@ -23

[Qemu-devel] [PATCH v2 3/5] target-arm: Add ARM UDIV/SDIV support

2011-10-10 Thread Peter Maydell
Add support for UDIV and SDIV in ARM mode. This is a new optional feature for A profile cores (Thumb mode has had UDIV and SDIV for M profile cores for some time). Signed-off-by: Peter Maydell --- target-arm/cpu.h |1 + target-arm/helper.c|5 - target-arm/translate.c | 19

[Qemu-devel] [PATCH v2 4/5] softfloat: Implement fused multiply-add

2011-10-10 Thread Peter Maydell
Implement fused multiply-add as a softfloat primitive. This implements "a+b*c" as a single step without any intermediate rounding; it is specified in IEEE 754-2008 and implemented in a number of CPUs. Signed-off-by: Peter Maydell --- fpu/softfloat-specialize.h | 178 ++ fpu/soft

[Qemu-devel] [PATCH v2 5/5] target-arm: Implement VFPv4 fused multiply-accumulate insns

2011-10-10 Thread Peter Maydell
Implement the fused multiply-accumulate instructions (VFMA, VFMS, VFNMA, VFNMS) which are new in VFPv4. Signed-off-by: Peter Maydell --- target-arm/cpu.h |1 + target-arm/helper.c| 14 + target-arm/helper.h|3 ++ target-arm/translate.c | 72 +

[Qemu-devel] [PATCH v2 0/5] target-arm: Implement UDIV/SDIV and fused multiply-accumulate

2011-10-10 Thread Peter Maydell
This patch series implements support in QEMU for some (user-mode) instructions which are present on some recent processors (eg Cortex-A15). The new instructions are UDIV/SDIV (previously only available as a Thumb encoding for R and M-class cores, now an optional extension to ARMv7A), and the fused

[Qemu-devel] [PATCH 22/24] vmport: Convert to isa_register_ioport

2011-10-10 Thread Avi Kivity
From: Richard Henderson Signed-off-by: Richard Henderson Signed-off-by: Avi Kivity --- hw/vmport.c | 16 +--- 1 files changed, 13 insertions(+), 3 deletions(-) diff --git a/hw/vmport.c b/hw/vmport.c index c8aefaa..b5c6fa1 100644 --- a/hw/vmport.c +++ b/hw/vmport.c @@ -38,6 +38,7

[Qemu-devel] [PATCH 16/24] rtc: Convert to isa_register_ioport

2011-10-10 Thread Avi Kivity
From: Richard Henderson Signed-off-by: Richard Henderson Signed-off-by: Avi Kivity --- hw/mc146818rtc.c | 15 --- 1 files changed, 12 insertions(+), 3 deletions(-) diff --git a/hw/mc146818rtc.c b/hw/mc146818rtc.c index feb3b25..2aaca2f 100644 --- a/hw/mc146818rtc.c +++ b/hw/mc14

[Qemu-devel] [PATCH 06/24] hw/arm11mpcore: Clean up to avoid using sysbus_mmio_init_cb2

2011-10-10 Thread Avi Kivity
From: Peter Maydell Clean up the initialisation of the realview_mpcore device to avoid using sysbus_init_mmio_cb2(): we can pass through the MemoryRegion of the private arm11mpcore_priv device directly now. Signed-off-by: Peter Maydell Signed-off-by: Avi Kivity --- hw/arm11mpcore.c | 13 +--

[Qemu-devel] [PATCH 03/24] petalogix_ml605: convert to memory API

2011-10-10 Thread Avi Kivity
Signed-off-by: Avi Kivity --- hw/petalogix_ml605_mmu.c | 15 +++ 1 files changed, 7 insertions(+), 8 deletions(-) diff --git a/hw/petalogix_ml605_mmu.c b/hw/petalogix_ml605_mmu.c index 2a0f7fd..fb4ba29 100644 --- a/hw/petalogix_ml605_mmu.c +++ b/hw/petalogix_ml605_mmu.c @@ -149,8 +

[Qemu-devel] [PATCH 10/24] Introduce PortioList

2011-10-10 Thread Avi Kivity
Add a type and methods for manipulating a list of disjoint I/O ports, used in some older hardware devices. Based on original patch by Richard Henderson. Signed-off-by: Richard Henderson Signed-off-by: Avi Kivity --- Makefile.objs |2 +- Makefile.target |2 +- ioport.c| 108 +

[Qemu-devel] [PATCH 04/24] petalogix_s2adsp1800: convert to memory API

2011-10-10 Thread Avi Kivity
Signed-off-by: Avi Kivity --- hw/petalogix_s3adsp1800_mmu.c | 18 ++ 1 files changed, 10 insertions(+), 8 deletions(-) diff --git a/hw/petalogix_s3adsp1800_mmu.c b/hw/petalogix_s3adsp1800_mmu.c index 66fb96d..17da2fd 100644 --- a/hw/petalogix_s3adsp1800_mmu.c +++ b/hw/petalogix

[Qemu-devel] [PATCH 17/24] ne2000: Convert to isa_register_ioport

2011-10-10 Thread Avi Kivity
From: Richard Henderson Signed-off-by: Richard Henderson Signed-off-by: Avi Kivity --- hw/ne2000-isa.c |5 + 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/hw/ne2000-isa.c b/hw/ne2000-isa.c index 756ed5c..11ffee7 100644 --- a/hw/ne2000-isa.c +++ b/hw/ne2000-isa.c @@ -68

[Qemu-devel] [PATCH 08/24] ppc_newworld: convert to memory API

2011-10-10 Thread Avi Kivity
Signed-off-by: Avi Kivity --- hw/ppc_newworld.c | 39 +-- 1 files changed, 17 insertions(+), 22 deletions(-) diff --git a/hw/ppc_newworld.c b/hw/ppc_newworld.c index b9a50db..8c84f9e 100644 --- a/hw/ppc_newworld.c +++ b/hw/ppc_newworld.c @@ -84,12 +84,13 @@

[Qemu-devel] [PATCH 12/24] isa: Add isa_register_portio_list()

2011-10-10 Thread Avi Kivity
Signed-off-by: Richard Henderson Signed-off-by: Avi Kivity --- hw/isa-bus.c | 17 + hw/isa.h | 31 ++- 2 files changed, 47 insertions(+), 1 deletions(-) diff --git a/hw/isa-bus.c b/hw/isa-bus.c index e9c1712..5d8ff84 100644 --- a/hw/isa-bus.c

[Qemu-devel] [PULL 00/24] Memory API, batch 11

2011-10-10 Thread Avi Kivity
Please pull from: git://github.com/avikivity memory/batch This has been on the list for a bit, with no comments so far. Avi Kivity (7): palm: convert to memory API petalogix_ml605: convert to memory API petalogix_s2adsp1800: convert to memory API ppc405_boards: convert to memory API

[Qemu-devel] [PATCH 19/24] sb16: Convert to isa_register_portio_list

2011-10-10 Thread Avi Kivity
From: Richard Henderson Signed-off-by: Richard Henderson Signed-off-by: Avi Kivity --- hw/sb16.c | 32 +--- 1 files changed, 13 insertions(+), 19 deletions(-) diff --git a/hw/sb16.c b/hw/sb16.c index aca52e0..f0658ac 100644 --- a/hw/sb16.c +++ b/hw/sb16.c @@ -134

[Qemu-devel] [PATCH 07/24] hw/versatile_pci: Expose multiple sysbus mmio regions

2011-10-10 Thread Avi Kivity
From: Peter Maydell Clean up versatile_pci to expose the various PCI mmio regions properly as separate mmio regions rather than as a single mmio which uses callbacks to map and unmap everything. Signed-off-by: Peter Maydell Signed-off-by: Avi Kivity --- hw/realview.c | 12 ++--

[Qemu-devel] [PATCH 20/24] vga: Convert to isa_register_portio_list

2011-10-10 Thread Avi Kivity
From: Richard Henderson [jan: fix cut'n'paste errors] [avi: adjust pci variants not to use isa functions] Signed-off-by: Richard Henderson Signed-off-by: Jan Kiszka Signed-off-by: Avi Kivity --- hw/qxl.c|2 +- hw/vga-isa.c| 17 hw/vga-pci.c|2 +- hw/vga

[Qemu-devel] [PATCH 05/24] ppc405_boards: convert to memory API

2011-10-10 Thread Avi Kivity
Signed-off-by: Avi Kivity --- hw/ppc405_boards.c | 85 ++- 1 files changed, 37 insertions(+), 48 deletions(-) diff --git a/hw/ppc405_boards.c b/hw/ppc405_boards.c index 9136288..672e934 100644 --- a/hw/ppc405_boards.c +++ b/hw/ppc405_boards.c @@

[Qemu-devel] [PATCH 11/24] memory: Fix old portio word accesses

2011-10-10 Thread Avi Kivity
From: Jan Kiszka As we register old portio regions via ioport_register, we are also responsible for providing the word access wrapper. Signed-off-by: Jan Kiszka Signed-off-by: Avi Kivity --- memory.c | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/memory.c b

[Qemu-devel] [PATCH 02/24] palm: convert to memory API

2011-10-10 Thread Avi Kivity
Signed-off-by: Avi Kivity --- hw/palm.c | 53 + 1 files changed, 25 insertions(+), 28 deletions(-) diff --git a/hw/palm.c b/hw/palm.c index d8f50e3..094bfde 100644 --- a/hw/palm.c +++ b/hw/palm.c @@ -54,16 +54,12 @@ static void static_write(v

Re: [Qemu-devel] [PATCH 0/1] [PULL] qemu-kvm.git uq/master queue

2011-10-10 Thread Avi Kivity
On 10/10/2011 05:36 PM, Anthony Liguori wrote: Ok. So bumping the version is only right if we don't fix subsections. If we bump *any* version from 0.15 -> 1.0, then there's no point at all in having a subsection. Did we bump versions of relevant devices? If we break compatibility by using

[Qemu-devel] [PATCH 24/24] isa: Remove isa_init_ioport_range and isa_init_ioport

2011-10-10 Thread Avi Kivity
From: Richard Henderson All users have been converted to either isa_register_ioport or isa_register_old_portio_list. Signed-off-by: Richard Henderson Signed-off-by: Avi Kivity --- hw/isa-bus.c | 19 +-- hw/isa.h |2 -- 2 files changed, 5 insertions(+), 16 deletions(-

Re: [Qemu-devel] [PATCH 0/1] [PULL] qemu-kvm.git uq/master queue

2011-10-10 Thread Anthony Liguori
On 10/10/2011 10:24 AM, Avi Kivity wrote: On 10/10/2011 05:12 PM, Anthony Liguori wrote: On 10/10/2011 10:00 AM, Avi Kivity wrote: On 10/10/2011 04:55 PM, Anthony Liguori wrote: Hrm, sorry about that. In the future, it would be helpful to explicitly withdrawal a PULL request. Do you want me

Re: [Qemu-devel] buildbot failure in qemu on default_openbsd_4.9

2011-10-10 Thread Daniel Gollub
Hi Gerd, Hi Kevin, On Monday, October 10, 2011 04:23:28 PM Gerd Hoffmann wrote: > > Gerd, Brad, does one of your buildbots have some resources left to build > > the block branch on OpenBSD (and for Gerd, possibly mingw) as well? > > No problem, can be added to both openbsd and mingw. Gerd, just

Re: [Qemu-devel] [PATCH 1/1] kvm: support TSC deadline MSR

2011-10-10 Thread Avi Kivity
On 10/10/2011 05:10 PM, Anthony Liguori wrote: It's irreversible, once we release a version with a bumped ID we can't go back. But the question is whether we've bumped *any* versions of common devices since 0.15 because if so, it's moot here. What's the answer? And if the answer is we did

Re: [Qemu-devel] [PATCH 0/1] [PULL] qemu-kvm.git uq/master queue

2011-10-10 Thread Avi Kivity
On 10/10/2011 05:12 PM, Anthony Liguori wrote: On 10/10/2011 10:00 AM, Avi Kivity wrote: On 10/10/2011 04:55 PM, Anthony Liguori wrote: Hrm, sorry about that. In the future, it would be helpful to explicitly withdrawal a PULL request. Do you want me to revert? We'll send the revert together

Re: [Qemu-devel] [PATCH 0/1] [PULL] qemu-kvm.git uq/master queue

2011-10-10 Thread Anthony Liguori
On 10/10/2011 10:00 AM, Avi Kivity wrote: On 10/10/2011 04:55 PM, Anthony Liguori wrote: Hrm, sorry about that. In the future, it would be helpful to explicitly withdrawal a PULL request. Do you want me to revert? We'll send the revert together with the new patch. FWIW, I think bumping the

Re: [Qemu-devel] [PATCH 1/1] kvm: support TSC deadline MSR

2011-10-10 Thread Anthony Liguori
On 10/10/2011 09:58 AM, Avi Kivity wrote: On 10/10/2011 04:54 PM, Anthony Liguori wrote: On 10/04/2011 05:20 PM, Marcelo Tosatti wrote: On Tue, Oct 04, 2011 at 07:53:42PM +0200, Avi Kivity wrote: On 10/03/2011 10:55 PM, Marcelo Tosatti wrote: From: "Liu, Jinsong" KVM add emulation of lapic t

Re: [Qemu-devel] [PATCH 0/1] [PULL] qemu-kvm.git uq/master queue

2011-10-10 Thread Avi Kivity
On 10/10/2011 04:55 PM, Anthony Liguori wrote: Hrm, sorry about that. In the future, it would be helpful to explicitly withdrawal a PULL request. Do you want me to revert? We'll send the revert together with the new patch. FWIW, I think bumping the version is the right thing to do. W

[Qemu-devel] [PATCH 23/24] ide: Convert to isa_register_portio_list

2011-10-10 Thread Avi Kivity
From: Richard Henderson Signed-off-by: Richard Henderson Signed-off-by: Avi Kivity --- hw/ide/core.c | 30 +++--- hw/ide/internal.h |3 ++- hw/ide/isa.c |4 +--- hw/ide/piix.c |7 --- hw/ide/via.c |7 --- 5 files changed, 30 i

[Qemu-devel] [PATCH 01/24] hw/lan9118.c: Convert to MemoryRegion

2011-10-10 Thread Avi Kivity
From: Peter Maydell Signed-off-by: Peter Maydell Signed-off-by: Avi Kivity --- hw/lan9118.c | 29 +++-- 1 files changed, 11 insertions(+), 18 deletions(-) diff --git a/hw/lan9118.c b/hw/lan9118.c index 73a8661..634b88e 100644 --- a/hw/lan9118.c +++ b/hw/lan9118.c @@

[Qemu-devel] [PATCH 18/24] parallel: Convert to isa_register_portio_list

2011-10-10 Thread Avi Kivity
From: Richard Henderson Signed-off-by: Richard Henderson Signed-off-by: Avi Kivity --- hw/parallel.c | 47 --- 1 files changed, 28 insertions(+), 19 deletions(-) diff --git a/hw/parallel.c b/hw/parallel.c index ecbc8c3..8494d94 100644 --- a/hw/par

[Qemu-devel] [PATCH 21/24] pc: Convert port92 to isa_register_ioport

2011-10-10 Thread Avi Kivity
From: Richard Henderson Signed-off-by: Richard Henderson Signed-off-by: Avi Kivity --- hw/pc.c | 16 +--- 1 files changed, 13 insertions(+), 3 deletions(-) diff --git a/hw/pc.c b/hw/pc.c index 203627d..ded4758 100644 --- a/hw/pc.c +++ b/hw/pc.c @@ -428,6 +428,7 @@ void pc_cmos_i

Re: [Qemu-devel] [PATCH 1/1] kvm: support TSC deadline MSR

2011-10-10 Thread Avi Kivity
On 10/10/2011 04:54 PM, Anthony Liguori wrote: On 10/04/2011 05:20 PM, Marcelo Tosatti wrote: On Tue, Oct 04, 2011 at 07:53:42PM +0200, Avi Kivity wrote: On 10/03/2011 10:55 PM, Marcelo Tosatti wrote: From: "Liu, Jinsong" KVM add emulation of lapic tsc deadline timer for guest. This patch is

Re: [Qemu-devel] [PATCH 0/1] [PULL] qemu-kvm.git uq/master queue

2011-10-10 Thread Anthony Liguori
On 10/10/2011 09:48 AM, Avi Kivity wrote: On 10/10/2011 04:41 PM, Anthony Liguori wrote: On 10/03/2011 03:55 PM, Marcelo Tosatti wrote: The following changes since commit d11cf8cc80d946dfc9a23597cd9a0bb1c487cfa7: etrax-dma: Remove bogus if statement (2011-10-03 10:20:13 +0200) are available i

Re: [Qemu-devel] [PATCH 1/1] kvm: support TSC deadline MSR

2011-10-10 Thread Anthony Liguori
On 10/04/2011 05:20 PM, Marcelo Tosatti wrote: On Tue, Oct 04, 2011 at 07:53:42PM +0200, Avi Kivity wrote: On 10/03/2011 10:55 PM, Marcelo Tosatti wrote: From: "Liu, Jinsong" KVM add emulation of lapic tsc deadline timer for guest. This patch is co-operation work at qemu side. -#define CPU_SA

[Qemu-devel] FYI: Need to a make clean due to recently pushed commit

2011-10-10 Thread Anthony Liguori
Due to: commit e3193601c84558c303b1773379da76fce80c0a56 Author: Anthony Liguori Date: Fri Sep 2 12:34:47 2011 -0500 qapi: use middle mode in QMP server It'll be necessary to do a make clean if you have a tree that has a build from before this commit. If you get compile errors abou

Re: [Qemu-devel] [PATCH 0/1] [PULL] qemu-kvm.git uq/master queue

2011-10-10 Thread Avi Kivity
On 10/10/2011 04:41 PM, Anthony Liguori wrote: On 10/03/2011 03:55 PM, Marcelo Tosatti wrote: The following changes since commit d11cf8cc80d946dfc9a23597cd9a0bb1c487cfa7: etrax-dma: Remove bogus if statement (2011-10-03 10:20:13 +0200) are available in the git repository at: git://githu

Re: [Qemu-devel] [PULL 00/26]: QMP queue

2011-10-10 Thread Anthony Liguori
On 10/05/2011 08:21 AM, Luiz Capitulino wrote: Anthony, This pull request contains only the first round of QAPI conversions series. I had to rebase it but the changes are rather simple. The changes (since d11cf8cc80d946dfc9a23597cd9a0bb1c487cfa7) are available in the following repository:

Re: [Qemu-devel] [PULL 0/7] Trivial patches for September 22 to October 5 2011

2011-10-10 Thread Anthony Liguori
On 10/05/2011 03:47 AM, Stefan Hajnoczi wrote: The following changes since commit d11cf8cc80d946dfc9a23597cd9a0bb1c487cfa7: etrax-dma: Remove bogus if statement (2011-10-03 10:20:13 +0200) are available in the git repository at: ssh://repo.or.cz/srv/git/qemu/stefanha.git trivial-patches

Re: [Qemu-devel] [PATCH 0/1] [PULL] qemu-kvm.git uq/master queue

2011-10-10 Thread Anthony Liguori
On 10/03/2011 03:55 PM, Marcelo Tosatti wrote: The following changes since commit d11cf8cc80d946dfc9a23597cd9a0bb1c487cfa7: etrax-dma: Remove bogus if statement (2011-10-03 10:20:13 +0200) are available in the git repository at: git://github.com/avikivity/qemu.git uq/master Pulled. Tha

Re: [Qemu-devel] [PATCH] Probe PCI existence

2011-10-10 Thread Gerd Hoffmann
On 09/21/11 08:16, Jan Kiszka wrote: From: Jan Kiszka This prevents lockups when trying to allocate PCI resources on an ISA-only system like QEMU can emulate. Looks good to me. Acked-by: Gerd Hoffmann cheers, Gerd

Re: [Qemu-devel] buildbot failure in qemu on default_openbsd_4.9

2011-10-10 Thread Gerd Hoffmann
Hi, Gerd, Brad, does one of your buildbots have some resources left to build the block branch on OpenBSD (and for Gerd, possibly mingw) as well? No problem, can be added to both openbsd and mingw. cheers, Gerd

Re: [Qemu-devel] windows crash dump header. was: Re: [Question] dump memory when host pci device is used by guest

2011-10-10 Thread Alon Levy
On Mon, Oct 10, 2011 at 02:38:35PM +0200, Paolo Bonzini wrote: > On 10/10/2011 02:00 PM, Alon Levy wrote: > >>> Note that the guest can generate the buffer before it crashes. > >>> > >Thanks. The contents seem to be undocumented (stubbed in reactos). > > Those lazy reactos authors. :) > > 32-bit

Re: [Qemu-devel] Is realview-pb-a8 fully supported ?

2011-10-10 Thread Francis Moreau
On Mon, Oct 10, 2011 at 10:42 AM, Peter Maydell wrote: > On 10 October 2011 08:35, Francis Moreau wrote: >> I noticed another point for the realview platofrm: if I boot with "-M >> 512", it works however if I set "-M 256" then it doesn't. > > Perhaps your kernel is configured to load in the highe

[Qemu-devel] [BUG] USB assertion triggers in usb_packet_complete()

2011-10-10 Thread Thomas Huth
Hi! I am currently facing a problem when running QEMU (up-to-date git version) with OHCI and a lot of virtual USB devices. The emulator dies with the following assertion: qemu-system-arm: hw/usb.c:337: usb_packet_complete: Assertion `p->owner != ((void *)0)' failed. To reproduce this problem,

[Qemu-devel] [PATCH] target-arm: Fix use of free() in cpu_arm_close()

2011-10-10 Thread Andreas Färber
env is allocated in cpu_arm_init() with g_malloc0(), so free with g_free(). Cc: Peter Maydell Signed-off-by: Andreas Färber --- target-arm/helper.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/target-arm/helper.c b/target-arm/helper.c index d3a3ba2..8195c56 100644 -

Re: [Qemu-devel] windows crash dump header. was: Re: [Question] dump memory when host pci device is used by guest

2011-10-10 Thread Paolo Bonzini
On 10/10/2011 02:00 PM, Alon Levy wrote: > Note that the guest can generate the buffer before it crashes. > Thanks. The contents seem to be undocumented (stubbed in reactos). Those lazy reactos authors. :) 32-bit: http://www.google.com/codesearch#s5CWGGZtI6g/trunk/Volatility/vtypes.py&q=Maj

Re: [Qemu-devel] [PATCH] rsqrte_f32: No need to copy sign bit.

2011-10-10 Thread Peter Maydell
On 10 October 2011 12:26, Christophe Lyon wrote: > On 09.10.2011 00:57, Peter Maydell wrote: >> So we weren't generating incorrect results, we were just doing >> slightly more work than we really needed, right? I'm curious >> what prompted this patch :-) >> > Exactly. And no way to expose a bug :-

Re: [Qemu-devel] usb_packet_complete assert(p->owner != NULL)

2011-10-10 Thread Gerd Hoffmann
Hi, -usb_packet_complete(&s->dev, packet); +s->dev.port->ops->complete(s->dev.port, packet); } The hub is now directly invoking .complete() and not messing with packet->owner (which is already NULL). We don't hit the assertion anymore. Does the attached patch work for you? che

Re: [Qemu-devel] [FYI] Soft feature freeze for 1.0 is 10/15 (three weeks away)

2011-10-10 Thread Max Filippov
> For any major feature that you're targeting to the next release, you should: > > # Make sure that you've posted a patch series to qemu-devel > # Write a Feature page on the qemu.org wiki describing the feature and the > motivation > # On the release planning wiki page, link to your feature wiki p

[Qemu-devel] windows crash dump header. was: Re: [Question] dump memory when host pci device is used by guest

2011-10-10 Thread Alon Levy
On Mon, Oct 10, 2011 at 01:09:17PM +0200, Paolo Bonzini wrote: > On 10/10/2011 01:04 PM, Daniel P. Berrange wrote: > >On Mon, Oct 10, 2011 at 12:48:52PM +0200, Paolo Bonzini wrote: > >>> On 10/10/2011 12:21 PM, Alon Levy wrote: > > >>A core file would be that format - for direct gdb proce

[Qemu-devel] KVM call agenda for October 11th

2011-10-10 Thread Juan Quintela
Hi Please send in any agenda items you are interested in covering. Thanks, Juan. pgpsWpNSfkqQb.pgp Description: PGP signature

  1   2   >