Re: [Qemu-devel] [PATCH v8 2/4] block: add the command line support

2011-09-26 Thread Zhi Yong Wu
On Fri, Sep 23, 2011 at 11:54 PM, Kevin Wolf kw...@redhat.com wrote: Am 08.09.2011 12:11, schrieb Zhi Yong Wu: Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com ---  block.c         |   59 +++  block.h         |    5  block_int.h  

[Qemu-devel] [PATCH] Changed the type of val argument of the function gt64120_writel() from uint32_t to uint64_t, so change the corresponding bswap32() to bswap64().

2011-09-26 Thread Ray Wang
From: Xianlei Wang rayw...@linux.vnet.ibm.com Signed-off-by: Xianlei Wang rayw...@linux.vnet.ibm.com --- hw/gt64xxx.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/gt64xxx.c b/hw/gt64xxx.c index 1c34253..d0a31d2 100644 --- a/hw/gt64xxx.c +++ b/hw/gt64xxx.c @@

Re: [Qemu-devel] [PATCH v8 3/4] block: add block timer and throttling algorithm

2011-09-26 Thread Zhi Yong Wu
On Sat, Sep 24, 2011 at 12:19 AM, Kevin Wolf kw...@redhat.com wrote: Am 08.09.2011 12:11, schrieb Zhi Yong Wu: Note:      1.) When bps/iops limits are specified to a small value such as 511 bytes/s, this VM will hang up. We are considering how to handle this senario.      2.) When dd command

[Qemu-devel] scsi: lsi problems since unit attention on reset

2011-09-26 Thread Jan Kiszka
Hi Paolo, I'm facing problems over latest qemu with our special guest OS that is using the LSI controller. It hangs during boot now. This can be resolved by reverting commit c7b488721d (scsi: report unit attention on reset). I cannot exclude a bug in the guest driver at this point, but maybe you

[Qemu-devel] [PATCH] Simplify cpu_exec_all to tcg_exec_all

2011-09-26 Thread Jan Kiszka
After the removal of the non-threaded mode cpu_exec_all is now only used by TCG. Refactor it accordingly, also dropping its unused return value. Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- cpus.c | 14 +- cpus.h |1 - 2 files changed, 5 insertions(+), 10 deletions(-)

[Qemu-devel] [PATCH] tcg: Remove stack protection from helper functions

2011-09-26 Thread Jan Kiszka
This increases the overhead of frequently executed helpers. Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- Maybe this should be applied to more hot-path functions, but I haven't done any thorough analysis yet. Makefile.target |2 +- 1 files changed, 1 insertions(+), 1 deletions(-)

Re: [Qemu-devel] scsi: lsi problems since unit attention on reset

2011-09-26 Thread Paolo Bonzini
On 09/26/2011 09:27 AM, Jan Kiszka wrote: Hi Paolo, I'm facing problems over latest qemu with our special guest OS that is using the LSI controller. It hangs during boot now. This can be resolved by reverting commit c7b488721d (scsi: report unit attention on reset). I cannot exclude a bug in

Re: [Qemu-devel] [PATCH 6/6] audio: Switch coreaudio to QemuMutex

2011-09-26 Thread Andreas Färber
Hello Jan, Am 20.09.2011 um 18:53 schrieb Jan Kiszka: Using the error management of QemuMutex allows to simplify the code. CC: malc av1...@comtv.ru CC: Andreas Färber andreas.faer...@web.de Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- audio/coreaudio.c | 56

Re: [Qemu-devel] [PATCH v8 1/4] block: add the block queue support

2011-09-26 Thread Zhi Yong Wu
On Fri, Sep 23, 2011 at 11:32 PM, Kevin Wolf kw...@redhat.com wrote: Am 08.09.2011 12:11, schrieb Zhi Yong Wu: Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com ---  Makefile.objs     |    2 +-  block/blk-queue.c |  201 +  

Re: [Qemu-devel] [PATCH] tcg: Remove stack protection from helper functions

2011-09-26 Thread Mulyadi Santosa
Hi... On Mon, Sep 26, 2011 at 14:46, Jan Kiszka jan.kis...@siemens.com wrote: This increases the overhead of frequently executed helpers. Signed-off-by: Jan Kiszka jan.kis...@siemens.com IMHO, stack protector setup put more stuffs during epilogue, but quite likely it is negligible unless it

Re: [Qemu-devel] [PATCH 6/6] audio: Switch coreaudio to QemuMutex

2011-09-26 Thread Jan Kiszka
On 2011-09-26 09:58, Andreas Färber wrote: Hello Jan, Am 20.09.2011 um 18:53 schrieb Jan Kiszka: Using the error management of QemuMutex allows to simplify the code. CC: malc av1...@comtv.ru CC: Andreas Färber andreas.faer...@web.de Signed-off-by: Jan Kiszka jan.kis...@siemens.com ---

Re: [Qemu-devel] [PATCH v2] memory: simple memory tree printer

2011-09-26 Thread Wayne Xia
Tried it, good tool to inspect guest memory layout. It would be more nice if some symbol could be used to show hierarchies. -7ffe : pci |__feba-febb : e1000-mmio |__febf-febf0fff : cirrus-mmio

Re: [Qemu-devel] [PATCH] tcg: Remove stack protection from helper functions

2011-09-26 Thread Laurent Desnogues
On Mon, Sep 26, 2011 at 10:01 AM, Mulyadi Santosa mulyadi.sant...@gmail.com wrote: Hi... On Mon, Sep 26, 2011 at 14:46, Jan Kiszka jan.kis...@siemens.com wrote: This increases the overhead of frequently executed helpers. Signed-off-by: Jan Kiszka jan.kis...@siemens.com IMHO, stack

