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

2011-10-09 Thread Wen Congyang
At 10/10/2011 02:52 PM, Jan Kiszka Write: > On 2011-10-10 04:21, Wen Congyang wrote: >> At 10/09/2011 06:23 PM, Richard W.M. Jones Write: >>> On Sun, Oct 09, 2011 at 10:49:57AM +0200, Jan Kiszka wrote: As explained in the other replies: It is way more future-proof to use an interface for

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

2011-10-09 Thread Jan Kiszka
On 2011-10-10 04:21, Wen Congyang wrote: > At 10/09/2011 06:23 PM, Richard W.M. Jones Write: >> On Sun, Oct 09, 2011 at 10:49:57AM +0200, Jan Kiszka wrote: >>> As explained in the other replies: It is way more future-proof to use an >>> interface for this which was designed for it (remote gdb) inst

Re: [Qemu-devel] [PATCH] qemu-kvm: fix improper nmi emulation

2011-10-09 Thread Jan Kiszka
On 2011-10-10 08:06, Lai Jiangshan wrote: > From: Kenji Kaneshige > > Currently, NMI interrupt is blindly sent to all the vCPUs when NMI > button event happens. This doesn't properly emulate real hardware on > which NMI button event triggers LINT1. Because of this, NMI is sent to > the processor

Re: [Qemu-devel] [PATCH] kernel/kvm: fix improper nmi emulation

2011-10-09 Thread Jan Kiszka
On 2011-10-10 08:06, Lai Jiangshan wrote: > From: Kenji Kaneshige > > Currently, NMI interrupt is blindly sent to all the vCPUs when NMI > button event happens. This doesn't properly emulate real hardware on > which NMI button event triggers LINT1. Because of this, NMI is sent to > the processor

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

2011-10-09 Thread Lai Jiangshan
On 09/26/2011 04:21 PM, Avi Kivity wrote: > 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 irqc

[Qemu-devel] [PATCH] kernel/kvm: fix improper nmi emulation (was: Re: [PATCH] qemu: Fix inject-nmi)

2011-10-09 Thread Lai Jiangshan
From: Kenji Kaneshige Currently, NMI interrupt is blindly sent to all the vCPUs when NMI button event happens. This doesn't properly emulate real hardware on which NMI button event triggers LINT1. Because of this, NMI is sent to the processor even when LINT1 is maskied in LVT. For example, this c

[Qemu-devel] [PATCH 2/2] seabios: fix mptable nmi entry (was: Re: [PATCH] qemu: Fix inject-nmi)

2011-10-09 Thread Lai Jiangshan
From: Kenji Kaneshige In the current seabios MP table description, NMI is connected only to BSP's LINT1. But usually NMI is connected to all the CPUs' LINT1 as indicated in MP specification. This patch changes seabios MP table to describe NMI is connected to all the CPUs' LINT1. Signed-off-by: K

[Qemu-devel] [PATCH 1/2] seabios: Add Local APIC NMI Structure to ACPI MADT (was: Re: [PATCH] qemu: Fix inject-nmi)

2011-10-09 Thread Lai Jiangshan
From: Kenji Kaneshige ACPI NMI Structure describes LINT pin (LINT0 or LINT1) information to which NMI is connected, and it is needed by OS to initialize local APIC. Signed-off-by: Kenji Kaneshige Reviewed-by: Lai Jiangshan --- src/acpi.c | 22 -- 1 file changed, 20 inser

[Qemu-devel] [PATCH] qemu-kvm: fix improper nmi emulation (was: Re: [PATCH] qemu: Fix inject-nmi)

2011-10-09 Thread Lai Jiangshan
From: Kenji Kaneshige Currently, NMI interrupt is blindly sent to all the vCPUs when NMI button event happens. This doesn't properly emulate real hardware on which NMI button event triggers LINT1. Because of this, NMI is sent to the processor even when LINT1 is maskied in LVT. For example, this c

Re: [Qemu-devel] [PATCH 1/2] hw/9pfs: Add new virtfs option cache=writethrough to skip host page cache

