Re: [Qemu-devel] [PATCH 1/2] hw/omap_gpmc: Add comment about FIFOTHRESHOLDSTATUS bit

2011-09-22 Thread andrzej zaborowski
On 17 September 2011 20:51, Peter Maydell wrote: > Promote the remark about why we handle FIFOTHRESHOLDSTATUS the > way we do from the commit message of de8af7fe0 to a comment in > the code. Thanks, I applied both patches. Looks like any other related patches are waiting for other events. Cheer

Re: [Qemu-devel] [PATCH 0/2] Make simpletrace work on Windows

2011-09-22 Thread hkran
On 09/20/2011 06:15 PM, Zhi Yong Wu wrote: On Tue, Sep 20, 2011 at 5:57 PM, Stefan Hajnoczi wrote: On Tue, Sep 20, 2011 at 05:05:45PM +0800, hkran wrote: On 09/09/2011 05:37 PM, Stefan Hajnoczi wrote: The 'simple' trace backend uses pthreads and does not work on Windows. These patches switc

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

2011-09-22 Thread Kevin O'Connor
On Wed, Sep 21, 2011 at 08:16:21AM +0200, Jan Kiszka wrote: > From: Jan Kiszka > > This prevents lockups when trying to allocate PCI resources on an > ISA-only system like QEMU can emulate. > > Signed-off-by: Jan Kiszka Looks okay to me. -Kevin

Re: [Qemu-devel] TB chaining

2011-09-22 Thread 陳韋任
> if direct chaining is used, am I right to think that jmp_next and jmp_first > will not be used ? You have to know that when we say "TB", it might means different things according to the context. QEMU use struct TranslationBlock to record some information about TB in the code cache. Take dir

[Qemu-devel] [PATCH] Add KZM board support to qemu

2011-09-22 Thread Peter Chubb
The KZM board is an evaluation board for the ARM v6 i.mx31 processor. It is about the only readily-available development board for that processor, even though the imx.31 is used in many embedded devices. This patch was developed at OK-Labs. I have permission from them to push it upstream. Si

Re: [Qemu-devel] [PATCH] KVM: emulate lapic tsc deadline timer for guest

2011-09-22 Thread Marcelo Tosatti
On Thu, Sep 22, 2011 at 11:22:02PM +0800, Liu, Jinsong wrote: > Marcelo Tosatti wrote: > > On Thu, Sep 22, 2011 at 04:55:52PM +0800, Liu, Jinsong wrote: > >>> From 4d5b83aba40ce0d421add9a41a6c591a8590a32e Mon Sep 17 00:00:00 > >>> 2001 > >> From: Liu, Jinsong > >> Date: Thu, 22 Sep 2011 14:00:08

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