Re: [Qemu-devel] [PATCH v8 3/4] block: add block timer and throttling algorithm

2011-09-26 Thread Zhi Yong Wu
On Tue, Sep 20, 2011 at 8:34 PM, Marcelo Tosatti mtosa...@redhat.com wrote: On Mon, Sep 19, 2011 at 05:55:41PM +0800, Zhi Yong Wu wrote: On Wed, Sep 14, 2011 at 6:50 PM, Marcelo Tosatti mtosa...@redhat.com wrote: On Tue, Sep 13, 2011 at 11:09:46AM +0800, Zhi Yong Wu wrote: On Fri, Sep 9,

Re: [Qemu-devel] Help writing a trivial device

2011-09-26 Thread Stefan Hajnoczi
On Mon, Sep 26, 2011 at 12:23:21AM +0200, Lluís Vilanova wrote: 1) Cannot start QEMU with KVM when the device is enabled: kvm_set_phys_mem: error registering slot: Invalid argument 2) The driver never gets called on a read/write to its memory If I add #include pci.h at the top of the

Re: [Qemu-devel] [RFC] Generic image streaming

2011-09-26 Thread Stefan Hajnoczi
On Mon, Sep 26, 2011 at 01:32:34PM +0800, Zhi Yong Wu wrote: On Fri, Sep 23, 2011 at 11:57 PM, Stefan Hajnoczi stefa...@linux.vnet.ibm.com wrote: Here is my generic image streaming branch, which aims to provide a way to copy the contents of a backing file into an image file of a running

Re: [Qemu-devel] [PATCH] qemu: Fix inject-nmi

2011-09-26 Thread Avi Kivity
On 09/25/2011 08:22 PM, Jan Kiszka wrote: On 2011-09-25 16:07, Avi Kivity wrote: On 09/23/2011 12:31 PM, Lai Jiangshan wrote: Moreover: wrong indention. You know that this won't work for qemu-kvm with in-kernel irqchip? You may want to provide a patch for that tree, emulating

Re: [Qemu-devel] RFC [v2]: vfio / device assignment -- layout of device fd files

2011-09-26 Thread David Gibson
On Fri, Sep 09, 2011 at 08:11:54AM -0500, Stuart Yoder wrote: Based on the discussions over the last couple of weeks I have updated the device fd file layout proposal and tried to specify it a bit more formally. === 1. Overview

Re: [Qemu-devel] [RFC] Generic image streaming

2011-09-26 Thread Zhi Yong Wu
On Mon, Sep 26, 2011 at 3:55 PM, Stefan Hajnoczi stefa...@gmail.com wrote: On Mon, Sep 26, 2011 at 01:32:34PM +0800, Zhi Yong Wu wrote: On Fri, Sep 23, 2011 at 11:57 PM, Stefan Hajnoczi stefa...@linux.vnet.ibm.com wrote: Here is my generic image streaming branch, which aims to provide a way

Re: [Qemu-devel] scsi: lsi problems since unit attention on reset

2011-09-26 Thread Jan Kiszka
On 2011-09-26 09:50, Paolo Bonzini wrote: On 09/26/2011 09:27 AM, Jan Kiszka wrote: Hi Paolo, I'm facing problems over latest qemu with our special guest OS that is using the LSI controller. It hangs during boot now. This can be resolved by reverting commit c7b488721d (scsi: report unit

Re: [Qemu-devel] [RFC] Generic image streaming

2011-09-26 Thread Stefan Hajnoczi
On Mon, Sep 26, 2011 at 05:11:00PM +0800, Zhi Yong Wu wrote: On Mon, Sep 26, 2011 at 3:55 PM, Stefan Hajnoczi stefa...@gmail.com wrote: On Mon, Sep 26, 2011 at 01:32:34PM +0800, Zhi Yong Wu wrote: On Fri, Sep 23, 2011 at 11:57 PM, Stefan Hajnoczi stefa...@linux.vnet.ibm.com wrote: Here

[Qemu-devel] [PATCH] lsi: Fix tag reference in debug print

2011-09-26 Thread Jan Kiszka
Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- hw/lsi53c895a.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/lsi53c895a.c b/hw/lsi53c895a.c index 75a03a7..e077ec0 100644 --- a/hw/lsi53c895a.c +++ b/hw/lsi53c895a.c @@ -697,7 +697,7 @@ static int

Re: [Qemu-devel] [PATCH 1/6] block: Keep track of devices' I/O status

2011-09-26 Thread Markus Armbruster
Luiz Capitulino lcapitul...@redhat.com writes: On Fri, 23 Sep 2011 17:36:53 +0200 Markus Armbruster arm...@redhat.com wrote: Luiz Capitulino lcapitul...@redhat.com writes: On Fri, 23 Sep 2011 09:51:24 +0200 Markus Armbruster arm...@redhat.com wrote: Luiz Capitulino

[Qemu-devel] KVM call agenda for September 26

2011-09-26 Thread Juan Quintela
Hi Please send in any agenda items you are interested in covering. Thanks, Juan.

Re: [Qemu-devel] [PATCH v2] memory: simple memory tree printer

2011-09-26 Thread Avi Kivity
On 09/25/2011 11:19 PM, Blue Swirl wrote: Add a monitor command 'info mtree' to show the memory hierarchy much like /proc/iomem in Linux. diff --git a/memory.c b/memory.c index ba74435..6b33fc4 100644 --- a/memory.c +++ b/memory.c @@ -17,6 +17,7 @@ #include bitops.h #include kvm.h