2011-10-09 Thread Stefan Hajnoczi
On Sun, Oct 9, 2011 at 7:35 PM, Aneesh Kumar K.V wrote: > On Sun, 9 Oct 2011 17:16:50 +0100, Stefan Hajnoczi wrote: >> On Sun, Oct 9, 2011 at 4:34 PM, Aneesh Kumar K.V >> wrote: >> > On Sat, 8 Oct 2011 12:24:37 +0100, Stefan Hajnoczi >> > wrote: >> >> On Fri, Oct 7, 2011 at 7:46 AM, Aneesh Kum

[Qemu-devel] CD foler list and content won't update after eject and replace CD in winxp guest

2011-10-09 Thread Jiff Shen
I recently found there is an issue with CD support in qemu, my vm guest is windows xp, qemu version 0.13.50 which is from spice git, the vm is startup with physical CDROM attached. If I push the eject button of CDROM device and change CD media, most time the directory list won't update in vm. (ejec

[Qemu-devel] [PATCH 2/7] target-xtensa: remove hand-written xtensa cores implementations

2011-10-09 Thread Max Filippov
Signed-off-by: Max Filippov --- Makefile.target |1 - hw/xtensa_sample.c| 107 --- target-xtensa/gdb-config-dc232b.c | 261 - target-xtensa/gdb-config-sample-xtensa-core.c | 375 --

[Qemu-devel] [PATCH 3/7] target-xtensa: implement external interrupt mapping

