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

2011-04-25 Thread moonman
Do you think it will ever get fixed in a reasonable amount of time(or ever) or am I better off just getting an x86 low power board to run x86 binary-only code? -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU.

[Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl

2011-04-25 Thread Boris Derzhavets
Current patches on F15:- [root@fedora15a SOURCES]# ls -l total 5360 -rw-r--r--. 1 root root4618 Mar 30 01:58 0001-qxl-spice-display-move-pipe-to-ssd.patch -rw-r--r--. 1 root root 10176 Mar 30 01:58 0002-qxl-implement-get_command-in-vga-mode-without-locks.patch -rw-r--r--. 1 root root

[Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl

2011-04-25 Thread Boris Derzhavets
View also http://lists.fedoraproject.org/pipermail/virt/2011-March/002572.html Per Alon Levy :- here is a new patchset, it's basically the old plus first patch of reverting gerd's (cpu_single_env hackage) and last one removing all the locks, after being convinced by hans (cc'ed) and uri that

[Qemu-devel] [RESEND][PATCH 3/9] microdrive: qdevify

2011-04-25 Thread Dmitry Eremin-Solenikov
Switch dscm1 microdrive driver to use qdev infrastructure. --- hw/ide/microdrive.c | 49 +++-- hw/pcmcia.h |2 +- hw/spitz.c |5 - hw/tosa.c |5 - 4 files changed, 48 insertions(+), 13 deletions(-)

[Qemu-devel] [RESEND][PATCH 2/9] PCMCIA: start qdev'ication

2011-04-25 Thread Dmitry Eremin-Solenikov
Convert PCMCIA bus handling code to use QBus internally. MicroDrive code is still unaffected. Signed-off-by: Dmitry Eremin-Solenikov dbarysh...@gmail.com --- Makefile.objs |3 ++ hw/pcmcia.c| 102 hw/pcmcia.h| 15

[Qemu-devel] [RESEND][PATCH 1/9] pxa2xx_pcmcia: qdevify

2011-04-25 Thread Dmitry Eremin-Solenikov
Use qdev insfrastructure for managing PXA PCMCIA devices. PCMCIA bus itself isn't converted to QBus (yet). pxa2xx_pcmcia_init() function is moved to pcmcia.h as it will be used by other cores/devices (like StrongARM). Signed-off-by: Dmitry Eremin-Solenikov dbarysh...@gmail.com --- hw/mainstone.c

[Qemu-devel] [RESEND][PATCH 5/9] pcmcia: move attach and detach socket methods to PCMCIASocket

2011-04-25 Thread Dmitry Eremin-Solenikov
Make attach and detach calls to be automatically called by PCMCIA card instantiation code, rather than calling them by hand from the board code. Signed-off-by: Dmitry Eremin-Solenikov dbarysh...@gmail.com --- hw/pcmcia.c| 45 +++- hw/pcmcia.h|2 +

[Qemu-devel] [RESEND][PATCH 6/9] pxa: change order of pcmcia devices instantiation, so that the socket 0 will be default

2011-04-25 Thread Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov dbarysh...@gmail.com --- hw/pxa2xx.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/pxa2xx.c b/hw/pxa2xx.c index 6ae8c8c..dc44864 100644 --- a/hw/pxa2xx.c +++ b/hw/pxa2xx.c @@ -2176,8 +2176,8 @@ PXA2xxState

[Qemu-devel] [RESEND][PATCH 4/9] pcmcia: move all card callbacks to PCMCIACardInfo

2011-04-25 Thread Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov dbarysh...@gmail.com last commit fixup Signed-off-by: Dmitry Eremin-Solenikov dbarysh...@gmail.com Revert microdrive fixup This reverts commit 6a9f969b0626e218ff910d84ed1c9eec285cbcd5. Signed-off-by: Dmitry Eremin-Solenikov dbarysh...@gmail.com ---

[Qemu-devel] [RESEND][PATCH 7/9] ide-core: allocate metadata storage for CFATA drives

2011-04-25 Thread Dmitry Eremin-Solenikov
Currently it's done by hw/ide/microdrive.c To simplify that part, move this initialization to ide core. Signed-off-by: Dmitry Eremin-Solenikov dbarysh...@gmail.com --- hw/ide/core.c |4 hw/ide/internal.h |2 ++ hw/ide/microdrive.c |6 +- 3 files changed, 7

[Qemu-devel] [RESEND][PATCH 9/9] collie: add support for PCMCIA bus

2011-04-25 Thread Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov dbarysh...@gmail.com --- hw/collie.c |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/hw/collie.c b/hw/collie.c index 156404d..89d37f7 100644 --- a/hw/collie.c +++ b/hw/collie.c @@ -14,6 +14,9 @@ #include flash.h #include

[Qemu-devel] [RESEND][PATCH 8/9] strongarm: add PCMCIA support

2011-04-25 Thread Dmitry Eremin-Solenikov
Add PCMCIA support to StrongARM SoCs reusing PXA devices. Signed-off-by: Dmitry Eremin-Solenikov dbarysh...@gmail.com --- hw/strongarm.c |5 - hw/strongarm.h |1 + 2 files changed, 5 insertions(+), 1 deletions(-) diff --git a/hw/strongarm.c b/hw/strongarm.c index de08bdf..dbc253c

Re: [Qemu-devel] virtfs error reporting?

2011-04-25 Thread M. Mohan Kumar
On Monday 25 April 2011 1:01:38 am Rob Landley wrote: So on the host side I'm trying to do this: $ qemu -cpu pentium3 -nographic -no-reboot -kernel bzImage \ -hda hda.sqf -append 'root=/dev/hda rw init=/sbin/init.sh panic=1 \ PATH=/bin:/sbin console=ttyS0 HOST=i686 ' -net nic,model=e1000

[Qemu-devel] [Bug 770173] [NEW] /etc/qemu-ifup is not executed

2011-04-25 Thread Carlos Eduardo Moreira dos Santos
Public bug reported: The following does not work: $ qemu -m 512 -drive file=arch_min.qcow2,if=virtio,boot=on -nographic -net nic,model=virtio -net tap,script=/etc/qemu-ifup warning: could not configure /dev/net/tun: no virtual network emulation However, this works: $ /etc/qemu-ifup tap0 $ kvm

Re: [Qemu-devel] [PATCH] char: Allow devices to use a single multiplexed chardev.

2011-04-25 Thread Amit Shah
On (Fri) 22 Apr 2011 [21:59:42], Kusanagi Kouichi wrote: This fixes regression caused by commit 2d6c1ef40f3678ab47a4d14fb5dadaa486bfcda6 (char: Prevent multiple devices opening same chardev). What's the regression? How do I test it? Signed-off-by: Kusanagi Kouichi sl...@ac.auone-net.jp ---

Re: [Qemu-devel] [PATCH v2 1/5] ide: Split atapi.c out

2011-04-25 Thread Amit Shah
On (Wed) 20 Apr 2011 [13:30:11], Kevin Wolf wrote: Besides moving code, this patch only fixes some whitespace issues in the moved code and makes all functions in atapi.c static which can be static. Signed-off-by: Kevin Wolf kw...@redhat.com --- Makefile.objs |2 +- hw/ide/atapi.c

[Qemu-devel] [PATCH]fix ambiguity in -d op_opt

2011-04-25 Thread qemu_wanghuang
In Ful-system emulation, when we use -d op_opt,we can not find the pc of guestinstruction in logfile.However,we can get this in log by using command -d op. It is funny that when we use -d op,op_opt,we get pc in both op's log and op_opt's log.It makes the command -d op_opt ambiguous.

Re: [Qemu-devel] [PATCH v2 3/5] ide/atapi: Use table instead of switch for commands

2011-04-25 Thread Amit Shah
On (Wed) 20 Apr 2011 [13:30:13], Kevin Wolf wrote: Signed-off-by: Kevin Wolf kw...@redhat.com --- hw/ide/atapi.c | 115 +++ 1 files changed, 48 insertions(+), 67 deletions(-) diff --git a/hw/ide/atapi.c b/hw/ide/atapi.c index

[Qemu-devel] [Bug 770173] Re: /etc/qemu-ifup is not executed

2011-04-25 Thread Michael Tokarev
This is not how tap networking works. You have to either pre-configure the tap device before starting qemu, or grant the user ability to create tap devices. Qemu have to open (or create) the tap device BEFORE invoking the script, and if fails to do so due to insufficient privileges, hence the

Re: [Qemu-devel] [PATCH v2 5/5] ide/atapi: Introduce CHECK_READY flag for commands

2011-04-25 Thread Amit Shah
On (Wed) 20 Apr 2011 [13:30:15], Kevin Wolf wrote: Some commands are supposed to report a Not Ready Conmdition (i.e. they require typo in Condition Amit

Re: [Qemu-devel] [PATCH 0/3] spicevmc - chardev: restore guest open / close (v2)

2011-04-25 Thread Amit Shah
On (Thu) 24 Mar 2011 [11:12:01], Hans de Goede wrote: Hi All, When we moved from the spicevmc device (which directly implemented a virtio serial port) to doing spicevmc as a chardev backend we lost the notification of the guest opening / closing the port to spice server. This causes the

Re: [Qemu-devel] [PATCH v2 10/11] trace-state: [stderr] add support for dynamically enabling/disabling events

2011-04-25 Thread Lluís
Stefan Hajnoczi writes: On Sun, Apr 24, 2011 at 7:24 AM, Paolo Bonzini pbonz...@redhat.com wrote: On 04/23/2011 04:31 PM, Stefan Hajnoczi wrote: For tracing use cases that require performance or runtime enabling/disabling trace events, just use the simple, ust, or dtrace backends.

[Qemu-devel] [PATCH 05/18] vl.c: add deleted flag for deleting the handler.

2011-04-25 Thread OHMURA Kei
From: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp Make deleting handlers robust against deletion of any elements in a handler by using a deleted flag like in file descriptors. Signed-off-by: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp Signed-off-by: OHMURA Kei ohmura@lab.ntt.co.jp ---

[Qemu-devel] [PATCH 08/18] savevm: introduce util functions to control ft_trans_file from savevm layer.

2011-04-25 Thread OHMURA Kei
From: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp To utilize ft_trans_file function, savevm needs interfaces to be exported. Signed-off-by: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp Signed-off-by: OHMURA Kei ohmura@lab.ntt.co.jp --- hw/hw.h |5 ++ savevm.c | 150

[Qemu-devel] [PATCH 11/18] ioport: insert event_tap_ioport() to ioport_write().

2011-04-25 Thread OHMURA Kei
From: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp Record ioport event to replay it upon failover. Signed-off-by: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp Signed-off-by: OHMURA Kei ohmura@lab.ntt.co.jp --- ioport.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff

[Qemu-devel] [PATCH 03/18] Introduce qemu_loadvm_state_no_header() and make qemu_loadvm_state() a wrapper.

2011-04-25 Thread OHMURA Kei
From: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp Introduce qemu_loadvm_state_no_header() so that it can be called iteratively without reading the header, and qemu_loadvm_state() becomes a wrapper of it. Signed-off-by: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp Signed-off-by: OHMURA Kei

[Qemu-devel] [PATCH 15/18] savevm: introduce qemu_savevm_trans_{begin, commit}.

2011-04-25 Thread OHMURA Kei
From: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp Introduce qemu_savevm_trans_{begin,commit} to send the memory and device info together, while avoiding cancelling memory state tracking. This patch also abstracts common code between qemu_savevm_state_{begin,iterate,commit}. Signed-off-by:

[Qemu-devel] [PATCH 13/18] net: insert event-tap to qemu_send_packet() and qemu_sendv_packet_async().

2011-04-25 Thread OHMURA Kei
From: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp event-tap function is called only when it is on. Signed-off-by: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp Signed-off-by: OHMURA Kei ohmura@lab.ntt.co.jp --- net.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff

[Qemu-devel] [PATCH 00/18] Kemari for KVM v0.2.14

2011-04-25 Thread OHMURA Kei
Hi, This patch series is a revised version of Kemari for KVM. The current code is based on qemu.git ec52b8753a372de30b22d9b4765a799db612. The changes from v0.2.13 - v0.2.14 are: - rebased to latest. - correct patch[07], [09] author. The changes from v0.2.12 - v0.2.13 are: - replaced

[Qemu-devel] [PATCH 18/18] Introduce kemari: to enable FT migration mode (Kemari).

2011-04-25 Thread OHMURA Kei
From: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp When kemari: is set in front of URI of migrate command, it will turn on ft_mode to start FT migration mode (Kemari). On the receiver side, the option looks like, -incoming kemari:protocol:address:port Signed-off-by: Yoshiaki Tamura

[Qemu-devel] [PATCH 06/18] virtio: decrement last_avail_idx with inuse before saving.

2011-04-25 Thread OHMURA Kei
From: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp For regular migration inuse == 0 always as requests are flushed before save. However, event-tap log when enabled introduces an extra queue for requests which is not being flushed, thus the last inuse requests are left in the event-tap queue.

[Qemu-devel] [PATCH 10/18] Call init handler of event-tap at main() in vl.c.

2011-04-25 Thread OHMURA Kei
From: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp Signed-off-by: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp Signed-off-by: OHMURA Kei ohmura@lab.ntt.co.jp --- vl.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/vl.c b/vl.c index a18792d..2dbda4d 100644 ---

[Qemu-devel] [PATCH 17/18] migration-tcp: modify tcp_accept_incoming_migration() to handle ft_mode, and add a hack not to close fd when ft_mode is enabled.

2011-04-25 Thread OHMURA Kei
From: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp When ft_mode is set in the header, tcp_accept_incoming_migration() sets ft_trans_incoming() as a callback, and call qemu_file_get_notify() to receive FT transaction iteratively. We also need a hack no to close fd before moving to ft_transaction

[Qemu-devel] [PATCH 04/18] qemu-char: export socket_set_nodelay().

2011-04-25 Thread OHMURA Kei
From: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp Signed-off-by: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp Signed-off-by: OHMURA Kei ohmura@lab.ntt.co.jp --- qemu-char.c |2 +- qemu_socket.h |1 + 2 files changed, 2 insertions(+), 1 deletions(-) diff --git a/qemu-char.c

[Qemu-devel] [PATCH 02/18] Introduce read() to FdMigrationState.

2011-04-25 Thread OHMURA Kei
From: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp Currently FdMigrationState doesn't support read(), and this patch introduces it to get response from the other side. Note that this won't change the existing migration protocol to be bi-directional. Signed-off-by: Yoshiaki Tamura

[Qemu-devel] [PATCH 12/18] Insert event_tap_mmio() to cpu_physical_memory_rw() in exec.c.

2011-04-25 Thread OHMURA Kei
From: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp Record mmio write event to replay it upon failover. Signed-off-by: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp Signed-off-by: OHMURA Kei ohmura@lab.ntt.co.jp --- exec.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff

[Qemu-devel] [PATCH 14/18] block: insert event-tap to bdrv_aio_writev(), bdrv_aio_flush() and bdrv_flush().

2011-04-25 Thread OHMURA Kei
From: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp event-tap function is called only when it is on, and requests were sent from device emulators. Signed-off-by: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp Acked-by: Kevin Wolf kw...@redhat.com Signed-off-by: OHMURA Kei ohmura@lab.ntt.co.jp

[Qemu-devel] [PATCH 16/18] migration: introduce migrate_ft_trans_{put, get}_ready(), and modify migrate_fd_put_ready() when ft_mode is on.

2011-04-25 Thread OHMURA Kei
From: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp Introduce migrate_ft_trans_put_ready() which kicks the FT transaction cycle. When ft_mode is on, migrate_fd_put_ready() would open ft_trans_file and turn on event_tap. To end or cancel FT transaction, ft_mode and event_tap is turned off.

[Qemu-devel] [PATCH 07/18] Introduce fault tolerant VM transaction QEMUFile and ft_mode.

2011-04-25 Thread OHMURA Kei
This code implements VM transaction protocol. Like buffered_file, it sits between savevm and migration layer. With this architecture, VM transaction protocol is implemented mostly independent from other existing code. Signed-off-by: OHMURA Kei ohmura@lab.ntt.co.jp Signed-off-by: Yoshiaki

[Qemu-devel] [PATCH 01/18] Make QEMUFile buf expandable, and introduce qemu_realloc_buffer() and qemu_clear_buffer().

2011-04-25 Thread OHMURA Kei
From: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp Currently buf size is fixed at 32KB. It would be useful if it could be flexible. Signed-off-by: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp Signed-off-by: OHMURA Kei ohmura@lab.ntt.co.jp --- hw/hw.h |2 ++ savevm.c | 20

[Qemu-devel] [PATCH 09/18] Introduce event-tap.

2011-04-25 Thread OHMURA Kei
event-tap controls when to start FT transaction, and provides proxy functions to called from net/block devices. While FT transaction, it queues up net/block requests, and flush them when the transaction gets completed. Signed-off-by: OHMURA Kei ohmura@lab.ntt.co.jp Signed-off-by: Yoshiaki

Re: [Qemu-devel] [PATCH 12/18] Insert event_tap_mmio() to cpu_physical_memory_rw() in exec.c.

2011-04-25 Thread Jan Kiszka
On 2011-04-25 13:00, OHMURA Kei wrote: From: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp Record mmio write event to replay it upon failover. Signed-off-by: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp Signed-off-by: OHMURA Kei ohmura@lab.ntt.co.jp --- exec.c |4 1 files

Re: [Qemu-devel] [PATCH 1/2] Support for MIPS64 user mode emulation

2011-04-25 Thread Khansa Butt
please see inline comments highlighted in red color. On Wed, Apr 13, 2011 at 2:32 AM, Aurelien Jarno aurel...@aurel32.netwrote: [I don't know very well linux-user, it would be nice to Cc: Riku Voipio, the linux-user maintainer for the next version.] On Sat, Apr 09, 2011 at 04:02:31PM +0500,

Re: [Qemu-devel] [RFC][PATCH v2 15/17] guest agent: qemu-ga daemon

2011-04-25 Thread Ian Molton
On Fri, 2011-04-22 at 13:51 +0200, Jes Sorensen wrote: What kind of coding error does splitting this out aim to prevent? missing break; / return; statements? Because I dont see how it achieves that... Hiding things you miss when reading the code, it's a classic for people to do if(foo)

Re: [Qemu-devel] [PATCH] net: add drop_packets parameter to -net nic

2011-04-25 Thread Stefan Hajnoczi
2011/4/25 Nguyễn Thái Ngọc Duy pclo...@gmail.com: Dropping packets is sometimes perferred behavior. Add drop_packets parameter to NICConf struct and let nic simulation decide how to use it. Only e1000 supports this for now. Signed-off-by: Nguyễn Thái Ngọc Duy pclo...@gmail.com ---  

Re: [Qemu-devel] [PATCH] net: add drop_packets parameter to -net nic

2011-04-25 Thread Anthony Liguori
On 04/25/2011 08:40 AM, Stefan Hajnoczi wrote: 2011/4/25 Nguyễn Thái Ngọc Duypclo...@gmail.com: Dropping packets is sometimes perferred behavior. Add drop_packets parameter to NICConf struct and let nic simulation decide how to use it. Only e1000 supports this for now. Signed-off-by: Nguyễn

Re: [Qemu-devel] [PATCH] net: add drop_packets parameter to -net nic

2011-04-25 Thread Nguyen Thai Ngoc Duy
2011/4/25 Stefan Hajnoczi stefa...@gmail.com: 2011/4/25 Nguyễn Thái Ngọc Duy pclo...@gmail.com: Dropping packets is sometimes perferred behavior. Add drop_packets parameter to NICConf struct and let nic simulation decide how to use it. Only e1000 supports this for now. Signed-off-by:

Re: [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl

2011-04-25 Thread Serge Hallyn
Quoting Boris Derzhavets (723...@bugs.launchpad.net): View also http://lists.fedoraproject.org/pipermail/virt/2011-March/002572.html Thanks, this should be added to the qemu-kvm-spice package then. Note that this patch is not yet upstream, but should be going in through the spice tree at

Re: [Qemu-devel] [PATCH 2/2 V7] qemu, qmp: add inject-nmi qmp command

2011-04-25 Thread Luiz Capitulino
On Wed, 20 Apr 2011 09:53:56 +0800 Lai Jiangshan la...@cn.fujitsu.com wrote: On 04/04/2011 09:09 PM, Anthony Liguori wrote: On 04/04/2011 07:19 AM, Markus Armbruster wrote: [Note cc: Anthony] Daniel P. Berrangeberra...@redhat.com writes: On Mon, Mar 07, 2011 at 05:46:28PM +0800, Lai

Re: [Qemu-devel] [PATCH] char: Allow devices to use a single multiplexed chardev.

2011-04-25 Thread Kusanagi Kouichi
On 2011-04-25 15:27:20 +0530, Amit Shah wrote: On (Fri) 22 Apr 2011 [21:59:42], Kusanagi Kouichi wrote: This fixes regression caused by commit 2d6c1ef40f3678ab47a4d14fb5dadaa486bfcda6 (char: Prevent multiple devices opening same chardev). What's the regression? How do I test it?

Re: [Qemu-devel] [PATCH] virtio-serial: Fix endianness bug in the config space

2011-04-25 Thread Juan Quintela
David Gibson da...@gibson.dropbear.id.au wrote: From: Alexey Kardashevskiy a...@ozlabs.ru The virtio serial specification requres that the values in the config space are encoded in native endian of the guest. The qemu virtio-serial code did not do conversion to the guest endian format

[Qemu-devel] pSeries build breakage

2011-04-25 Thread Andreas Färber
Hello, Building QEMU HEAD (347ac8e35661eff1c2b5ec74d11ee152f2a61856 target- i386: switch to softfloat) on OSX/ppc64 results in: [...] LINK arm-softmmu/qemu-system-arm make: *** pc-bios/spapr-rtas: No such file or directory. Stop. make: *** [romsubdir-spapr-rtas] Error 2 Could this be a

[Qemu-devel] [Bug 770173] Re: /etc/qemu-ifup is not executed

2011-04-25 Thread Carlos Eduardo Moreira dos Santos
That's not what is written in documentation. http://www.linux- kvm.org/page/Networking) makes clear that /etc/qemu-ifup is executed by qemu to create a tap interface. My script /etc/qemu-ifup-sudo is based on the doc's one and my user has the ability to create tap devices using sudo. In fact, a

Re: [Qemu-devel] [RFC PATCH 0/3 V8] QAPI: add inject-nmi qmp command

2011-04-25 Thread Michael Roth
On 04/20/2011 01:19 AM, Lai Jiangshan wrote: These patches are applied for http://repo.or.cz/r/qemu/aliguori.git glib. These patches add QAPI inject-nmi. They are passed checkpatch.pl and the build. But the result qemu executable file is not tested, because the result qemu of

[Qemu-devel] [PATCH] Fix bug with virtio-9p fsync

2011-04-25 Thread Sassan Panahinejad
v9fs_fsync and possibly others break when asked to operate on a directory. It does not check fid_type to see if it is operating on a directory and therefore accesses the wrong element of the fs union. This error can result in guest applications failing (in my case it was dpkg). This patch fixes

[Qemu-devel] [Bug 770173] Re: /etc/qemu-ifup is not executed

2011-04-25 Thread Carlos Eduardo Moreira dos Santos
/etc/qemu-ifup is read if qemu is launched with sudo (in spite of errors like TUNSETIFF: Device or resource busy, it works). Shouldn't qemu execute it when run by a normal user with enough privileges? -- You received this bug notification because you are a member of qemu- devel-ml, which is

Re: [Qemu-devel] [PATCH v2 10/11] trace-state: [stderr] add support for dynamically enabling/disabling events

2011-04-25 Thread Paolo Bonzini
On 04/25/2011 12:27 PM, Lluís wrote: But in any case, I'm still not sure if stderr should have programatic tracing state controls. Yes, please, stderr is even more useful than simple when you're using it under gdb. Paolo

Re: [Qemu-devel] [PATCH v2 0/3] io-thread optimizations

2011-04-25 Thread Aurelien Jarno
On Thu, Apr 14, 2011 at 09:14:35AM +0200, Jan Kiszka wrote: On 2011-04-13 22:16, Aurelien Jarno wrote: On Mon, Apr 11, 2011 at 10:27:41PM +0200, Jan Kiszka wrote: These patches were posted before. They bring down the overhead of the io-thread mode for TCG here, specifically when emulating

Re: [Qemu-devel] [PATCH] doc: fix slirp description

2011-04-25 Thread Aurelien Jarno
On Sun, Apr 24, 2011 at 05:19:56PM +1000, Brad Hards wrote: net/slirp.c says: /* default settings according to historic slirp */ struct in_addr net = { .s_addr = htonl(0x0a000200) }; /* 10.0.2.0 */ struct in_addr mask = { .s_addr = htonl(0xff00) }; /* 255.255.255.0 */

Re: [Qemu-devel] [PATCH] target-arm: Minimal implementation of performance counters

2011-04-25 Thread Aurelien Jarno
On Thu, Apr 21, 2011 at 05:01:48PM +0100, Peter Maydell wrote: Newer Linux kernels assume the existence of the performance counter cp15 registers. Provide a minimal implementation of these registers. We support no events. This should be compliant with the ARM ARM, except that we don't

Re: [Qemu-devel] [RFC][PATCH] configure: target dependent linking

2011-04-25 Thread Aurelien Jarno
On Thu, Apr 14, 2011 at 11:14:58PM +0200, Michael Walle wrote: This patch is the first attempt to make configure more intelligent with regard to how it links to libraries. It divides the softmmu libraries into two lists, a general one and a list which depends on the target architecture. ---

Re: [Qemu-devel] [PATCH] linux-user/arm/nwfpe: rename REG_PC to ARM_REG_PC

2011-04-25 Thread Aurelien Jarno
On Wed, Apr 20, 2011 at 11:19:15AM +0100, Peter Maydell wrote: The REG_PC constant used in the ARM nwfpe code is fine in the kernel but when used in qemu can clash with a definition in the host system include files (in particular on Ubuntu Lucid SPARC, including signal.h will define a REG_PC).

Re: [Qemu-devel] [PATCH 1/3] rtl8139: use TARGET_FMT_plx in debug messages

2011-04-25 Thread Aurelien Jarno
On Wed, Apr 20, 2011 at 07:39:00PM -0400, Benjamin Poirier wrote: Prevents a compilation failure when DEBUG_RTL8139 is defined: CClibhw32/rtl8139.o cc1: warnings being treated as errors hw/rtl8139.c: In function ‘rtl8139_cplus_transmit_one’: hw/rtl8139.c:1960: error: format ‘%8lx’

Re: [Qemu-devel] [PATCH]fix ambiguity in -d op_opt

2011-04-25 Thread Aurelien Jarno
On Mon, Apr 25, 2011 at 05:41:24PM +0800, qemu_wanghuang wrote: In Ful-system emulation, when we use -d op_opt,we can not find the pc of guestinstruction in logfile.However,we can get this in log by using command -d op. It is funny that when we use -d op,op_opt,we get pc in both op's log

Re: [Qemu-devel] virtfs error reporting?

2011-04-25 Thread Eric Van Hensbergen
On Sun, Apr 24, 2011 at 2:31 PM, Rob Landley rland...@parallels.com wrote: So on the host side I'm trying to do this: $ qemu -cpu pentium3 -nographic -no-reboot -kernel bzImage \  -hda hda.sqf -append 'root=/dev/hda rw init=/sbin/init.sh panic=1 \  PATH=/bin:/sbin console=ttyS0 HOST=i686 '

Re: [Qemu-devel] [PATCH 0/2] target-arm: Handle UNDEF cases for Neon load/stores

2011-04-25 Thread Aurelien Jarno
On Mon, Apr 18, 2011 at 07:07:10PM +0100, Peter Maydell wrote: These two simple patches make qemu correctly UNDEF where required in the Neon load/store space. We also catch and UNDEF on an UNPREDICTABLE rather than indexing off the end of the register file. Tested in the usual way with

Re: [Qemu-devel] tcg/tcg.c:1892: tcg fatal error

2011-04-25 Thread Aurelien Jarno
On Fri, Apr 22, 2011 at 06:14:06PM +0400, Igor Kovalenko wrote: On Fri, Apr 22, 2011 at 2:39 AM, Laurent Desnogues laurent.desnog...@gmail.com wrote: On Thu, Apr 21, 2011 at 9:45 PM, Igor Kovalenko igor.v.kovale...@gmail.com wrote: On Thu, Apr 21, 2011 at 7:44 PM, Laurent Desnogues

Re: [Qemu-devel] [RFC][PATCH] configure: target dependent linking

2011-04-25 Thread Michael Walle
Am Montag 25 April 2011, 22:04:58 schrieb Aurelien Jarno: On Thu, Apr 14, 2011 at 11:14:58PM +0200, Michael Walle wrote: This patch is the first attempt to make configure more intelligent with regard to how it links to libraries. It divides the softmmu libraries into two lists, a general

Re: [Qemu-devel] [RFC][PATCH] configure: target dependent linking

2011-04-25 Thread Alexander Graf
On 25.04.2011, at 23:44, Michael Walle wrote: Am Montag 25 April 2011, 22:04:58 schrieb Aurelien Jarno: On Thu, Apr 14, 2011 at 11:14:58PM +0200, Michael Walle wrote: This patch is the first attempt to make configure more intelligent with regard to how it links to libraries. It divides the

Re: [Qemu-devel] [PATCH] target-arm: Minimal implementation of performance counters

2011-04-25 Thread Peter Maydell
On 25 April 2011 22:09, Aurelien Jarno aurel...@aurel32.net wrote: On Thu, Apr 21, 2011 at 05:01:48PM +0100, Peter Maydell wrote: +                tb_flush(env); If you flush all tbs, you also have to ensure that on the translate.c side, this is the last instruction of the tb. Otherwise, the

[Qemu-devel] [PATCH 2/2] configure: reenable opengl by default

2011-04-25 Thread Michael Walle
Because the opengl library is only linked to for the lm32 target, we can now safely enable opengl by default again. Signed-off-by: Michael Walle mich...@walle.cc --- configure |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure b/configure index 9825b12..6c131dd

[Qemu-devel] [PATCH 1/2] configure: support target dependent linking

2011-04-25 Thread Michael Walle
This patch is the first attempt to make configure more intelligent with regard to how it links to libraries. It divides the softmmu libraries into two lists, a general one and a list which depends on the target architecture. Signed-off-by: Michael Walle mich...@walle.cc Reviewed-by: Aurelien

Re: [Qemu-devel] [PATCH]fix ambiguity in -d op_opt

2011-04-25 Thread Michael Walle
Am Montag 25 April 2011, 11:41:24 schrieb qemu_wanghuang: In Ful-system emulation, when we use -d op_opt,we can not find the pc of guestinstruction in logfile.However,we can get this in log by using command -d op. It is funny that when we use -d op,op_opt,we get pc in both op's log and

Re: [Qemu-devel] [PATCH 1/2] configure: support target dependent linking

2011-04-25 Thread Edgar E. Iglesias
On Tue, Apr 26, 2011 at 12:09:00AM +0200, Michael Walle wrote: This patch is the first attempt to make configure more intelligent with regard to how it links to libraries. It divides the softmmu libraries into two lists, a general one and a list which depends on the target architecture. Hi,

[Qemu-devel] [PATCH v2] configure: support target dependent linking

2011-04-25 Thread Michael Walle
changes v2 - add libfdt for microblaze targets

[Qemu-devel] [PATCH] configure: support target dependent linking

2011-04-25 Thread Michael Walle
This patch is the first attempt to make configure more intelligent with regard to how it links to libraries. It divides the softmmu libraries into two lists, a general one and a list which depends on the target architecture. Signed-off-by: Michael Walle mich...@walle.cc Reviewed-by: Aurelien

Re: [Qemu-devel] [PATCH] target-arm: Minimal implementation of performance counters

2011-04-25 Thread Aurelien Jarno
On Mon, Apr 25, 2011 at 10:59:52PM +0100, Peter Maydell wrote: On 25 April 2011 22:09, Aurelien Jarno aurel...@aurel32.net wrote: On Thu, Apr 21, 2011 at 05:01:48PM +0100, Peter Maydell wrote: +                tb_flush(env); If you flush all tbs, you also have to ensure that on the

Re: [Qemu-devel] [PATCH] target-arm: Minimal implementation of performance counters

2011-04-25 Thread Peter Maydell
On 25 April 2011 23:31, Aurelien Jarno aurel...@aurel32.net wrote: On Mon, Apr 25, 2011 at 10:59:52PM +0100, Peter Maydell wrote: On 25 April 2011 22:09, Aurelien Jarno aurel...@aurel32.net wrote: Instead of having this complex test for all cp15 access, but only for catching a few access to

Re: [Qemu-devel] [PATCH] configure: support target dependent linking

2011-04-25 Thread Edgar E. Iglesias
On Tue, Apr 26, 2011 at 12:24:07AM +0200, Michael Walle wrote: This patch is the first attempt to make configure more intelligent with regard to how it links to libraries. It divides the softmmu libraries into two lists, a general one and a list which depends on the target architecture.

[Qemu-devel] [Bug 741887] Re: virsh snapshot-create too slow (kvm, qcow2, savevm)

2011-04-25 Thread edison
I had posted a patch to fix the issue before:(http://patchwork.ozlabs.org/patch/64346/), saving memory state is time consuming, which may takes several minutes. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU.

[Qemu-devel] Invitation to connect on LinkedIn

2011-04-25 Thread Zhai Edwin via LinkedIn
LinkedIn Zhai Edwin requested to add you as a connection on LinkedIn: -- Jiajun, I'd like to add you to my professional network on LinkedIn. - Zhai Accept invitation from Zhai Edwin

[Qemu-devel] Fedora Virt Status

2011-04-25 Thread Justin M. Forbes
Fedora 14 - We have 95 open bugs, 5 of which have fixes in awaiting updates. - 17 bugs have been closed in the last week Fedora 15 - We have 22 open bugs. - 9 bugs have been closed in the last week - Beta is released, go test! - Upcoming Dates of importance: 2011-05-09 Final Change Deadline

Re: [Qemu-devel] [PATCH] char: Allow devices to use a single multiplexed chardev.

2011-04-25 Thread Amit Shah
On (Tue) 26 Apr 2011 [00:30:28], Kusanagi Kouichi wrote: On 2011-04-25 15:27:20 +0530, Amit Shah wrote: On (Fri) 22 Apr 2011 [21:59:42], Kusanagi Kouichi wrote: This fixes regression caused by commit 2d6c1ef40f3678ab47a4d14fb5dadaa486bfcda6 (char: Prevent multiple devices opening same