Re: [Qemu-devel] [PATCH] Changed the type of val argument of the function gt64120_writel() from uint32_t to uint64_t, so change the corresponding bswap32() to bswap64().

2011-09-26 Thread Peter Maydell
On 26 September 2011 07:22, Ray Wang rayw...@linux.vnet.ibm.com wrote: diff --git a/hw/gt64xxx.c b/hw/gt64xxx.c index 1c34253..d0a31d2 100644 --- a/hw/gt64xxx.c +++ b/hw/gt64xxx.c @@ -312,7 +312,7 @@ static void gt64120_writel (void *opaque, target_phys_addr_t addr,     uint32_t saddr;  

Re: [Qemu-devel] KVM call agenda for September 26

2011-09-26 Thread Juan Quintela
Juan Quintela quint...@redhat.com wrote: Hi I should learn to read the calendar Call is for September 27th, of course. Sorry for any inconvenience. Please send in any agenda items you are interested in covering. Thanks, Juan. -- To unsubscribe from this list: send the line

Re: [Qemu-devel] scsi: lsi problems since unit attention on reset

2011-09-26 Thread Paolo Bonzini
On 09/26/2011 11:23 AM, Jan Kiszka wrote: scsi_req_parsed target 0 lun 0 tag 0 command 0 dir 0 length 0 scsi_req_parsed_lba target 0 lun 0 tag 0 command 0 lba 0 scsi_req_alloc target 0 lun 0 tag 0 scsi_test_unit_ready target 0 lun 0 tag 0 scsi_req_build_sense target 0 lun 0 tag 0 key 0x6 asc

Re: [Qemu-devel] RFC [v2]: vfio / device assignment -- layout of device fd files

2011-09-26 Thread Alexander Graf
Am 26.09.2011 um 09:51 schrieb David Gibson da...@gibson.dropbear.id.au: On Fri, Sep 09, 2011 at 08:11:54AM -0500, Stuart Yoder wrote: Based on the discussions over the last couple of weeks I have updated the device fd file layout proposal and tried to specify it a bit more formally.

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

2011-09-26 Thread Avi Kivity
On 09/25/2011 08:31 PM, Blue Swirl wrote: Please point out a test case and I'll try to fix it. Run qemu-system-ppc without any arguments. There is a black bar (because of vga.chain4), it shouldn't be there. With your pci hole patch, it's fixed, except for: escc_mem =

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

2011-09-26 Thread Avi Kivity
On 09/26/2011 01:08 PM, Avi Kivity wrote: On 09/25/2011 08:31 PM, Blue Swirl wrote: Please point out a test case and I'll try to fix it. Run qemu-system-ppc without any arguments. There is a black bar (because of vga.chain4), it shouldn't be there. With your pci hole patch, it's fixed,

Re: [Qemu-devel] scsi: lsi problems since unit attention on reset

2011-09-26 Thread Jan Kiszka
On 2011-09-26 11:49, Paolo Bonzini wrote: On 09/26/2011 11:23 AM, Jan Kiszka wrote: scsi_req_parsed target 0 lun 0 tag 0 command 0 dir 0 length 0 scsi_req_parsed_lba target 0 lun 0 tag 0 command 0 lba 0 scsi_req_alloc target 0 lun 0 tag 0 scsi_test_unit_ready target 0 lun 0 tag 0

Re: [Qemu-devel] [Qemu-trivial] [PATCH] makefile: extract tools-obj-y

2011-09-26 Thread Stefan Hajnoczi
On Thu, Sep 22, 2011 at 07:08:47PM +0200, Paolo Bonzini wrote: Signed-off-by: Paolo Bonzini pbonz...@redhat.com --- Makefile |9 + 1 files changed, 5 insertions(+), 4 deletions(-) Thanks, applied to the trivial patches tree:

Re: [Qemu-devel] [Qemu-trivial] [PATCH 1/2] gt64xxx.c: fix length modifier in DPRINTF format string

2011-09-26 Thread Stefan Hajnoczi
On Mon, Sep 26, 2011 at 09:02:37AM +0400, Antony Pavlov wrote: The commit fc2bf44972349b078d8310466c3866615500e67f changed the type of val argument of the function gt64120_writel() from uint32_t to uint64_t, so we need to change the corresponding length modifier from %x to % PRIx64.

Re: [Qemu-devel] [Qemu-trivial] [PATCH] lsi: Fix tag reference in debug print

2011-09-26 Thread Stefan Hajnoczi
On Mon, Sep 26, 2011 at 11:30:49AM +0200, Jan Kiszka wrote: Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- hw/lsi53c895a.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Thanks, applied to the trivial patches tree:

Re: [Qemu-devel] The reason behind block linking constraint?

2011-09-26 Thread 陳韋任
Hi, Max Sorry, I have to be sure what you talked about is guest or host. Let me try. Well, my explanation sucks. Let's say it other way, more precisely: - you have two pieces of code in different pages, one of them jumps to the other; guest code in different guest pages. - and you

[Qemu-devel] [PATCH v2] tcg: Remove stack protection from helper functions

2011-09-26 Thread Jan Kiszka
This increases the overhead of frequently executed helpers. We need to move rule past QEMU_CFLAGS assignment to ensure that the required simple assignment picks up all bits. The signal workaround is moved just for the sake of consistency. Signed-off-by: Jan Kiszka jan.kis...@siemens.com ---

Re: [Qemu-devel] scsi: lsi problems since unit attention on reset

2011-09-26 Thread Paolo Bonzini
On 09/26/2011 12:26 PM, Jan Kiszka wrote: scsi_req_parsed target 0 lun 0 tag 0 command 0 dir 0 length 0 scsi_req_parsed_lba target 0 lun 0 tag 0 command 0 lba 0 scsi_req_alloc target 0 lun 0 tag 0 scsi_test_unit_ready target 0 lun 0 tag 0 scsi_req_build_sense target 0 lun 0 tag 0 key 0x6

Re: [Qemu-devel] [PATCH v2] tcg: Remove stack protection from helper functions

2011-09-26 Thread Peter Maydell
On 26 September 2011 11:51, Jan Kiszka jan.kis...@siemens.com wrote: This increases the overhead of frequently executed helpers. We need to move rule past QEMU_CFLAGS assignment to ensure that the required simple assignment picks up all bits. The signal workaround is moved just for the sake of

Re: [Qemu-devel] The reason behind block linking constraint?

2011-09-26 Thread Max Filippov
 Sorry, I have to be sure what you talked about is guest or host. Let me try. Well, my explanation sucks. Let's say it other way, more precisely: - you have two pieces of code in different pages, one of them jumps to the other;  guest code in different guest pages. Right. - and you

Re: [Qemu-devel] [PATCH v2] tcg: Remove stack protection from helper functions

2011-09-26 Thread Jan Kiszka
On 2011-09-26 13:33, Peter Maydell wrote: On 26 September 2011 11:51, Jan Kiszka jan.kis...@siemens.com wrote: This increases the overhead of frequently executed helpers. We need to move rule past QEMU_CFLAGS assignment to ensure that the required simple assignment picks up all bits. The

[Qemu-devel] [PATCH 0/3] ide/scsi: add support for CD-ROM EjectRequest

2011-09-26 Thread Paolo Bonzini
Recent versions of udev always keep the tray locked so that the kernel can observe eject request events (aka tray button presses). Add support for such events in the ATAPI and SCSI cd drive device models. The SCSI part depends on the twelve patches at

Re: [Qemu-devel] [PATCH v2] tcg: Remove stack protection from helper functions

2011-09-26 Thread Peter Maydell
On 26 September 2011 12:43, Jan Kiszka jan.kis...@siemens.com wrote: On 2011-09-26 13:33, Peter Maydell wrote: On 26 September 2011 11:51, Jan Kiszka jan.kis...@siemens.com wrote: This increases the overhead of frequently executed helpers. We need to move rule past QEMU_CFLAGS assignment to

Re: [Qemu-devel] [RFC] Generic image streaming

2011-09-26 Thread Marcelo Tosatti
On Fri, Sep 23, 2011 at 04:57:26PM +0100, Stefan Hajnoczi wrote: Here is my generic image streaming branch, which aims to provide a way to copy the contents of a backing file into an image file of a running guest without requiring specific support in the various block drivers (e.g. qcow2,

Re: [Qemu-devel] [PATCH 1/6] block: Keep track of devices' I/O status

2011-09-26 Thread Luiz Capitulino
On Mon, 26 Sep 2011 11:34:34 +0200 Markus Armbruster arm...@redhat.com wrote: Luiz Capitulino lcapitul...@redhat.com writes: On Fri, 23 Sep 2011 17:36:53 +0200 Markus Armbruster arm...@redhat.com wrote: Luiz Capitulino lcapitul...@redhat.com writes: On Fri, 23 Sep 2011 09:51:24

Re: [Qemu-devel] Help writing a trivial device

2011-09-26 Thread Lluís Vilanova
Stefan Hajnoczi writes: On Mon, Sep 26, 2011 at 12:23:21AM +0200, Lluís Vilanova wrote: 1) Cannot start QEMU with KVM when the device is enabled: kvm_set_phys_mem: error registering slot: Invalid argument 2) The driver never gets called on a read/write to its memory If I add #include