2011-10-09 Thread Max Filippov
Xtensa cores may have different mapping of external interrupt pins to internal IRQ numers. Implement API to acquire core IRQ by its external interrupt number. Signed-off-by: Max Filippov --- hw/xtensa_pic.c | 12 target-xtensa/cpu.h |3 +++ 2 files changed, 15 insertions(+

[Qemu-devel] [PATCH 5/7] target-xtensa: add dc232b core

2011-10-09 Thread Max Filippov
This is Diamond 232L Standard Core Rev.B (LE), implemented through linux/gdb overlay. Signed-off-by: Max Filippov --- Makefile.target|1 + target-xtensa/core-dc232b.c| 28 ++ target-xtensa/core-dc232b/core-isa.h | 424

[Qemu-devel] [PATCH 6/7] target-xtensa: add fsf core

2011-10-09 Thread Max Filippov
This is FSF big endian core implemented through linux/gdb overlay. Signed-off-by: Max Filippov --- Makefile.target |1 + target-xtensa/core-fsf.c| 28 +++ target-xtensa/core-fsf/core-isa.h | 362 +++ target-xtensa/core-fsf/

[Qemu-devel] [PATCH 4/7] target-xtensa: extract core configuration from overlay

2011-10-09 Thread Max Filippov
Introduce overlay_tool.h that defines core configuration blocks from data available in the linux architecture variant overlay. Overlay data is automatically generated in the core configuration process by Tensilica tools and can be directly converted to qemu xtensa core description by overlay_tool.

[Qemu-devel] [PATCH 0/7] target-xtensa: add overlay parsing header and convert hand-written core definitions to use overlays

2011-10-09 Thread Max Filippov
Max Filippov (7): target-xtensa: increase xtensa options accuracy target-xtensa: remove hand-written xtensa cores implementations target-xtensa: implement external interrupt mapping target-xtensa: extract core configuration from overlay target-xtensa: add dc232b core target-xtensa: add

[Qemu-devel] [PATCH 1/7] target-xtensa: increase xtensa options accuracy

2011-10-09 Thread Max Filippov
- add separate options for each operation in the MISC_OP; - add an option for MULSH/MULUH; - put S32C1I under conditional store option. Signed-off-by: Max Filippov --- target-xtensa/cpu.h |6 +- target-xtensa/translate.c | 14 +++--- 2 files changed, 12 insertions(+), 8 d

[Qemu-devel] [PATCH 7/7] target-xtensa: rename dc232b board to sim

2011-10-09 Thread Max Filippov
This is to get aligned with the linux name for this machine. Signed-off-by: Max Filippov --- Makefile.target |2 +- hw/xtensa_dc232b.c| 116 - hw/xtensa_sim.c | 116 + tests/xten

[Qemu-devel] [PATCH 0/2] target-xtensa: add Avnet lx60/lx110/lx200 board and OpenCores Ethernet MAC

2011-10-09 Thread Max Filippov
Max Filippov (2): hw: add OpenCores 10/100 Mbps Ethernet controller target-xtensa: add Avnet LX60/LX110/LX200 boards Makefile.objs|1 + Makefile.target |1 + default-configs/xtensa-softmmu.mak |3 + default-configs/xtensaeb-softmmu.ma

[Qemu-devel] [PATCH 1/2] hw: add OpenCores 10/100 Mbps Ethernet controller

2011-10-09 Thread Max Filippov
This is OpenCores Ethernet MAC + subset of National Semiconductors DP83838C PHY. OpenCores Ethernet MAC project: http://opencores.org/project,ethmac Signed-off-by: Max Filippov --- Makefile.objs |1 + hw/opencores_eth.c | 728 trace-

[Qemu-devel] [PATCH 2/2] target-xtensa: add Avnet LX60/LX110/LX200 boards

2011-10-09 Thread Max Filippov
These boards carry similar hardware: SDRAM (48M for LX110, 64M for LX60, 96M for LX200), 16 Mbyte FLASH, FPGA, 10/100 Mbps Ethernet PHY and 16550 UART. FPGA may be loaded with almost any Tensilica processor. It is also used to implement Ethernet MAC, e.g. OpenCores 10/100 Mbps Ethernet MAC and LED/

[Qemu-devel] [PATCH 0/2] target-xtensa: implement MAC16 option and unit tests for it

2011-10-09 Thread Max Filippov
Max Filippov (2): target-xtensa: implement MAC16 option target-xtensa: add MAC16 unit tests target-xtensa/cpu.h |3 + target-xtensa/translate.c | 135 +- tests/xtensa/Makefile |1 + tests/xtensa/test_mac16.S | 243 +++

[Qemu-devel] [PATCH 1/2] target-xtensa: implement MAC16 option

2011-10-09 Thread Max Filippov
See ISA, 4.3.7 for the details. - add ACC and MR special registers; - implement MAC16 and all inner MAC* opcode groups. Signed-off-by: Max Filippov --- target-xtensa/cpu.h |3 + target-xtensa/translate.c | 135 - 2 files changed, 137 insert

[Qemu-devel] [PATCH 2/2] target-xtensa: add MAC16 unit tests

2011-10-09 Thread Max Filippov
Signed-off-by: Max Filippov --- tests/xtensa/Makefile |1 + tests/xtensa/test_mac16.S | 243 + 2 files changed, 244 insertions(+), 0 deletions(-) create mode 100644 tests/xtensa/test_mac16.S diff --git a/tests/xtensa/Makefile b/tests/xtensa/M

[Qemu-devel] [PATCH] target-xtensa: update qemu-doc.texi

2011-10-09 Thread Max Filippov
Signed-off-by: Max Filippov --- qemu-doc.texi | 55 +++ qemu-tech.texi | 40 +--- 2 files changed, 88 insertions(+), 7 deletions(-) diff --git a/qemu-doc.texi b/qemu-doc.texi index 31199f6..ad19b73 10064

[Qemu-devel] [PATCH] target-xtensa: fix guest hang on masked CCOMPARE interrupt

2011-10-09 Thread Max Filippov
QEMU timer is used to post CCOMPARE interrupt when the core is halted. If that CCOMPARE interrupt is masked off then the timer must be rearmed in the callback, otherwise it will be rearmed next time the core goes to halt by the waiti instruction. Add test case into timer testsuite. Signed-off-by:

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

2011-10-09 Thread Wen Congyang
At 10/09/2011 06:23 PM, Richard W.M. Jones Write: > On Sun, Oct 09, 2011 at 10:49:57AM +0200, Jan Kiszka wrote: >> As explained in the other replies: It is way more future-proof to use an >> interface for this which was designed for it (remote gdb) instead of >> artificially relaxing reasonable con

[Qemu-devel] [PATCH] arm_pic: Fix typo

2011-10-09 Thread Andreas Färber
interrput -> interrupt Cc: Paul Brook Signed-off-by: Andreas Färber --- hw/arm_pic.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/arm_pic.c b/hw/arm_pic.c index 985148a..41f8d3e 100644 --- a/hw/arm_pic.c +++ b/hw/arm_pic.c @@ -39,7 +39,7 @@ static void arm_pic_cp

Re: [Qemu-devel] Qemu/KVM guest boots 2x slower with vhost_net

2011-10-09 Thread Reeted
On 10/05/11 01:12, Reeted wrote: . I found that virtual machines in my host booted 2x slower ... to the vhost_net presence ... Just a small update, Firstly: I cannot reproduce any slowness after boot by doing: # time /etc/init.d/chrony restart Restarting time daemon: Starting /usr/sbin/

Re: [Qemu-devel] [PATCH] This patch adds a new block driver : iSCSI

2011-10-09 Thread ronnie sahlberg
ping? On Thu, Sep 29, 2011 at 4:54 PM, Stefan Hajnoczi wrote: > On Wed, Sep 21, 2011 at 07:37:55PM +1000, Ronnie Sahlberg wrote: >> This provides built-in support for iSCSI to QEMU. >> This has the advantage that the iSCSI devices need not be made visible to >> the host, which is useful if you

[Qemu-devel] [PATCH 4/5] savevm: improve subsections detection on load

2011-10-09 Thread Juan Quintela
We add qemu_peek_buffer, that is identical to qemu_get_buffer, just that it don't update f->buf_index. We add a paramenter to qemu_peek_byte() to be able to peek more than one byte. Once this is done, to see if we have a subsection we look: - 1st byte is QEMU_VM_SUBSECTION - 2nd byte is a length,

[Qemu-devel] [PATCH 3/5] savevm: define qemu_get_byte() using qemu_peek_byte()

2011-10-09 Thread Juan Quintela
Signed-off-by: Juan Quintela Signed-off-by: Juan Quintela --- savevm.c | 15 ++- 1 files changed, 6 insertions(+), 9 deletions(-) diff --git a/savevm.c b/savevm.c index 4069b34..94628c6 100644 --- a/savevm.c +++ b/savevm.c @@ -578,17 +578,14 @@ static int qemu_peek_byte(QEMUFile *f

[Qemu-devel] [PATCH RFC] qemu-file: output data directly if possible

2011-10-09 Thread Michael S. Tsirkin
qemu file currently always buffers up data before writing it out. At least for memory this is probably not a good idea: writing out to file would be cheaper. Let's do that if we can, which should be the common case. If we can't, buffer. Signed-off-by: Michael S. Tsirkin --- Completely untested,

[Qemu-devel] [PATCH 2/5] savevm: some coding style cleanups

2011-10-09 Thread Juan Quintela
This patch will make moving code on next patches and having checkpatch happy easier. Signed-off-by: Juan Quintela Reviewed-by: Anthony Liguori Signed-off-by: Juan Quintela --- savevm.c | 21 ++--- 1 files changed, 14 insertions(+), 7 deletions(-) diff --git a/savevm.c b/savev

[Qemu-devel] [PATCH 5/5] Revert "savevm: fix corruption in vmstate_subsection_load()."

2011-10-09 Thread Juan Quintela
This reverts commit eb60260de0b050a5e8ab725e84d377d0b44c43ae. Conflicts: savevm.c We changed qemu_peek_byte() prototype, just fixed the rejects. Signed-off-by: Juan Quintela Reviewed-by: Anthony Liguori Signed-off-by: Juan Quintela --- savevm.c | 10 +- 1 files changed, 1 i

[Qemu-devel] [PATCH 1/5] savevm: teach qemu_fill_buffer to do partial refills

2011-10-09 Thread Juan Quintela
We will need on next patch to be able to lookahead on next patch v2: rename "used" to "pending" (Alex Williams) Signed-off-by: Juan Quintela Reviewed-by: Anthony Liguori Signed-off-by: Juan Quintela --- savevm.c | 14 +++--- 1 files changed, 11 insertions(+), 3 deletions(-) diff --g

[Qemu-devel] [PATCH v4 0/5] Improve subsections detection

2011-10-09 Thread Juan Quintela
Hi v4: - brown paperbug on qemu_file_skip() static void qemu_file_skip(QEMUFile *f, int size) { -if (f->buf_index + size < f->buf_size) { +if (f->buf_index + size <= f->buf_size) { f->buf_index += size; } } v3: - fix return value on qemu_get_buffer. Anthony, all reviewers co

Re: [Qemu-devel] [PATCH v3] Add AACI audio playback support to the ARM Versatile/PB platform

2011-10-09 Thread Mathieu Sonet
Peter Maydell wrote: On 29 September 2011 18:31, Mathieu Sonet wrote: This driver emulates the ARM AACI interface (PL041) connected to a LM4549 codec. It enables audio playback for the Versatile/PB platform. Limitations: - Supports only a playback on one channel (Versatile/Vexpress) - Supports

Re: [Qemu-devel] [PATCH 00/26] AREG0 conversion

2011-10-09 Thread Blue Swirl
On Sat, Sep 24, 2011 at 6:14 PM, Blue Swirl wrote: > In this version, target-sparc/op_helper.c is completely eliminated > after the last commit! > > For some reason, sparc-softmmu crashes after first qemu_st op and it > does not compile on non-x86. Other targets still seem to work, as does > sparc

Re: [Qemu-devel] [PATCH 1/2] hw/9pfs: Add new virtfs option cache=writethrough to skip host page cache

2011-10-09 Thread Aneesh Kumar K.V
On Sun, 9 Oct 2011 17:16:50 +0100, Stefan Hajnoczi wrote: > On Sun, Oct 9, 2011 at 4:34 PM, Aneesh Kumar K.V > wrote: > > On Sat, 8 Oct 2011 12:24:37 +0100, Stefan Hajnoczi > > wrote: > >> On Fri, Oct 7, 2011 at 7:46 AM, Aneesh Kumar K.V > >> wrote: > >> > cache=writethrough implies the file a

Re: [Qemu-devel] QEMU + ARMMP11Core combination does not work

2011-10-09 Thread Andreas Färber
Hello Tushar, Am 05.10.2011 14:14, schrieb TusharK: > I am not getting any reply on this query. I do not know how should I use > this combination and really stuck because of this. Can somebody from > QEMU devel quickly provide me help in this regard? I do not know what is > taking time to answer t

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

2011-10-09 Thread Francis Moreau
On Sun, Oct 9, 2011 at 2:51 PM, Peter Maydell wrote: > On 9 October 2011 13:06, Francis Moreau wrote: >> On Sun, Oct 9, 2011 at 12:48 PM, Peter Maydell >> wrote: >>> On 9 October 2011 09:28, Francis Moreau wrote: I'm trying to use qemu to emulate the ARM realview-pb-a8 and more speci

Re: [Qemu-devel] [PATCH 3/3] vga: compile cirrus_vga in hwlib

2011-10-09 Thread Avi Kivity
On 10/09/2011 12:24 PM, Blue Swirl wrote: Remove target dependencies and compile Cirrus VGA in hwlib. @@ -618,10 +621,10 @@ static void cirrus_invalidate_region(CirrusVGAState * s, int off_begin, for (y = 0; y< lines; y++) { off_cur = off_begin; off_cur_end = (off_cur +

Re: [Qemu-devel] [PATCH 6/8] tcg: Add bytecode generator for tcg interpreter

2011-10-09 Thread Andreas Färber
Am 01.10.2011 23:25, schrieb Stefan Weil: > Am 01.10.2011 18:54, schrieb Andreas Färber: >> Am 17.09.2011 22:00, schrieb Stefan Weil: >>> +The bytecode consists of opcodes (same numeric values as those used by >>> +TCG), command length and arguments of variable size and number. >> >> While reusing

Re: [Qemu-devel] [PATCH 1/2] hw/9pfs: Add new virtfs option cache=writethrough to skip host page cache

2011-10-09 Thread Stefan Hajnoczi
On Sun, Oct 9, 2011 at 4:34 PM, Aneesh Kumar K.V wrote: > On Sat, 8 Oct 2011 12:24:37 +0100, Stefan Hajnoczi wrote: >> On Fri, Oct 7, 2011 at 7:46 AM, Aneesh Kumar K.V >> wrote: >> > cache=writethrough implies the file are opened in the host with O_SYNC >> > open flag >> > >> > Signed-off-by: A

[Qemu-devel] [PATCH] Update README example

2011-10-09 Thread Liu, Jinsong
>> >> This was recently changed, it now outputs to the serial port. >> >> Try >> >> >> qemu-system-x86_64 -device testdev,chardev=testlog -chardev >> file,id=testlog,path=apic.out -serial stdio -kernel ./x86/apic.flat >> >> > > Thanks Avi, I got test log as: > > enabling apic > paging enabl

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

2011-10-09 Thread Alexander Graf
On 09.10.2011, at 17:46, Peter Maydell wrote: > On 9 October 2011 16:01, Alexander Graf wrote: >> cache=writeback survives host crashes. The only reason writethrough >> is the default is Windows XP which doesn't issue flushes properly, >> so there cache=writeback can lead to data loss. Linux gue

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

2011-10-09 Thread Peter Maydell
On 9 October 2011 16:01, Alexander Graf wrote: > cache=writeback survives host crashes. The only reason writethrough > is the default is Windows XP which doesn't issue flushes properly, > so there cache=writeback can lead to data loss. Linux guests are fine. I thought that only applied to disks a

Re: [Qemu-devel] [PATCH 1/2] hw/9pfs: Add new virtfs option cache=writethrough to skip host page cache

2011-10-09 Thread Aneesh Kumar K.V
On Sat, 8 Oct 2011 12:24:37 +0100, Stefan Hajnoczi wrote: > On Fri, Oct 7, 2011 at 7:46 AM, Aneesh Kumar K.V > wrote: > > cache=writethrough implies the file are opened in the host with O_SYNC open > > flag > > > > Signed-off-by: Aneesh Kumar K.V > > --- > >  fsdev/file-op-9p.h         |    1 +

Re: [Qemu-devel] [PATCH] apic: test tsc deadline timer

2011-10-09 Thread Liu, Jinsong
Updated test case for kvm tsc deadline timer https://github.com/avikivity/kvm-unit-tests, as attached. Thanks, Jinsong = >From 2b476cf741b36da5df35cf2e8f7f9562e8245fcd Mon Sep 17 00:00:00 2001 From: Liu, Jinsong Date: Sun, 9 Oct 2011 22:45:39 +0800 Subject: [PATCH] apic: test ts

Re: [Qemu-devel] [PATCH] apic: test tsc deadline timer

2011-10-09 Thread Liu, Jinsong
Avi Kivity wrote: > On 10/09/2011 12:05 PM, Liu, Jinsong wrote: >> Marcelo, >> >> I add test case for tsc deadline timer >> https://github.com/avikivity/kvm-unit-tests, as attached. >> >> According to the kvm-unit-tests README, I try to run >> qemu-system-x86_64 -device testdev,chardev=testlog -

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

2011-10-09 Thread Alexander Graf
On 09.10.2011, at 14:51, Peter Maydell wrote: > On 9 October 2011 13:06, Francis Moreau wrote: >> On Sun, Oct 9, 2011 at 12:48 PM, Peter Maydell >> wrote: >>> On 9 October 2011 09:28, Francis Moreau wrote: I'm trying to use qemu to emulate the ARM realview-pb-a8 and more specificall

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

2011-10-09 Thread Peter Maydell
On 9 October 2011 13:06, Francis Moreau wrote: > On Sun, Oct 9, 2011 at 12:48 PM, Peter Maydell > wrote: >> On 9 October 2011 09:28, Francis Moreau wrote: >>> I'm trying to use qemu to emulate the ARM realview-pb-a8 and more >>> specifically I'd like to boot using the SD interface. >>> >>> Howe

Re: [Qemu-devel] [PULL 00/25] Memory API conversion, batch 10

2011-10-09 Thread Blue Swirl
On Sun, Oct 9, 2011 at 12:07 PM, Avi Kivity wrote: > On 10/09/2011 01:01 PM, Blue Swirl wrote: >> >> On Sun, Oct 9, 2011 at 10:33 AM, Avi Kivity  wrote: >> >  On 10/02/2011 04:26 PM, Avi Kivity wrote: >> >> >> >>  Please pull from: >> >> >> >>     git://github.com/avikivity/qemu.git memory/batch >

Re: [Qemu-devel] [PULL 00/25] Memory API conversion, batch 10

2011-10-09 Thread Avi Kivity
On 10/09/2011 01:01 PM, Blue Swirl wrote: On Sun, Oct 9, 2011 at 10:33 AM, Avi Kivity wrote: > On 10/02/2011 04:26 PM, Avi Kivity wrote: >> >> Please pull from: >> >> git://github.com/avikivity/qemu.git memory/batch >> >> etrax, milkymist, serial conversions. All have already been posted

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

2011-10-09 Thread Francis Moreau
Hello Peter, On Sun, Oct 9, 2011 at 12:48 PM, Peter Maydell wrote: > On 9 October 2011 09:28, Francis Moreau wrote: >> I'm trying to use qemu to emulate the ARM realview-pb-a8 and more >> specifically I'd like to boot using the SD interface. >> >> However it looks like some devices are not emula

Re: [Qemu-devel] [PULL 00/25] Memory API conversion, batch 10

2011-10-09 Thread Blue Swirl
On Sun, Oct 9, 2011 at 10:33 AM, Avi Kivity wrote: > On 10/02/2011 04:26 PM, Avi Kivity wrote: >> >> Please pull from: >> >>   git://github.com/avikivity/qemu.git memory/batch >> >> etrax, milkymist, serial conversions.  All have already been posted on the >> list. >> >> > > Ping? Sorry, the rece

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

2011-10-09 Thread Peter Maydell
On 9 October 2011 09:28, Francis Moreau wrote: > I'm trying to use qemu to emulate the ARM realview-pb-a8 and more > specifically I'd like to boot using the SD interface. > > However it looks like some devices are not emulated at all on this > platform. Correct; not all devices are emulated. > T

Re: [Qemu-devel] [PATCH 1/3] vga: make PCI devices optional

2011-10-09 Thread Jan Kiszka
On 2011-10-09 12:22, Blue Swirl wrote: > Signed-off-by: Blue Swirl > --- > hw/cirrus_vga.c |5 - > hw/pc.c |6 +- > hw/pc.h | 26 -- > hw/pci.c| 18 ++ > hw/pci.h|4 > hw/vga-pci.c|6 -

Re: [Qemu-devel] [PULL 00/25] Memory API conversion, batch 10

2011-10-09 Thread Avi Kivity
On 10/02/2011 04:26 PM, Avi Kivity wrote: Please pull from: git://github.com/avikivity/qemu.git memory/batch etrax, milkymist, serial conversions. All have already been posted on the list. Ping? -- error compiling committee.c: too many arguments to function

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

2011-10-09 Thread Jan Kiszka
On 2011-10-09 12:23, Richard W.M. Jones wrote: > On Sun, Oct 09, 2011 at 10:49:57AM +0200, Jan Kiszka wrote: >> As explained in the other replies: It is way more future-proof to use an >> interface for this which was designed for it (remote gdb) instead of >> artificially relaxing reasonable constr

[Qemu-devel] [PATCH 3/3] vga: compile cirrus_vga in hwlib

2011-10-09 Thread Blue Swirl
Remove target dependencies and compile Cirrus VGA in hwlib. Signed-off-by: Blue Swirl --- Makefile.objs |1 + Makefile.target |1 - hw/cirrus_vga.c |9 ++--- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Makefile.objs b/Makefile.objs index c849e51..df2c888 1006

Re: [Qemu-devel] [PATCH] apic: test tsc deadline timer

2011-10-09 Thread Avi Kivity
On 10/09/2011 12:05 PM, Liu, Jinsong wrote: Marcelo, I add test case for tsc deadline timer https://github.com/avikivity/kvm-unit-tests, as attached. According to the kvm-unit-tests README, I try to run qemu-system-x86_64 -device testdev,chardev=testlog -chardev file,id=testlog,path=apic.out

[Qemu-devel] [PATCH 2/3] vga: make Cirrus ISA device optional

2011-10-09 Thread Blue Swirl
Signed-off-by: Blue Swirl --- Makefile.target | 14 --- default-configs/alpha-softmmu.mak|2 + default-configs/arm-softmmu.mak |1 + default-configs/i386-softmmu.mak |2 + default-configs/mips-softmmu.mak |2 + default-configs/mips64

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

2011-10-09 Thread Richard W.M. Jones
On Sun, Oct 09, 2011 at 10:49:57AM +0200, Jan Kiszka wrote: > As explained in the other replies: It is way more future-proof to use an > interface for this which was designed for it (remote gdb) instead of > artificially relaxing reasonable constraints of the migration mechanism > plus having to fo

[Qemu-devel] [PATCH 1/3] vga: make PCI devices optional

2011-10-09 Thread Blue Swirl
Signed-off-by: Blue Swirl --- hw/cirrus_vga.c |5 - hw/pc.c |6 +- hw/pc.h | 26 -- hw/pci.c| 18 ++ hw/pci.h|4 hw/vga-pci.c|6 -- 6 files changed, 51 insertions(+), 14 deletions(-)

[Qemu-devel] [PATCH 0/3] VGA improvements

2011-10-09 Thread Blue Swirl
Build VGA devices in hwlib and make the devices optional. Blue Swirl (3): vga: make PCI devices optional vga: make Cirrus ISA device optional vga: compile cirrus_vga in hwlib Makefile.objs|1 + Makefile.target | 13 ++- default-configs

[Qemu-devel] [PATCH] apic: test tsc deadline timer

2011-10-09 Thread Liu, Jinsong
Marcelo, I add test case for tsc deadline timer https://github.com/avikivity/kvm-unit-tests, as attached. According to the kvm-unit-tests README, I try to run qemu-system-x86_64 -device testdev,chardev=testlog -chardev file,id=testlog,path=apic.out -kernel ./x86/apic.flat but get nothing from t

Re: [Qemu-devel] [PATCH 0/3] block: zero write detection

2011-10-09 Thread Mars.cao
On 10/07/2011 11:49 PM, Stefan Hajnoczi wrote: Image streaming copies data from the backing file into the image file. It is important to represent zero regions from the backing file efficiently during streaming, otherwise the image file grows to the full virtual disk size and loses sparseness.

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

2011-10-09 Thread Jan Kiszka
On 2011-10-08 17:16, Richard W.M. Jones wrote: > On Fri, Oct 07, 2011 at 12:16:07PM +0200, Jan Kiszka wrote: >> On 2011-10-07 11:46, Wen Congyang wrote: >>> Currently, virsh dump uses monitor command migrate to dump guest's memory >>> to file, and we can use crash to analyze the file. >>> >>> Unfor

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

2011-10-09 Thread Francis Moreau
Hello, I'm trying to use qemu to emulate the ARM realview-pb-a8 and more specifically I'd like to boot using the SD interface. However it looks like some devices are not emulated at all on this platform. I added a couple of trace to see which one cannot be probed by the kernel and I got them: a

Re: [Qemu-devel] [PATCH] target-alpha: Fix compilation errors for 32 bit hosts

2011-10-09 Thread Blue Swirl
Thanks, applied. On Sun, Oct 9, 2011 at 6:50 AM, Stefan Weil wrote: > On i386, these errors were reported: > > qemu/hw/alpha_dp264.c: In function ‘clipper_init’: > qemu/hw/alpha_dp264.c:158: error: integer constant is too large for ‘unsigned > long’ type > > qemu/hw/alpha_typhoon.c: In function

Re: [Qemu-devel] Integrating Dynamips and GNS3 UDP tunnels (Patches)

2011-10-09 Thread Benjamin
I took your comments into account and I am now making the necessary changes. I should be able to send you a correct patch with netdev support during the next coming week. Thanks you for your time. On 10/08/11 11:29, Jan Kiszka wrote: Just curious: Do you have setups that depend on vlan support