2011-09-22 Thread Rick Vernam
On Friday 16 September 2011 12:42:02 Rick Vernam wrote: > On Friday 16 September 2011 03:52:34 hkran wrote: > [snip] > > > I have tried many times with many restarts or shutdown-and-boot xp guest > > but failed to meet the crashing. > > (I am using the virtio drivers referenced in the earlier mail

[Qemu-devel] [PATCH 3/6] ide: Support I/O status

2011-09-22 Thread Luiz Capitulino
Signed-off-by: Luiz Capitulino --- hw/ide/core.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/hw/ide/core.c b/hw/ide/core.c index 4e76fc7..9ec1310 100644 --- a/hw/ide/core.c +++ b/hw/ide/core.c @@ -528,6 +528,7 @@ static int ide_handle_rw_error(IDEState *s, int error,

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

2011-09-22 Thread Luiz Capitulino
This commit adds support to the BlockDriverState type to keep track of devices' I/O status. There are three possible status: BDRV_IOS_OK (no error), BDRV_IOS_ENOSPC (no space error) and BDRV_IOS_FAILED (any other error). The distinction between no space and other errors is important because a mana

[Qemu-devel] [PATCH 4/6] scsi: Support I/O status

2011-09-22 Thread Luiz Capitulino
Signed-off-by: Luiz Capitulino --- hw/scsi-disk.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/hw/scsi-disk.c b/hw/scsi-disk.c index e843f71..a980a53 100644 --- a/hw/scsi-disk.c +++ b/hw/scsi-disk.c @@ -228,6 +228,7 @@ static int scsi_handle_rw_error(SCSIDiskReq *r, i

[Qemu-devel] [PATCH 2/6] virtio: Support I/O status

2011-09-22 Thread Luiz Capitulino
Signed-off-by: Luiz Capitulino --- hw/virtio-blk.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/hw/virtio-blk.c b/hw/virtio-blk.c index daa8e42..bd63a85 100644 --- a/hw/virtio-blk.c +++ b/hw/virtio-blk.c @@ -78,6 +78,7 @@ static int virtio_blk_handle_rw_error(VirtIOBl

Re: [Qemu-devel] stale savannah git repo

2011-09-22 Thread Stefan Weil
Am 22.09.2011 17:04, schrieb Anthony Liguori: On 09/22/2011 09:55 AM, Jan Kiszka wrote: Does Savannah support user cronjobs? Then you could auto-pull qemu.org's public tree once in a while. Not as far as I can tell. Regards, Anthony Liguori Maybe this works: * Get login account for sava

[Qemu-devel] [Bug 739785] Re: qemu-i386 user mode on ARMv5 host fails (bash: fork: Invalid argument)

2011-09-22 Thread Jeffry Johnston
Just wanted to mention that the patch in comment #32 worked for me also. I had to use the qemu-0.14.1.tar.gz source as mentioned in comment #34. On 0.15.0 I did not get a compile error, but when it ran I still couldn't fork. -- You received this bug notification because you are a member of qemu-

[Qemu-devel] [PATCH 6/6] HMP: Print 'io-status' information

2011-09-22 Thread Luiz Capitulino
Signed-off-by: Luiz Capitulino --- block.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/block.c b/block.c index 958a937..2fb7557 100644 --- a/block.c +++ b/block.c @@ -1865,6 +1865,11 @@ static void bdrv_print_dict(QObject *obj, void *opaque) monitor_print

[Qemu-devel] [PATCH 5/6] QMP: query-status: Add 'io-status' key

2011-09-22 Thread Luiz Capitulino
Contains the I/O status for the given device. The key is only present if the device supports it and the VM is configured to stop on errors. Please, check the documentation being added in this commit for more information. Signed-off-by: Luiz Capitulino --- block.c | 12 qm

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

2011-09-22 Thread 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 the VM to determine if any device has caused the VM to sto

[Qemu-devel] VirtIO 9p mount_tag (bogus?) limit of 32 bytes

2011-09-22 Thread Daniel P. Berrange
I've noticed that if you use a virtio 9p filesystem with a mount_tag property value that is longer than 32 bytes, it gets silently truncated. In virtio-9p-device.c len = strlen(conf->tag); if (len > MAX_TAG_LEN) { len = MAX_TAG_LEN; } The header virtio-9p.h contains /*

Re: [Qemu-devel] Enabling Hyperthreading for Guest

2011-09-22 Thread Alex Williamson
On Thu, 2011-09-22 at 18:43 +0200, Erik Rull wrote: > Alex Williamson wrote: > > See the extended -smp options: > > > > -smp n[,maxcpus=cpus][,cores=cores][,threads=threads][,sockets=sockets] > > set the number of CPUs to 'n' [default=1] > > maxcpus= maximum number

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

2011-09-22 Thread Paolo Bonzini
Signed-off-by: Paolo Bonzini --- Makefile |9 + 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index a211158..4308470 100644 --- a/Makefile +++ b/Makefile @@ -145,11 +145,12 @@ endif qemu-img.o: qemu-img-cmds.h qemu-img.o qemu-tool.o qemu-nbd.o qe

Re: [Qemu-devel] Enabling Hyperthreading for Guest

2011-09-22 Thread Erik Rull
Alex Williamson wrote: See the extended -smp options: -smp n[,maxcpus=cpus][,cores=cores][,threads=threads][,sockets=sockets] set the number of CPUs to 'n' [default=1] maxcpus= maximum number of total cpus, including offline CPUs for hotplug, et

Re: [Qemu-devel] [PULL 0/8] Trivial patches for September 10 to 21 2011

2011-09-22 Thread Anthony Liguori
On 09/21/2011 05:25 AM, Stefan Hajnoczi 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: ssh://repo.or.cz/srv/git/qemu/stefa

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

2011-09-22 Thread Riku Voipio
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: git://git.linaro.org/people/rikuvoipio/qemu.git linux-user-for-upstream An-Cheng Huan

Re: [Qemu-devel] [PATCH 0/6] Alpha system emulation, v11

2011-09-22 Thread Edgar E. Iglesias
On Thu, Sep 22, 2011 at 08:30:43AM -0700, Richard Henderson wrote: > Changes v10 - v11: > * Fixes for icount, based on feedback from Peter and Edgar. > * Re-based against master. > > The patch set is also available at > > git://repo.or.cz/qemu/rth.git axp-system-7 > > > r~ > > > Richard

Re: [Qemu-devel] [PULL 0/4] Block patches (includes build fix for non-Linux)

2011-09-22 Thread Anthony Liguori
On 09/21/2011 08:21 AM, Kevin Wolf wrote: The following changes since commit 27cdad67a1bc23b38c765b677ed8064bfb8d3e44: Revert "alpha-softmmu: Disable for the 0.15 release branch." (2011-09-21 00:50:32 +0200) Pulled. Thanks. Regards, Anthony Liguori are available in the git repository

Re: [Qemu-devel] [PULL 0/5] Tracing patches

2011-09-22 Thread Anthony Liguori
On 09/21/2011 05:36 AM, Stefan Hajnoczi wrote: The latest fixes and updates to QEMU tracing. Pulled. Thanks. Regards, Anthony Liguori Lluís Vilanova (1): trace: Update docs to use example events that exist Stefan Hajnoczi (4): trace: allow trace events with string arguments MAIN

Re: [Qemu-devel] [PULL] memory core fix

2011-09-22 Thread Anthony Liguori
On 09/21/2011 07:24 AM, Avi Kivity wrote: Please pull from git://github.com/avikivity/qemu.git memory/core Pulled. Thanks. Regards, Anthony Liguori to receive the following fix: Michael Walle (1): memory: fix subregion collision warning memory.c | 13 - 1 files changed, 8 in

Re: [Qemu-devel] [PULL 00/13] Memory API conversion, batch 8

2011-09-22 Thread Anthony Liguori
On 09/21/2011 03:19 AM, Avi Kivity wrote: Available on git://github.com/avikivity/qemu.git memory/batch Please pull. Pulled. Thanks. Regards, Anthony Liguori Avi Kivity (13): mips_jazz: convert to memory API mips_malta: convert to memory API mips_mipssim: convert to memory A

[Qemu-devel] [PATCH 6/6] target-alpha: Add high-resolution access to wall clock and an alarm.

2011-09-22 Thread Richard Henderson
The alarm is a fully general one-shot time comparator, which will be usable under Linux as a hrtimer source. It's much more flexible than the RTC source available on real hardware. The wall clock allows the guest access to the host timekeeping. Much like the KVM wall clock source for other guest

[Qemu-devel] [PATCH] [SPARC] Fix segfault in Leon3

2011-09-22 Thread Fabien Chouteau
Remove faulty access to global "env" in op_helper.c, replaced by function argument. Signed-off-by: Fabien Chouteau --- target-sparc/cpu.h | 10 ++ target-sparc/helper.c|2 +- target-sparc/op_helper.c |6 +++--- 3 files changed, 10 insertions(+), 8 deletions(-) diff

[Qemu-devel] [PATCH 2/6] target-alpha: Add custom PALcode image for CLIPPER emulation.

2011-09-22 Thread Richard Henderson
Signed-off-by: Richard Henderson --- .gitmodules |3 +++ Makefile|3 ++- configure |8 +++- pc-bios/README |3 +++ pc-bios/palcode-clipper | Bin 0 -> 185703 bytes roms/qemu-palcode |1 + 6 files changed, 16 inserti

[Qemu-devel] [PATCH 3/6] target-alpha: Add CLIPPER emulation.

2011-09-22 Thread Richard Henderson
This is a DP264 variant, SMP capable, no unusual hardware present. The emulation does not currently include any PCI IOMMU code. Hopefully the generic support for that can be merged to HEAD soon. Signed-off-by: Richard Henderson --- Makefile.target |1 + default-configs/alp

[Qemu-devel] [PATCH 4/6] target-alpha: Implement WAIT IPR.

2011-09-22 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-alpha/translate.c | 31 +-- 1 files changed, 21 insertions(+), 10 deletions(-) diff --git a/target-alpha/translate.c b/target-alpha/translate.c index fb2e9e5..c1ef465 100644 --- a/target-alpha/translate.c +++ b/target-alph

[Qemu-devel] [PATCH 5/6] target-alpha: Implement HALT IPR.

2011-09-22 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-alpha/helper.h|1 + target-alpha/op_helper.c | 10 ++ target-alpha/translate.c |5 + 3 files changed, 16 insertions(+), 0 deletions(-) diff --git a/target-alpha/helper.h b/target-alpha/helper.h index 2dec57e..c352c24 100644 --

[Qemu-devel] [PATCH 0/6] Alpha system emulation, v11

2011-09-22 Thread Richard Henderson
Changes v10 - v11: * Fixes for icount, based on feedback from Peter and Edgar. * Re-based against master. The patch set is also available at git://repo.or.cz/qemu/rth.git axp-system-7 r~ Richard Henderson (6): target-alpha: Honor icount for RPCC instruction. target-alpha: Add custom

[Qemu-devel] [PATCH 1/6] target-alpha: Honor icount for RPCC instruction.

2011-09-22 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-alpha/translate.c | 12 ++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/target-alpha/translate.c b/target-alpha/translate.c index 1e224a2..fb2e9e5 100644 --- a/target-alpha/translate.c +++ b/target-alpha/translate.c @@ -27

Re: [Qemu-devel] [PATCH] KVM: emulate lapic tsc deadline timer for guest

2011-09-22 Thread Liu, Jinsong
Marcelo Tosatti wrote: > On Thu, Sep 22, 2011 at 04:55:52PM +0800, Liu, Jinsong wrote: >>> From 4d5b83aba40ce0d421add9a41a6c591a8590a32e Mon Sep 17 00:00:00 >>> 2001 >> From: Liu, Jinsong >> Date: Thu, 22 Sep 2011 14:00:08 +0800 >> Subject: [PATCH 2/2] KVM: emulate lapic tsc deadline timer for gu

Re: [Qemu-devel] stale savannah git repo (was: Re: KVM call agenda for April 05)

2011-09-22 Thread Anthony Liguori
On 09/22/2011 09:55 AM, Jan Kiszka wrote: On 2011-09-22 16:34, Anthony Liguori wrote: On 09/22/2011 09:20 AM, Peter Maydell wrote: On 14 June 2011 14:24, Anthony Liguori wrote: On 06/09/2011 05:14 AM, Peter Maydell wrote: Ping? Is it possible to either get the savannah git tree to be automa

Re: [Qemu-devel] stale savannah git repo (was: Re: KVM call agenda for April 05)

2011-09-22 Thread Jan Kiszka
On 2011-09-22 16:34, Anthony Liguori wrote: > On 09/22/2011 09:20 AM, Peter Maydell wrote: >> On 14 June 2011 14:24, Anthony Liguori wrote: >>> On 06/09/2011 05:14 AM, Peter Maydell wrote: Ping? Is it possible to either get the savannah git tree to be automatically mirrored from git.qemu

Re: [Qemu-devel] [PATCH spice-server 00/13] semi-seamless migration v2 (RHBZ #738266, 725009)

2011-09-22 Thread Alon Levy
On Wed, Sep 21, 2011 at 06:51:10PM +0300, Yonit Halperin wrote: > same as the previous version with the following changes: > Reviewed-by: Alon Levy Looks good. > (1) I'm sending only the spice-server patches. I will send the client fixes > later. > (and then I will move the "Release 0.8.3

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

2011-09-22 Thread Jan Kiszka
On 2011-09-22 11:50, Lai Jiangshan wrote: > > From: KAMEZAWA Hiroyuki > Subject: [PATCH] Fix inject-nmi > > Now, inject-nmi sends NMI to all cpus...but this doesn't emulate > pc hardware 'NMI button', which triggers LINT1. > > So, now, LINT1 mask is ignored by inject-nmi and NMIs are sent to >

Re: [Qemu-devel] [PATCH] KVM: emulate lapic tsc deadline timer for guest

2011-09-22 Thread Marcelo Tosatti
On Thu, Sep 22, 2011 at 04:55:52PM +0800, Liu, Jinsong wrote: > >From 4d5b83aba40ce0d421add9a41a6c591a8590a32e Mon Sep 17 00:00:00 2001 > From: Liu, Jinsong > Date: Thu, 22 Sep 2011 14:00:08 +0800 > Subject: [PATCH 2/2] KVM: emulate lapic tsc deadline timer for guest > > This patch emulate lapic

Re: [Qemu-devel] [PATCH spice-server 12/13] server: fall back to switch host scheme in case semi-seamless connection to target fails

2011-09-22 Thread Alon Levy
On Wed, Sep 21, 2011 at 06:51:22PM +0300, Yonit Halperin wrote: > > Signed-off-by: Yonit Halperin > --- > server/reds.c | 18 +- > 1 files changed, 13 insertions(+), 5 deletions(-) > > diff --git a/server/reds.c b/server/reds.c > index 76aa0ed..54c06d1 100644 > --- a/server/re

Re: [Qemu-devel] stale savannah git repo (was: Re: KVM call agenda for April 05)

2011-09-22 Thread Peter Maydell
On 22 September 2011 15:34, Anthony Liguori wrote: > On 09/22/2011 09:20 AM, Peter Maydell wrote: >> Hup! Somebody here was confused by the now-ancient-but-not-deleted >> savannah git repo again today. Do we have a timescale for getting >> rid of it, reinstating the qemu.org web interface to git,

Re: [Qemu-devel] stale savannah git repo (was: Re: KVM call agenda for April 05)

2011-09-22 Thread Anthony Liguori
On 09/22/2011 09:20 AM, Peter Maydell wrote: On 14 June 2011 14:24, Anthony Liguori wrote: On 06/09/2011 05:14 AM, Peter Maydell wrote: Ping? Is it possible to either get the savannah git tree to be automatically mirrored from git.qemu.org, or to remove it? (This came up on IRC again today.)

Re: [Qemu-devel] [PATCH spice-server 09/13] server: handling semi-seamless migration in the target side

2011-09-22 Thread Alon Levy
On Wed, Sep 21, 2011 at 06:51:19PM +0300, Yonit Halperin wrote: > (1) not sending anything to the client till we recieve SPICE_MSGC_MIGRATE_END > (2) start a new migration (handle client_migrate_info) only after > SPICE_MSGC_MIGRATE_END > from the previous migration has been received > (3) use

Re: [Qemu-devel] stale savannah git repo (was: Re: KVM call agenda for April 05)

2011-09-22 Thread Peter Maydell
On 14 June 2011 14:24, Anthony Liguori wrote: > On 06/09/2011 05:14 AM, Peter Maydell wrote: >> Ping? Is it possible to either get the savannah git tree to be >> automatically mirrored from git.qemu.org, or to remove it? >> >> (This came up on IRC again today.) > > We're working on migrating the q

Re: [Qemu-devel] [PATCH spice-server 08/13] server: move the linking of channels to a separate routine

2011-09-22 Thread Alon Levy
On Wed, Sep 21, 2011 at 06:51:18PM +0300, Yonit Halperin wrote: > > Signed-off-by: Yonit Halperin > --- > server/reds.c | 68 +++- > 1 files changed, 42 insertions(+), 26 deletions(-) > > diff --git a/server/reds.c b/server/reds.c > index be

Re: [Qemu-devel] op-helper.c vs helper.c

2011-09-22 Thread Peter Maydell
On 22 September 2011 14:09, Xin Tong Utoronto wrote: > On Mon, Sep 19, 2011 at 9:49 AM, Peter Maydell > wrote: >> We're currently trying to cut back on the use of the implicit global, >> so new helper functions should probably go in helper.c. >> > Why do we want to cut back on the use of the impl

Re: [Qemu-devel] [PATCH] qcow2: Unlock during COW

2011-09-22 Thread Frediano Ziglio
2011/9/19 Kevin Wolf : > Unlocking during COW allows for more parallelism. One change it requires is > that buffers are dynamically allocated instead of just using a per-image > buffer. > > While touching the code, drop the synchronous qcow2_read() function and > replace > it by a bdrv_read() call

[Qemu-devel] Add new frontend target

2011-09-22 Thread Xin Tong
I would like to add a new frontend target to QEMU. What sort of things do I need to be aware of ? I would like to hear some suggestions. Thanks Xin

Re: [Qemu-devel] op-helper.c vs helper.c

2011-09-22 Thread Xin Tong Utoronto
On Mon, Sep 19, 2011 at 9:49 AM, Peter Maydell wrote: > On 19 September 2011 13:06, Xin Tong Utoronto wrote: > > There are 2 files on helpers in target-ppc and target-i386 ( op-helper.c > > helper.c), what are their differences ? also, what kind of functions are > > typically emulated using help

Re: [Qemu-devel] TB chaining

2011-09-22 Thread Xin Tong
if direct chaining is used, am I right to think that jmp_next and jmp_first will not be used ? Thanks Xin On Wed, Sep 21, 2011 at 10:36 PM, 陳韋任 wrote: > > Well, the comment is from source code. I don't catch why you think "list > > of TBS jumping to this one" is wrong. > > My understand is th

[Qemu-devel] [PATCH] qxl: create slots on post_load in any state (fix RHBZ 740547)

2011-09-22 Thread Alon Levy
If we migrate when the device is not in a native state the guest still believes the slots are created, and will cause operations that reference the slots, causing a "panic: virtual address out of range" on the first of them. Easy to see by migrating in vga mode (with a driver loaded, for instance w

[Qemu-devel] QEMU device timer

2011-09-22 Thread Xin Tong
I am new to QEMU. I saw most devices in QEMU has a timer associated with it. What are the timers used for ? Thanks

[Qemu-devel] [PATCH] linux-aio: Fix laio_submit error handling

2011-09-22 Thread Kevin Wolf
The error handling order was in the wrong order, so that either the ACB would be leaked or the counter would be decremented when it shouldn't. Signed-off-by: Kevin Wolf --- linux-aio.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/linux-aio.c b/linux-aio.c index bff

[Qemu-devel] Hang when using 9p mounts after last Seabios update

2011-09-22 Thread Daniel P. Berrange
I'm doing some experimentation with application sandboxing and running QEMU with the following command line: exec $QEMU \ -m 64 \ -nographic \ -nodefconfig \ -nodefaults \ -kernel ./kernel-2.6.40.4-5.fc15.x86_64 \ -initrd ./initrd-2.6.40.4-5.fc15.x86_64 \ -append 'ini

Re: [Qemu-devel] access the files on the Vm

2011-09-22 Thread Zhi Yong Wu
On Thu, Sep 22, 2011 at 5:43 PM, Stefan Hajnoczi wrote: > On Thu, Sep 22, 2011 at 10:20 AM, bala suru wrote: >> Hi, >> Actually I need to pass some binary files to the VM after it boots up . >> since VM is a very low foot print it doesnt support nfs . >> >> Is there a simple way to pass the file

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

2011-09-22 Thread Lai Jiangshan
From: KAMEZAWA Hiroyuki Subject: [PATCH] Fix inject-nmi Now, inject-nmi sends NMI to all cpus...but this doesn't emulate pc hardware 'NMI button', which triggers LINT1. So, now, LINT1 mask is ignored by inject-nmi and NMIs are sent to all cpus without checking LINT1 mask. Because Linux masks L

Re: [Qemu-devel] [PATCH 7/7] migration: qemu_savevm_iterate has three return values

2011-09-22 Thread Wayne Xia
于 2011-9-20 21:24, Juan Quintela 写道: > We were retrying when there was one error, entering a loop. > > Signed-off-by: Juan Quintela > --- > migration.c |6 +- > 1 files changed, 5 insertions(+), 1 deletions(-) > > diff --git a/migration.c b/migration.c > index 7f8928a..0baed23 100644 >

Re: [Qemu-devel] access the files on the Vm

2011-09-22 Thread Stefan Hajnoczi
On Thu, Sep 22, 2011 at 10:20 AM, bala suru wrote: > Hi, > Actually I need to pass some binary files to the VM after it boots up . > since VM is a very low foot print it doesnt support nfs . > > Is there a simple way to pass the file when VM is booting ..? Please keep qemu-devel@nongnu.org CCed s

[Qemu-devel] [Bug 855633] Re: guest boots up too slowly

2011-09-22 Thread Avi Kivity
Could not reproduce - RHEL 6 boots up snappily for me. Is it an overall slowdown, or is a specific part of the boot slower? (may need to remove 'rhgb' and 'quiet' from the boot command line). Make sure that 'info kvm' returns 'enabled'. -- You received this bug notification because you are a me

[Qemu-devel] [PATCH] core: remove qemu_service_io

2011-09-22 Thread Frediano Ziglio
qemu_service_io was mainly an alias to qemu_notify_event, currently used only by PPC for timer hack, so call qemu_notify_event directly. Signed-off-by: Frediano Ziglio --- arch_init.c |5 - qemu-common.h|3 --- qemu-tool.c |4 target-ppc/kvm_ppc.c |

Re: [Qemu-devel] access the files on the Vm

2011-09-22 Thread Stefan Hajnoczi
On Thu, Sep 22, 2011 at 7:32 AM, bala suru wrote: > I need to share some file from the host OS to guest OS ..? > > when ever Vm boots up it looks for the file in some directory , If I do some > modification to the file host OS the guest (VM) also should can access that > ..? > > how to make this .

[Qemu-devel] What's the relationship between bridge, tun/tap and macvtap?

2011-09-22 Thread Ryan Wang
Hello, Recently I'm learning network on KVM. Now I'm confused by bridge, tun/tap and macvtap. I have some questions on them: 1) Is bridge built on top of tup/tap for KVM? 2) Is macvtap a replacement of tun/tap in the network stack to support bridge better? 3) To configue bridge use

[Qemu-devel] [PATCH] Qemu co-operation with kvm tsc deadline timer

2011-09-22 Thread Liu, Jinsong
>From 8c39f2ddbf7069342826a83e535c0c7b641d6501 Mon Sep 17 00:00:00 2001 From: Liu, Jinsong Date: Thu, 22 Sep 2011 16:28:13 +0800 Subject: [PATCH] Qemu co-operation with kvm tsc deadline timer KVM add emulation of lapic tsc deadline timer for guest. This patch is co-operation work at qemu side. S

[Qemu-devel] [PATCH] KVM: emulate lapic tsc deadline timer for guest

2011-09-22 Thread Liu, Jinsong
>From 4d5b83aba40ce0d421add9a41a6c591a8590a32e Mon Sep 17 00:00:00 2001 From: Liu, Jinsong Date: Thu, 22 Sep 2011 14:00:08 +0800 Subject: [PATCH 2/2] KVM: emulate lapic tsc deadline timer for guest This patch emulate lapic tsc deadline timer for guest: Enumerate tsc deadline timer capability by C

[Qemu-devel] [PATCH] Add some pre-defination

2011-09-22 Thread Liu, Jinsong
>From cab4eb79efc498abbda19c5b10c7d0858349af5f Mon Sep 17 00:00:00 2001 From: Liu, Jinsong Date: Thu, 22 Sep 2011 09:49:05 +0800 Subject: [PATCH 1/2] Add some pre-defination This pre-defination is preparing for KVM tsc deadline timer emulation, but theirself are no-kvm-specific. Signed-off-by:

Re: [Qemu-devel] [PATCH] pci-devfn: check that device/slot number is within range

2011-09-22 Thread Markus Armbruster
Donald Dutile writes: > Need to check that guest slot/device number is not > 31 or walk off > the devfn table when checking if a devfn is available or not in a guest. Here in do_pci_register_device(): } else if (bus->devices[devfn]) { error_report("PCI: devfn %d not available for %s