[Qemu-devel] qemu-0.15.1 stable call for patches

2011-09-26 Thread Justin M. Forbes
With the current patch queue I would like to start getting qemu-0.15.1 stable into shape. With this in mind, the plan is to tag the release on Monday Oct 3rd. If you have patches pending for stable, now would be the time to send them. Please CC jmfor...@linuxtx.org if you can to ensure that I

Re: [Qemu-devel] [PULL] pending linux-user patches

2011-09-26 Thread Anthony Liguori
On 09/22/2011 11:26 AM, Riku Voipio wrote: The following changes since commit 27cdad67a1bc23b38c765b677ed8064bfb8d3e44: Revert alpha-softmmu: Disable for the 0.15 release branch. (2011-09-21 00:50:32 +0200) are available in the git repository at:

Re: [Qemu-devel] [PULL 0/4] pull: omap patches

2011-09-26 Thread Anthony Liguori
On 09/23/2011 06:46 AM, Peter Maydell wrote: This is a small pullreq for the couple of outstanding OMAP patches, which I have now rebased following the landing of Avi's memoryregion batch which touched omap1.c. I've also included the MAINTAINERS file update. Please pull. Thanks -- PMM Pulled.

Re: [Qemu-devel] [PULL] Memory API core fix (memory_region_set_readonly())

2011-09-26 Thread Anthony Liguori
On 09/25/2011 07:43 AM, Avi Kivity wrote: Please pull from git://github.com/avikivity/qemu.git memory/core to receive an implementation of memory_region_set_readonly(). It has been tested on i386 (440FX PAM) and Magnum. Avi Kivity (1): memory: implement memory_region_set_readonly() Pulled.

Re: [Qemu-devel] [PULL 00/14] Memory API conversion batch 9: ISA

2011-09-26 Thread Anthony Liguori
On 09/25/2011 07:50 AM, Avi Kivity wrote: Please pull from git://github.com/avikivity/qemu.git memory/batch This is the delayed ISA conversion series, now hopefully working across the board. Pulled. Thanks. Regards, Anthony Liguori Avi Kivity (4): mips_malta: move i8259

Re: [Qemu-devel] [PULL] pci_prep fix

2011-09-26 Thread Anthony Liguori
On 09/25/2011 09:18 AM, Avi Kivity wrote: Please pull from git://github.com/avikivity/qemu.git memory/urgent to receive for a fix which kills ppc_prep immediately after launch. Pulled. Thanks. Regards, Anthony Liguori Avi Kivity (1): ppc_prep: fix pci config space initialization

Re: [Qemu-devel] [PATCH v2 1/2] memory: Fix old portio word accesses

2011-09-26 Thread Avi Kivity
On 09/18/2011 03:51 PM, Jan Kiszka wrote: From: Jan Kiszkajan.kis...@siemens.com As we register old portio regions via ioport_register, we are also responsible for providing the word access wrapper. Signed-off-by: Jan Kiszkajan.kis...@siemens.com --- Oops, was lacking a shift for word reads.

[Qemu-devel] [PATCH v3 0/2] Extract three more headers out of qemu-timer.h and hw/hw.h

2011-09-26 Thread Paolo Bonzini
Third time's a charm. v1 - v3: actually make it compile Paolo Bonzini (2): ptimer: move declarations to ptimer.h vmstate: extract declarations out of hw/hw.h hw/arm_timer.c|1 + hw/etraxfs_timer.c|1 + hw/grlib_apbuart.c|1 + hw/grlib_gptimer.c|1 +

[Qemu-devel] [PATCH v3 1/2] ptimer: move declarations to ptimer.h

2011-09-26 Thread Paolo Bonzini
Signed-off-by: Paolo Bonzini pbonz...@redhat.com --- hw/arm_timer.c|1 + hw/etraxfs_timer.c|1 + hw/grlib_apbuart.c|1 + hw/grlib_gptimer.c|1 + hw/lan9118.c |1 + hw/leon3.c|1 + hw/lm32_timer.c |1 + hw/mcf5206.c

Re: [Qemu-devel] [PATCH 1/6] block: Keep track of devices' I/O status

2011-09-26 Thread Markus Armbruster
Luiz Capitulino lcapitul...@redhat.com writes: On Mon, 26 Sep 2011 11:34:34 +0200 Markus Armbruster arm...@redhat.com wrote: Luiz Capitulino lcapitul...@redhat.com writes: On Fri, 23 Sep 2011 17:36:53 +0200 Markus Armbruster arm...@redhat.com wrote: Luiz Capitulino

Re: [Qemu-devel] [RFC] Generic image streaming

2011-09-26 Thread Zhi Yong Wu
On Mon, Sep 26, 2011 at 5:30 PM, Stefan Hajnoczi stefa...@linux.vnet.ibm.com wrote: On Mon, Sep 26, 2011 at 05:11:00PM +0800, Zhi Yong Wu wrote: On Mon, Sep 26, 2011 at 3:55 PM, Stefan Hajnoczi stefa...@gmail.com wrote: On Mon, Sep 26, 2011 at 01:32:34PM +0800, Zhi Yong Wu wrote: On Fri, Sep

Re: [Qemu-devel] [RFC] Generic image streaming

2011-09-26 Thread Stefan Hajnoczi
On Mon, Sep 26, 2011 at 09:35:01AM -0300, Marcelo Tosatti wrote: On Fri, Sep 23, 2011 at 04:57:26PM +0100, Stefan Hajnoczi wrote: Here is my generic image streaming branch, which aims to provide a way to copy the contents of a backing file into an image file of a running guest without

Re: [Qemu-devel] scsi: lsi problems since unit attention on reset

2011-09-26 Thread Jan Kiszka
On 2011-09-26 12:26, Jan Kiszka wrote: On 2011-09-26 11:49, Paolo Bonzini wrote: On 09/26/2011 11:23 AM, Jan Kiszka wrote: scsi_req_parsed target 0 lun 0 tag 0 command 0 dir 0 length 0 scsi_req_parsed_lba target 0 lun 0 tag 0 command 0 lba 0 scsi_req_alloc target 0 lun 0 tag 0

Re: [Qemu-devel] [PULL] pci_prep fix

2011-09-26 Thread Andreas Färber
Am 25.09.2011 16:18, schrieb Avi Kivity: Please pull from git://github.com/avikivity/qemu.git memory/urgent to receive for a fix which kills ppc_prep immediately after launch. Avi Kivity (1): ppc_prep: fix pci config space initialization hw/prep_pci.c |2 +- 1 files

Re: [Qemu-devel] scsi: lsi problems since unit attention on reset

2011-09-26 Thread Paolo Bonzini
On 09/26/2011 05:10 PM, Jan Kiszka wrote: And you were right: it turned out to be a driver issue. The bug sneaked in while adapting the original driver to some specific differences between QEMU and real HW (here: lacking compat bit support). Cool, then we can leave in the patch I think. I

[Qemu-devel] [PATCH] linux-user: fix openat

2011-09-26 Thread Alexander Graf
When running openat using qemu-arm, we stumbled over invalid permissions on the created files. The reason for this is that the mode parameter gets treates as an O_... flag, which it isn't - it's a permission bitmask. This patch removes the needless translation of the mode parameter, rendering

[Qemu-devel] [PATCH] softfloat: Reinstate accidentally disabled target-specific NaN handling

2011-09-26 Thread Peter Maydell
Include config.h in softfloat.c, so that the target specific ifdefs in softfloat-specialize.h are evaluated correctly. This was accidentally broken in commit 789ec7ce2 when config-target.h was removed from softfloat.h, and means that most targets will have been returning the wrong results for

Re: [Qemu-devel] scsi: lsi problems since unit attention on reset

2011-09-26 Thread Jan Kiszka
On 2011-09-26 17:22, Paolo Bonzini wrote: On 09/26/2011 05:10 PM, Jan Kiszka wrote: And you were right: it turned out to be a driver issue. The bug sneaked in while adapting the original driver to some specific differences between QEMU and real HW (here: lacking compat bit support). Cool,

[Qemu-devel] [PATCH V9 0/5] Qemu Trusted Platform Module (TPM) integration

2011-09-26 Thread Stefan Berger
The following series of patches adds TPM (Trusted Platform Module) support to Qemu. An emulator for the TIS (TPM Interface Spec) interface is added that provides the basis for accessing a 'backend' implementing the actual TPM functionality. The TIS emulator serves as a 'frontend' enabling for

[Qemu-devel] [PATCH V9 3/5] Add a debug register

2011-09-26 Thread Stefan Berger
This patch uses the possibility to add a vendor-specific register and adds a debug register useful for dumping the TIS's internal state. This register is only active in a debug build (#define DEBUG_TIS). v9: - prefixing all function with tpm_tis_ and all constants with TPM_TIS_ v3: - all

[Qemu-devel] [PATCH V9 2/5] Add TPM (frontend) hardware interface (TPM TIS) to Qemu

2011-09-26 Thread Stefan Berger
This patch adds the main code of the TPM frontend driver, the TPM TIS interface, to Qemu. The code is largely based on the previous implementation for Xen but has been significantly extended to meet the standard's requirements, such as the support for changing of localities and all the

[Qemu-devel] [PATCH V9 1/5] Support for TPM command line options

2011-09-26 Thread Stefan Berger
This patch adds support for TPM command line options. The command line options supported here are ./qemu-... -tpmdev passthrough,path=path to TPM device,id=id -device tpm-tis,tpmdev=id and ./qemu-... -tpmdev ? where the latter works similar to -soundhw ? and shows a list of

[Qemu-devel] [PATCH V9 5/5] Add a TPM Passthrough backend driver implementation

2011-09-26 Thread Stefan Berger
From Andreas Niederl's original posting with adaptations where necessary: This patch is based of off version 9 of Stefan Berger's patch series Qemu Trusted Platform Module (TPM) integration and adds a new backend driver for it. This patch adds a passthrough backend driver for passing commands

[Qemu-devel] [PATCH V9 4/5] Build the TPM frontend code

2011-09-26 Thread Stefan Berger
Build the TPM frontend code that has been added so far. Signed-off-by: Stefan Berger stef...@linux.vnet.ibm.com --- Makefile.target |1 + configure | 11 +++ 2 files changed, 12 insertions(+) Index: qemu-git.pt/Makefile.target

[Qemu-devel] [PATCH 1/2] pcnet: Move BCR defines to header

2011-09-26 Thread Jan Kiszka
This moves BCR defines to the common header and immediately makes use of them to add BCR_APROMWE, replacing the open-coded write check in pcnet_aprom_writeb. Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- hw/pcnet-pci.c |4 ++-- hw/pcnet.c | 18 -- hw/pcnet.h

[Qemu-devel] [PATCH 2/2] pcnet-pci: Fix PIO word access to PROM

2011-09-26 Thread Jan Kiszka
Implement the various IO access widths according to the spec. This specifically unbreaks word and dword access to the PROM area that is mapped into IO space. It also drops redundant upper limit checks and spurious return void. Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- Note that this

[Qemu-devel] [Bug 818673] Re: virtio: trying to map MMIO memory

2011-09-26 Thread Rick Vernam
Vadim, Did you see comment #27? Is that helpful, would you like any additional info? Are there other things you would like for me to try? Thanks, -Rick -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU.

Re: [Qemu-devel] [PATCH v2] memory: simple memory tree printer

2011-09-26 Thread Blue Swirl
On Mon, Sep 26, 2011 at 9:45 AM, Avi Kivity a...@redhat.com wrote: On 09/25/2011 11:19 PM, Blue Swirl wrote: Add a monitor command 'info mtree' to show the memory hierarchy much like /proc/iomem in Linux. diff --git a/memory.c b/memory.c index ba74435..6b33fc4 100644 --- a/memory.c +++

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

2011-09-26 Thread Blue Swirl
On Mon, Sep 26, 2011 at 10:08 AM, Avi Kivity a...@redhat.com wrote: On 09/25/2011 08:31 PM, Blue Swirl wrote:  Please point out a test case and I'll try to fix it. Run qemu-system-ppc without any arguments. There is a black bar (because of vga.chain4), it shouldn't be there. With your

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

2011-09-26 Thread Avi Kivity
On 09/26/2011 08:15 PM, Blue Swirl wrote: On Mon, Sep 26, 2011 at 10:08 AM, Avi Kivitya...@redhat.com wrote: On 09/25/2011 08:31 PM, Blue Swirl wrote: Please point out a test case and I'll try to fix it. Run qemu-system-ppc without any arguments. There is a black bar (because

[Qemu-devel] [PATCH] target-i386: Remove redundant word mask in port out instructions

2011-09-26 Thread Jan Kiszka
T0 was already masked to 16 bits when loading it. Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- target-i386/translate.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/target-i386/translate.c b/target-i386/translate.c index b894e97..1ef8d16 100644 ---

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

2011-09-26 Thread Blue Swirl
On Mon, Sep 26, 2011 at 5:18 PM, Avi Kivity a...@redhat.com wrote: On 09/26/2011 08:15 PM, Blue Swirl wrote: On Mon, Sep 26, 2011 at 10:08 AM, Avi Kivitya...@redhat.com  wrote:  On 09/25/2011 08:31 PM, Blue Swirl wrote:        Please point out a test case and I'll try to fix it.  

Re: [Qemu-devel] [PATCH v2] tcg: Remove stack protection from helper functions

2011-09-26 Thread Blue Swirl
On Mon, Sep 26, 2011 at 11:56 AM, Peter Maydell peter.mayd...@linaro.org wrote: On 26 September 2011 12:43, Jan Kiszka jan.kis...@siemens.com wrote: On 2011-09-26 13:33, Peter Maydell wrote: On 26 September 2011 11:51, Jan Kiszka jan.kis...@siemens.com wrote: This increases the overhead of

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

2011-09-26 Thread Avi Kivity
On 09/26/2011 08:20 PM, Blue Swirl wrote: On Mon, Sep 26, 2011 at 5:18 PM, Avi Kivitya...@redhat.com wrote: On 09/26/2011 08:15 PM, Blue Swirl wrote: On Mon, Sep 26, 2011 at 10:08 AM, Avi Kivitya...@redhat.comwrote: On 09/25/2011 08:31 PM, Blue Swirl wrote:

Re: [Qemu-devel] [PATCH v2] tcg: Remove stack protection from helper functions

2011-09-26 Thread Jan Kiszka
On 2011-09-26 19:22, Blue Swirl wrote: On Mon, Sep 26, 2011 at 11:56 AM, Peter Maydell peter.mayd...@linaro.org wrote: On 26 September 2011 12:43, Jan Kiszka jan.kis...@siemens.com wrote: On 2011-09-26 13:33, Peter Maydell wrote: On 26 September 2011 11:51, Jan Kiszka jan.kis...@siemens.com

Re: [Qemu-devel] [PATCH] tcg: Remove stack protection from helper functions

2011-09-26 Thread Avi Kivity
On 09/26/2011 11:15 AM, Laurent Desnogues wrote: On Mon, Sep 26, 2011 at 10:01 AM, Mulyadi Santosa mulyadi.sant...@gmail.com wrote: Hi... On Mon, Sep 26, 2011 at 14:46, Jan Kiszkajan.kis...@siemens.com wrote: This increases the overhead of frequently executed helpers. Signed-off-by:

Re: [Qemu-devel] Question on kvm_clock working ...

2011-09-26 Thread Ronen Hod
On 09/09/2011 06:28 PM, al pat wrote: We are doing an experiment with kvm-clock to validate its effectiveness, particularly when running NTP on the host to make sure the host’s clock stays properly sync. Our observations leads us to a few unanswered questions, including the possibility of a

Re: [Qemu-devel] Help writing a trivial device

2011-09-26 Thread Lluís Vilanova
Lluís Vilanova writes: Stefan Hajnoczi writes: On Mon, Sep 26, 2011 at 12:23:21AM +0200, Lluís Vilanova wrote: 1) Cannot start QEMU with KVM when the device is enabled: kvm_set_phys_mem: error registering slot: Invalid argument 2) The driver never gets called on a read/write to its memory

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

2011-09-26 Thread Blue Swirl
On Mon, Sep 26, 2011 at 5:24 PM, Avi Kivity a...@redhat.com wrote: On 09/26/2011 08:20 PM, Blue Swirl wrote: On Mon, Sep 26, 2011 at 5:18 PM, Avi Kivitya...@redhat.com  wrote:  On 09/26/2011 08:15 PM, Blue Swirl wrote:  On Mon, Sep 26, 2011 at 10:08 AM, Avi Kivitya...@redhat.com    wrote:

Re: [Qemu-devel] [PATCH v2] tcg: Remove stack protection from helper functions

2011-09-26 Thread Blue Swirl
On Mon, Sep 26, 2011 at 5:33 PM, Jan Kiszka jan.kis...@siemens.com wrote: On 2011-09-26 19:22, Blue Swirl wrote: On Mon, Sep 26, 2011 at 11:56 AM, Peter Maydell peter.mayd...@linaro.org wrote: On 26 September 2011 12:43, Jan Kiszka jan.kis...@siemens.com wrote: On 2011-09-26 13:33, Peter

Re: [Qemu-devel] [PATCH v2] tcg: Remove stack protection from helper functions

2011-09-26 Thread Jan Kiszka
On 2011-09-26 20:20, Blue Swirl wrote: On Mon, Sep 26, 2011 at 5:33 PM, Jan Kiszka jan.kis...@siemens.com wrote: On 2011-09-26 19:22, Blue Swirl wrote: On Mon, Sep 26, 2011 at 11:56 AM, Peter Maydell peter.mayd...@linaro.org wrote: On 26 September 2011 12:43, Jan Kiszka jan.kis...@siemens.com

Re: [Qemu-devel] RFC [v2]: vfio / device assignment -- layout of device fd files

2011-09-26 Thread Alex Williamson
On Mon, 2011-09-26 at 12:04 +0200, Alexander Graf wrote: Am 26.09.2011 um 09:51 schrieb David Gibson da...@gibson.dropbear.id.au: On Fri, Sep 09, 2011 at 08:11:54AM -0500, Stuart Yoder wrote: Based on the discussions over the last couple of weeks I have updated the device fd file layout

Re: [Qemu-devel] [PATCH v2] tcg: Remove stack protection from helper functions

2011-09-26 Thread Blue Swirl
On Mon, Sep 26, 2011 at 6:25 PM, Jan Kiszka jan.kis...@siemens.com wrote: On 2011-09-26 20:20, Blue Swirl wrote: On Mon, Sep 26, 2011 at 5:33 PM, Jan Kiszka jan.kis...@siemens.com wrote: On 2011-09-26 19:22, Blue Swirl wrote: On Mon, Sep 26, 2011 at 11:56 AM, Peter Maydell

[Qemu-devel] [PATCH] configure: Detect predefined compiler symbols for ARM and HPPA

2011-09-26 Thread Brad
configure: Detect predefined compiler symbols for ARM and HPPA To be able to detect some ARM / HPPA based architectures such as with OpenBSD/(armish / zaurus) or OpenBSD/hppa. Signed-off-by: Brad Smith b...@comstyle.com --- configure |8 +++- 1 files changed, 7 insertions(+), 1

Re: [Qemu-devel] [PATCH V9 1/5] Support for TPM command line options

2011-09-26 Thread Michael S. Tsirkin
On Mon, Sep 26, 2011 at 12:35:10PM -0400, Stefan Berger wrote: +void tpm_display_backend_drivers(FILE *out) +{ +int i; + +fprintf(out, Supported TPM types (choose only one):\n); + +for (i = 0; bes[i] != NULL; i++) { +fprintf(out, %12s %s, +bes[i]-id,

Re: [Qemu-devel] [PATCH v2] tcg: Remove stack protection from helper functions

2011-09-26 Thread Peter Maydell
On 26 September 2011 19:20, Blue Swirl blauwir...@gmail.com wrote: It would be interesting to have some benchmarks. I'd expect that most of the run time is spent within generated code, the next largest item should be the translator and any helpers should be marginal. Depends a lot on the

Re: [Qemu-devel] [PATCH V9 2/5] Add TPM (frontend) hardware interface (TPM TIS) to Qemu

2011-09-26 Thread Michael S. Tsirkin
On Mon, Sep 26, 2011 at 12:35:11PM -0400, Stefan Berger wrote: +static int tpm_tis_init(ISADevice *dev) +{ +TPMState *s = DO_UPCAST(TPMState, busdev, dev); +TPMTISState *tis = s-s.tis; +int iomemtype, rc; + +qemu_mutex_init(s-state_lock); +

Re: [Qemu-devel] [PATCH V9 2/5] Add TPM (frontend) hardware interface (TPM TIS) to Qemu

2011-09-26 Thread Avi Kivity
On 09/26/2011 10:09 PM, Michael S. Tsirkin wrote: +cpu_register_physical_memory(TPM_TIS_ADDR_BASE, + 0x1000 * TPM_TIS_NUM_LOCALITIES, + iomemtype); I think memory_region_init_io are supposed to be used for new devices

Re: [Qemu-devel] [PATCH V9 5/5] Add a TPM Passthrough backend driver implementation

2011-09-26 Thread Michael S. Tsirkin
On Mon, Sep 26, 2011 at 12:35:14PM -0400, Stefan Berger wrote: From Andreas Niederl's original posting with adaptations where necessary: This patch is based of off version 9 of Stefan Berger's patch series Qemu Trusted Platform Module (TPM) integration and adds a new backend driver for it.

Re: [Qemu-devel] [PATCH V9 0/5] Qemu Trusted Platform Module (TPM) integration

2011-09-26 Thread Michael S. Tsirkin
On Mon, Sep 26, 2011 at 12:35:09PM -0400, Stefan Berger wrote: The following series of patches adds TPM (Trusted Platform Module) support to Qemu. An emulator for the TIS (TPM Interface Spec) interface is added that provides the basis for accessing a 'backend' implementing the actual TPM

[Qemu-devel] Using iPXE with older qemu releases?

2011-09-26 Thread Kenton Cabiness
Is there a way to point an older qemu release (currently running qemu-kvm-0.12.1.2-2.16) to iPXE products? We have built iPXE and installed the files and tested by changing the symbolic links in /usr/share/qemu-kvm (RH6.1 system) to point to the iPXE files. We would like to package the files

Re: [Qemu-devel] [PATCH] tcg: Remove stack protection from helper functions

2011-09-26 Thread Richard Henderson
On 09/26/2011 10:41 AM, Avi Kivity wrote: Native tcg ops for common vector instructions would probably be quite a speedup. It's very possible to simply open-code many of the vector operations. I've done a port of qemu to the SPU (aka Cell) processor. This core has no scalar operations; all

Re: [Qemu-devel] [PATCH] tcg: Remove stack protection from helper functions

2011-09-26 Thread Avi Kivity
On 09/26/2011 10:43 PM, Richard Henderson wrote: On 09/26/2011 10:41 AM, Avi Kivity wrote: Native tcg ops for common vector instructions would probably be quite a speedup. It's very possible to simply open-code many of the vector operations. I've done a port of qemu to the SPU (aka Cell)

Re: [Qemu-devel] [PATCH] tcg: Remove stack protection from helper functions

2011-09-26 Thread Richard Henderson
On 09/26/2011 12:52 PM, Avi Kivity wrote: Why do floating point ops need helpers? Because TCG doesn't do any native floating point. r~

  1   2   >