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

2011-02-24 Thread Yoshiaki Tamura
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 tamura.yoshi...@lab.ntt.co.jp Acked-by: Paolo Bonzini

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

2011-02-24 Thread Yoshiaki Tamura
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: Yoshiaki Tamura tamura.yoshi...@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-02-24 Thread Yoshiaki Tamura
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. migrate_ft_trans_get_ready() is called to receive ack

Re: [Qemu-devel] Re: [PATCH V6 1/4 resend] nmi: convert cpu_index to cpu-index

2011-02-24 Thread Markus Armbruster
Luiz Capitulino lcapitul...@redhat.com writes: On Mon, 21 Feb 2011 09:37:57 +0800 Lai Jiangshan la...@cn.fujitsu.com wrote: Hi, Luiz Capitulino Any problem? Sorry for the delay. Looks good in general to me know, there's only one small problem and it's the error message: (qemu) nmi

Re: [Qemu-devel] Re: Network bridging without adding bridge with brctl, possible?

2011-02-24 Thread Jan Kiszka
On 2011-02-24 07:49, Gerhard Wiesinger wrote: On Wed, 23 Feb 2011, Jan Kiszka wrote: Right, but if I set IP(eth0) == IP(macvlan0), I'm able to communicate between macvlan0 and mactapX, thus between guest and host. Just re-checked here, still works (after resolving the usual MAC address mess I

Re: [Qemu-devel] [PATCH v6 0/5] ARM: fix Neon VRECPE and VRSQRTE instructions.

2011-02-24 Thread Aurelien Jarno
On Mon, Feb 21, 2011 at 05:38:43PM +0100, Christophe Lyon wrote: These 5 patches fix the ARM Neon VRECPE and VRSQRTE instructions by matching the algorithms descibed in the ARM ARM. Patches #1 to #3 are unchanged compared to v4 Patches #4 and #5 should address Peter's comments.

[Qemu-devel] Re: [PATCH 16/28] migration: use global variable directly

2011-02-24 Thread Paolo Bonzini
On 02/24/2011 08:09 AM, Markus Armbruster wrote: For completeness: a local variable may be necessary to convince the optimizer that the value doesn't change. Cases where this matters exist, but they're rare. In particular, for non-pointers they're nonexistent if the variable is static and

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

2011-02-24 Thread Yoshiaki Tamura
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: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp Signed-off-by:

Re: [Qemu-devel] Re: Network bridging without adding bridge with brctl, possible?

2011-02-24 Thread Arnd Bergmann
On Thursday 24 February 2011, Jan Kiszka wrote: On 2011-02-24 07:49, Gerhard Wiesinger wrote: On Wed, 23 Feb 2011, Jan Kiszka wrote: Right, but if I set IP(eth0) == IP(macvlan0), I'm able to communicate between macvlan0 and mactapX, thus between guest and host. Just re-checked here, still

Re: [Qemu-devel] [PATCH V6 3/4] qmp, nmi: convert do_inject_nmi() to QObject

2011-02-24 Thread Markus Armbruster
Anthony Liguori anth...@codemonkey.ws writes: On 01/27/2011 02:20 AM, Lai Jiangshan wrote: Make we can inject NMI via qemu-monitor-protocol. We use inject-nmi for the qmp command name, the meaning is clearer. Signed-off-by: Lai Jiangshanla...@cn.fujitsu.com --- diff --git

Re: [Qemu-devel] [PATCH] hw/sd.c: Add missing state change for SD_STATUS, SEND_NUM_WR_BLOCKS

2011-02-24 Thread Aurelien Jarno
On Fri, Feb 18, 2011 at 01:39:00PM +, Peter Maydell wrote: The SD_STATUS and SEND_NUM_WR_BLOCKS commands are supposed to cause the card to send data back to the host. However sd.c was missing the state change to sd_sendingdata_state for these commands, with the effect that the Linux driver

Re: [Qemu-devel] Re: [patch 2/3] Add support for live block copy

2011-02-24 Thread Avi Kivity
On 02/23/2011 10:18 PM, Anthony Liguori wrote: Then the management stack has to worry about yet another way of interacting via qemu. { 'StateItem': { 'key': 'str', 'value': 'str' } } { 'StateSection': { 'kind': 'str', 'name': 'str', 'items': [ 'StateItem' ] } } { 'StateInfo': { 'sections':

Re: [Qemu-devel] Re: [patch 2/3] Add support for live block copy

2011-02-24 Thread Avi Kivity
On 02/23/2011 07:49 PM, Marcelo Tosatti wrote: On Wed, Feb 23, 2011 at 03:01:14PM +0200, Avi Kivity wrote: On 02/23/2011 01:14 AM, Anthony Liguori wrote: -drive already ties into the qemuopts infrastructure and we have readconfig and writeconfig. I don't think we're missing any major

[Qemu-devel] Re: [PATCH 21/28] migration: Make state definitions local

2011-02-24 Thread Juan Quintela
Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp wrote: 2011/2/24 Juan Quintela quint...@redhat.com: Signed-off-by: Juan Quintela quint...@redhat.com ---  migration.c |    8  migration.h |    8  2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/migration.c

[Qemu-devel] Memory Map

2011-02-24 Thread Salvatore Lionetti
Hi, This is what my board do cpu_register_physical_memory(0, 128*1024*1024, ...) cpu_register_physical_memory(0xFF80, 8*1024*1024, ...) and this layout does not change over the entire live (virtual) of the board. For the following offset (1st column) and size in bytes (2nd column)

[Qemu-devel] Missing op on SPARC

2011-02-24 Thread 陳韋任
Hi, all I have a Linux/SPARC machine and want to run QEMU on it. Here is the system information. -- $ uname -a Linux sparc 2.6.37-rc5-git #1 SMP Tue Dec 21 17:03:53 CST 2010 sparc64 sun4v UltraSparc T2 (Niagara2) GNU/Linux $ gcc

[Qemu-devel] Re: [PATCH] Fix conversions from pointer to int and vice versa

2011-02-24 Thread Paolo Bonzini
On 02/24/2011 08:21 AM, Markus Armbruster wrote: Why can't you cast straight to void *? warning: cast from pointer to integer of different size, and similarly in the other direction.

Re: [Qemu-devel] [PATCH] Fix conversions from pointer to int and vice versa

2011-02-24 Thread Kevin Wolf
Am 24.02.2011 08:21, schrieb Markus Armbruster: Stefan Weil w...@mail.berlios.de writes: Here the int values fds[0], sigfd, s, sock and fd are converted to void pointers which are later converted back to an int value. These conversions should always use intptr_t instead of unsigned long.

[Qemu-devel] Re: [PATCH] Add TAGS and *~ to .gitignore

2011-02-24 Thread Juan Quintela
David Gibson da...@gibson.dropbear.id.au wrote: Add the etags output generated by make TAGS and editor backup files to .gitignore. This patch has previously appeared in my series of patches to add pSeries emulation support. However, it obviously has no real connection to that, and can be

[Qemu-devel] Re: [PATCH 21/28] migration: Make state definitions local

2011-02-24 Thread Yoshiaki Tamura
Juan Quintela wrote: Yoshiaki Tamuratamura.yoshi...@lab.ntt.co.jp wrote: 2011/2/24 Juan Quintelaquint...@redhat.com: Signed-off-by: Juan Quintelaquint...@redhat.com --- migration.c |8 migration.h |8 2 files changed, 8 insertions(+), 8 deletions(-) diff --git

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

2011-02-24 Thread Juan Quintela
[ trimming cc to kvm qemu lists] Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp wrote: Juan Quintela wrote: Yoshiaki Tamuratamura.yoshi...@lab.ntt.co.jp wrote: This code implements VM transaction protocol. Like buffered_file, it sits between savevm and migration layer. With this

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

2011-02-24 Thread Yoshiaki Tamura
2011/2/24 Juan Quintela quint...@redhat.com: [ trimming cc to kvm qemu lists] Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp wrote: Juan Quintela wrote: Yoshiaki Tamuratamura.yoshi...@lab.ntt.co.jp  wrote: This code implements VM transaction protocol.  Like buffered_file, it sits between

[Qemu-devel] [PATCH] migration: allow setting MIG_STATE_CANCEL even if s-state != MIG_STATE_ACTIVE.

2011-02-24 Thread Yoshiaki Tamura
After migration failure, even a user commands migrate_cancel, it keeps saying: Migration status: failed Move checking s-state is MIG_STATE_ACTIVE, to allow setting MIG_STATE_CANCEL even if s-state != MIG_STATE_ACTIVE. With this patch the message above would be: Migration status: cancelled

Re: [Qemu-devel] Unsubsribing

2011-02-24 Thread Stefan Hajnoczi
On Thu, Feb 24, 2011 at 5:41 AM, James Brown jbrownfi...@gmail.com wrote: Who I can do it? Please see http://lists.nongnu.org/mailman/listinfo/qemu-devel for info on how to unsubscribe. Stefan

Re: [Qemu-devel] [PATCH] net: Use iov helper functions

2011-02-24 Thread Stefan Hajnoczi
On Thu, Feb 24, 2011 at 12:57 AM, Benjamin Poirier benjamin.poir...@gmail.com wrote: Signed-off-by: Benjamin Poirier benjamin.poir...@gmail.com ---  net.c |   28 ++--  1 files changed, 6 insertions(+), 22 deletions(-) Reviewed-by: Stefan Hajnoczi

Re: [Qemu-devel] [PATCH] Fix conversions from pointer to int and vice versa

2011-02-24 Thread Markus Armbruster
Kevin Wolf kw...@redhat.com writes: Am 24.02.2011 08:21, schrieb Markus Armbruster: Stefan Weil w...@mail.berlios.de writes: Here the int values fds[0], sigfd, s, sock and fd are converted to void pointers which are later converted back to an int value. These conversions should always use

Re: [Qemu-devel] Re: [PATCH] Split machine creation from the main loop

2011-02-24 Thread Stefan Hajnoczi
On Thu, Feb 24, 2011 at 12:36 AM, Anthony Liguori anth...@codemonkey.ws wrote: On 02/23/2011 05:38 PM, Juan Quintela wrote: Anthony Liguorianth...@codemonkey.ws  wrote: On 02/23/2011 05:00 PM, Juan Quintela wrote: Anthony Liguorialigu...@us.ibm.com   wrote: The goal is to enable the

[Qemu-devel] realview isp1761 support in qemu

2011-02-24 Thread asim khan
Hi, Currently Iam trying to emulate USB in qemu for realview board.so on board isp1761 controller is connected thru smc911 controller for which there is support in qemu.but I dont see isp1761support. Iam using qemu 0.13.0.Plz let me know as soon as possible. --Thanx AK

[Qemu-devel] [PATCH 2/2] build: create shared-obj-y for tools/qemu-softmmu

2011-02-24 Thread Juan Quintela
There are objects that need to be in both places, just make it explicit in a single place. Signed-off-by: Juan Quintela quint...@redhat.com --- Makefile |4 +--- Makefile.objs | 14 +- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile

[Qemu-devel] [PATCH 0/2] build: make sharing of objects explicit

2011-02-24 Thread Juan Quintela
Hi - all tools shared the same list of object files, create a variable instead or repeating them (tools-obj-y). - tools and softmmu targets share lots of objects, just make that explicit with shared-obj-y. Please review, Juan. Juan Quintela (2): build: Create tools-obj-y variable build:

[Qemu-devel] [PATCH 1/2] build: Create tools-obj-y variable

2011-02-24 Thread Juan Quintela
All our tools have to have exactly all this objects, just share them. Signed-off-by: Juan Quintela quint...@redhat.com --- Makefile | 10 +++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index eca4c76..9e090cb 100644 --- a/Makefile +++ b/Makefile @@

[Qemu-devel] PCI virtual address

2011-02-24 Thread asim khan
Hi, Iam trying to emulate USB for realview board in QEMU. trying to access it thru the PCI bus.for realview board Idont see PCI support in QEMU although it is there for versatile boad.so I googled and found realview PCIX support.I applied the patch. but then in arch/arm/mach-realview/pcix.c

Re: [Qemu-devel] PCI virtual address

2011-02-24 Thread Peter Maydell
On 24 February 2011 10:52, asim khan khan.asim.2...@gmail.com wrote: Hi,  Iam trying to emulate USB for realview board in QEMU. trying to access it thru the PCI bus.for realview board Idont see PCI support in QEMU although it is there for versatile boad.so I googled and found realview PCIX

[Qemu-devel] Re: QEMU regression problems - Update FPU

2011-02-24 Thread Paolo Bonzini
On 02/23/2011 08:04 PM, Aurelien Jarno wrote: Actually that's the reason why i386 doesn't use softfloat, as all the trigonometric use libm, and the bridge between softfloat and libm is not working correctly (plenty of type abuse). Besides, I doubt softfloat would want bug-compatible trig

Re: [Qemu-devel] [PATCH 2/2] build: create shared-obj-y for tools/qemu-softmmu

2011-02-24 Thread Peter Maydell
On 24 February 2011 10:33, Juan Quintela quint...@redhat.com wrote: +# shared-obj-y has the object that are shared by qemu binary and tools + +shared-obj-y  = qemu-error.o $(block-obj-y) $(qobject-obj-y) $(oslib-obj-y) +shared-obj-y += qemu-timer-common.o I don't feel very strongly about

[Qemu-devel] Re: QEMU regression problems - Update FPU

2011-02-24 Thread Laurent Desnogues
On Thu, Feb 24, 2011 at 12:10 PM, Paolo Bonzini pbonz...@redhat.com wrote: On 02/23/2011 08:04 PM, Aurelien Jarno wrote: Actually that's the reason why i386 doesn't use softfloat, as all the trigonometric use libm, and the bridge between softfloat and libm is not working correctly (plenty of

[Qemu-devel] [PATCH] net: remove parse_host_src_port() function

2011-02-24 Thread Juan Quintela
It was deprecated, and it has no users. Signed-off-by: Juan Quintela quint...@redhat.com --- net.c | 41 - qemu_socket.h |3 --- 2 files changed, 0 insertions(+), 44 deletions(-) diff --git a/net.c b/net.c index ec4745d..4c3e083 100644 ---

[Qemu-devel] usb support in realview pbx board

2011-02-24 Thread asim khan
Hi, Iam using qemu0.13.0. Iam loking for usb support in qemu for realview pbx board. is usb support already there in qemu for realview pbx board?. what things I need to do for giving usb support in realviewpbx boad in qemu plz let me know as soon as possible. --Thanx AK

Re: [Qemu-devel] [PATCH 2/2] build: create shared-obj-y for tools/qemu-softmmu

2011-02-24 Thread Markus Armbruster
Peter Maydell peter.mayd...@linaro.org writes: On 24 February 2011 10:33, Juan Quintela quint...@redhat.com wrote: +# shared-obj-y has the object that are shared by qemu binary and tools + +shared-obj-y  = qemu-error.o $(block-obj-y) $(qobject-obj-y) $(oslib-obj-y) +shared-obj-y +=

[Qemu-devel] [PATCH] target-sh4: move intr_at_halt out of cpu_halted()

2011-02-24 Thread Aurelien Jarno
All targets except SH4 have the same cpu_halted() routine, and it has only one caller. It is therefore a good candidate for inlining. The difference is the handling of the intr_at_halt, which is necessary to ignore SR.BL when sleeping. Move intr_at_halt handling out of it, by setting this

[Qemu-devel] Re: [PATCH] target-sh4: move intr_at_halt out of cpu_halted()

2011-02-24 Thread Paolo Bonzini
On 02/24/2011 12:54 PM, Aurelien Jarno wrote: All targets except SH4 have the same cpu_halted() routine, and it has only one caller. It is therefore a good candidate for inlining. The difference is the handling of the intr_at_halt, which is necessary to ignore SR.BL when sleeping. Move

Re: [Qemu-devel] Re: [patch 2/3] Add support for live block copy

2011-02-24 Thread Markus Armbruster
Anthony Liguori anth...@codemonkey.ws writes: On 02/23/2011 11:26 AM, Markus Armbruster wrote: I don't think it's reasonable to have three different ways to interact with qemu, all needed: the command line, reading and writing the stateful config file, and the monitor. I'd rather push for

[Qemu-devel] Re: [PATCH 2/2] build: create shared-obj-y for tools/qemu-softmmu

2011-02-24 Thread Juan Quintela
Markus Armbruster arm...@redhat.com wrote: Peter Maydell peter.mayd...@linaro.org writes: On 24 February 2011 10:33, Juan Quintela quint...@redhat.com wrote: +# shared-obj-y has the object that are shared by qemu binary and tools + +shared-obj-y  = qemu-error.o $(block-obj-y)

[Qemu-devel] Re: [PATCH 22/22] migration: Make state definitions local

2011-02-24 Thread Juan Quintela
Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp wrote: 2011/2/23 Juan Quintela quint...@redhat.com: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp wrote: 2011/2/23 Juan Quintela quint...@redhat.com: Although you're right, I would prefer to keep it so that somebody outside of migration may

[Qemu-devel] Re: virtio-serial semantics for binary data and guest agents

2011-02-24 Thread Amit Shah
On (Wed) 23 Feb 2011 [08:31:52], Michael Roth wrote: On 02/22/2011 10:59 PM, Amit Shah wrote: On (Tue) 22 Feb 2011 [16:40:55], Michael Roth wrote: If something in the guest is attempting to read/write from the virtio-serial device, and nothing is connected to virtio-serial's host character

[Qemu-devel] Re: [PATCH] target-sh4: move intr_at_halt out of cpu_halted()

2011-02-24 Thread Aurelien Jarno
On Thu, Feb 24, 2011 at 01:05:02PM +0100, Paolo Bonzini wrote: On 02/24/2011 12:54 PM, Aurelien Jarno wrote: All targets except SH4 have the same cpu_halted() routine, and it has only one caller. It is therefore a good candidate for inlining. The difference is the handling of the

[Qemu-devel] [PATCH v2] target-sh4: move intr_at_halt out of cpu_halted()

2011-02-24 Thread Aurelien Jarno
All targets except SH4 have the same cpu_halted() routine, and it has only one caller. It is therefore a good candidate for inlining. The difference is the handling of the intr_at_halt, which is necessary to ignore SR.BL when sleeping. Move intr_at_halt handling out of it, by setting this

[Qemu-devel] Re: [PATCH 2/2] build: create shared-obj-y for tools/qemu-softmmu

2011-02-24 Thread Markus Armbruster
Juan Quintela quint...@redhat.com writes: Markus Armbruster arm...@redhat.com wrote: Peter Maydell peter.mayd...@linaro.org writes: On 24 February 2011 10:33, Juan Quintela quint...@redhat.com wrote: +# shared-obj-y has the object that are shared by qemu binary and tools + +shared-obj-y  =

[Qemu-devel] Re: [PATCH 2/2] build: create shared-obj-y for tools/qemu-softmmu

2011-02-24 Thread Paolo Bonzini
On 02/24/2011 02:53 PM, Markus Armbruster wrote: really-common-obj-y?;) Seriously, what about renaming common-obj-y away? target-indep-obj-y? softmmu-obj-y? Paolo

[Qemu-devel] Re: [PATCH 2/2] build: create shared-obj-y for tools/qemu-softmmu

2011-02-24 Thread Juan Quintela
Paolo Bonzini pbonz...@redhat.com wrote: On 02/24/2011 02:53 PM, Markus Armbruster wrote: really-common-obj-y?;) Seriously, what about renaming common-obj-y away? target-indep-obj-y? softmmu-obj-y? Waiting for Anthony to decide anything, renaming the variable is the easy thing to do.

[Qemu-devel] [PATCH 0/3] Remove wrong savevm sections

2011-02-24 Thread Juan Quintela
Hi This devices savevm support is Not Even Wrong. Just remove it. It has never work for sure. Anthony, please apply. Later, Juan. Juan Quintela (3): vmstate: remove grackle_pci savevm code vmstate: remove uninorth savevm code gt64xxx: remove savevm support hw/grackle_pci.c | 19

[Qemu-devel] [PATCH 1/3] vmstate: remove grackle_pci savevm code

2011-02-24 Thread Juan Quintela
It was migrating the wrong structures, no way it would work Signed-off-by: Juan Quintela quint...@redhat.com --- hw/grackle_pci.c | 19 --- 1 files changed, 0 insertions(+), 19 deletions(-) diff --git a/hw/grackle_pci.c b/hw/grackle_pci.c index bd3d6b0..d35701f 100644 ---

[Qemu-devel] [PATCH 3/3] gt64xxx: remove savevm support

2011-02-24 Thread Juan Quintela
Signed-off-by: Juan Quintela quint...@redhat.com --- hw/gt64xxx.c | 21 - 1 files changed, 0 insertions(+), 21 deletions(-) diff --git a/hw/gt64xxx.c b/hw/gt64xxx.c index 923073b..c66188f 100644 --- a/hw/gt64xxx.c +++ b/hw/gt64xxx.c @@ -1080,25 +1080,6 @@ static void

[Qemu-devel] [PATCH 2/3] vmstate: remove uninorth savevm code

2011-02-24 Thread Juan Quintela
It was migrating the wrong structures, no way it would work Signed-off-by: Juan Quintela quint...@redhat.com --- hw/unin_pci.c | 21 - 1 files changed, 0 insertions(+), 21 deletions(-) diff --git a/hw/unin_pci.c b/hw/unin_pci.c index 5f15058..c57c0a1 100644 ---

Re: [Qemu-devel] [PATCH V6 3/4] qmp, nmi: convert do_inject_nmi() to QObject

2011-02-24 Thread Anthony Liguori
On 02/24/2011 02:33 AM, Markus Armbruster wrote: Anthony Liguorianth...@codemonkey.ws writes: On 01/27/2011 02:20 AM, Lai Jiangshan wrote: Make we can inject NMI via qemu-monitor-protocol. We use inject-nmi for the qmp command name, the meaning is clearer. Signed-off-by: Lai

[Qemu-devel] null mac address

2011-02-24 Thread William Dauchy
Hi, I got some troubles hot plugging network pci devices. An attach works as expected but the mac address is still set to 00:00:00:00:00:00 on the guest machine. I have to reboot the guest to get the correct mac address. I first tried through libvirt with: # virsh attach-interface dom0 network

[Qemu-devel] Re: virtio-serial semantics for binary data and guest agents

2011-02-24 Thread Anthony Liguori
On 02/24/2011 06:48 AM, Amit Shah wrote: On (Wed) 23 Feb 2011 [08:31:52], Michael Roth wrote: On 02/22/2011 10:59 PM, Amit Shah wrote: On (Tue) 22 Feb 2011 [16:40:55], Michael Roth wrote: If something in the guest is attempting to read/write from the virtio-serial device,

Re: [Qemu-devel] Re: [PATCH 22/22] migration: Make state definitions local

2011-02-24 Thread Anthony Liguori
On 02/24/2011 06:23 AM, Juan Quintela wrote: Yoshiaki Tamuratamura.yoshi...@lab.ntt.co.jp wrote: 2011/2/23 Juan Quintelaquint...@redhat.com: Yoshiaki Tamuratamura.yoshi...@lab.ntt.co.jp wrote: 2011/2/23 Juan Quintelaquint...@redhat.com: Although you're

Re: [Qemu-devel] Re: [PATCH] Split machine creation from the main loop

2011-02-24 Thread Anthony Liguori
On 02/24/2011 04:19 AM, Stefan Hajnoczi wrote: Any chance of reusing info qtree, QemuOpts, or other existing infrastructure for the config file? I'm nowhere near implementation details like that. I'm still trying to understand whether this is a Good Idea at all. Regards, Anthony

Re: [Qemu-devel] Re: [patch 2/3] Add support for live block copy

2011-02-24 Thread Anthony Liguori
On 02/24/2011 02:54 AM, Avi Kivity wrote: On 02/23/2011 10:18 PM, Anthony Liguori wrote: Then the management stack has to worry about yet another way of interacting via qemu. { 'StateItem': { 'key': 'str', 'value': 'str' } } { 'StateSection': { 'kind': 'str', 'name': 'str', 'items': [

Re: [Qemu-devel] Re: [patch 2/3] Add support for live block copy

2011-02-24 Thread Marcelo Tosatti
On Thu, Feb 24, 2011 at 10:58:10AM +0200, Avi Kivity wrote: On 02/23/2011 07:49 PM, Marcelo Tosatti wrote: On Wed, Feb 23, 2011 at 03:01:14PM +0200, Avi Kivity wrote: On 02/23/2011 01:14 AM, Anthony Liguori wrote: -drive already ties into the qemuopts infrastructure and we have

Re: [Qemu-devel] Re: [patch 2/3] Add support for live block copy

2011-02-24 Thread Marcelo Tosatti
On Wed, Feb 23, 2011 at 03:41:30PM -0600, Anthony Liguori wrote: On 02/23/2011 02:44 PM, Marcelo Tosatti wrote: Any indirect qemu state. Block migration is an example, but other examples would be VNC server information (like current password), WCE setting (depending on whether we modelled

Re: [Qemu-devel] Re: [patch 2/3] Add support for live block copy

2011-02-24 Thread Avi Kivity
On 02/24/2011 05:00 PM, Anthony Liguori wrote: On 02/24/2011 02:54 AM, Avi Kivity wrote: On 02/23/2011 10:18 PM, Anthony Liguori wrote: Then the management stack has to worry about yet another way of interacting via qemu. { 'StateItem': { 'key': 'str', 'value': 'str' } } { 'StateSection': {

Re: [Qemu-devel] Re: [patch 2/3] Add support for live block copy

2011-02-24 Thread Avi Kivity
On 02/24/2011 05:14 PM, Marcelo Tosatti wrote: The problem with qemu config files is that it splits the authoritative source of where images are stored into two. Is it in the management tool's database or is it in qemu's config file? For the problem at hand, one solution

Re: [Qemu-devel] [PATCH 1/5] Add TPM 1.2 device interface

2011-02-24 Thread Andreas Niederl
On 02/18/2011 05:37 PM, Stefan Berger wrote: [...] I have a tpm_tis.c with major changes in it getting rid of the polling, closer to specs that passes a test suite and a registerable backend as well that has several more interface functions, due to support for snapshotting etc. Unfortunately

Re: [Qemu-devel] [PATCH v3 05/16] vnc: tight: use the update frequency to choose between lossy and lossless

2011-02-24 Thread Peter Maydell
On 4 February 2011 08:05, Corentin Chary corenti...@iksaif.net wrote: Use the new update frequency infrastructure to use jpeg for regions with high update frequency. Signed-off-by: Corentin Chary corenti...@iksaif.net @@ -1514,6 +1536,8 @@ static int send_sub_rect(VncState *vs, int x, int y,

Re: [Qemu-devel] Re: [PATCH] Split machine creation from the main loop

2011-02-24 Thread Avi Kivity
On 02/24/2011 01:12 AM, Anthony Liguori wrote: What is the plan from here? 1) Decouple QMP from qemu_machine_init(). This really requires the introduction of the new QAPI server that exists outside of the chardev infrastructure since chardevs are currently initialized in

[Qemu-devel] [PATCH] ui/vnc-enc-tight.c: Fix compile failure if CONFIG_VNC_JPEG not defined

2011-02-24 Thread Peter Maydell
Add some missing #ifdefs to fix compilation failures in the !CONFIG_VNC_JPEG case introduced by commit ce702e93. Signed-off-by: Peter Maydell peter.mayd...@linaro.org --- ui/vnc-enc-tight.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/ui/vnc-enc-tight.c

Re: [Qemu-devel] [PATCH V10 02/15] xen: Make xen build only on x86 target.

2011-02-24 Thread Anthony Liguori
On 02/02/2011 08:49 AM, anthony.per...@citrix.com wrote: From: Anthony PERARDanthony.per...@citrix.com Signed-off-by: Anthony PERARDanthony.per...@citrix.com Acked-by: Alexander Grafag...@suse.de Is this really necessary? The advantage to building globally is that it keeps the code from

Re: [Qemu-devel] [PATCH V6 3/4] qmp, nmi: convert do_inject_nmi() to QObject

2011-02-24 Thread Markus Armbruster
Anthony Liguori aligu...@linux.vnet.ibm.com writes: On 02/24/2011 02:33 AM, Markus Armbruster wrote: Anthony Liguorianth...@codemonkey.ws writes: On 01/27/2011 02:20 AM, Lai Jiangshan wrote: Make we can inject NMI via qemu-monitor-protocol. We use inject-nmi for the qmp command

Re: [Xen-devel] Re: [Qemu-devel] [PATCH V10 02/15] xen: Make xen build only on x86 target.

2011-02-24 Thread Anthony PERARD
On Thu, Feb 24, 2011 at 16:11, Anthony Liguori anth...@codemonkey.ws wrote: Is this really necessary?  The advantage to building globally is that it keeps the code from getting unnecessary i386-isms. Nop, is not necessary, I add this patch after this mail:

[Qemu-devel] Re: [PATCH] ui/vnc-enc-tight.c: Fix compile failure if CONFIG_VNC_JPEG not defined

2011-02-24 Thread Corentin Chary
On Thu, Feb 24, 2011 at 4:04 PM, Peter Maydell peter.mayd...@linaro.org wrote: Add some missing #ifdefs to fix compilation failures in the !CONFIG_VNC_JPEG case introduced by commit ce702e93. Ooops. Acked-By: Corentin Chary corentin.ch...@gmail.com -- Corentin Chary http://xf.iksaif.net

Re: [Qemu-devel] Re: [patch 2/3] Add support for live block copy

2011-02-24 Thread Marcelo Tosatti
On Thu, Feb 24, 2011 at 05:28:20PM +0200, Avi Kivity wrote: On 02/24/2011 05:14 PM, Marcelo Tosatti wrote: The problem with qemu config files is that it splits the authoritative source of where images are stored into two. Is it in the management tool's database or is it in

Re: [Qemu-devel] [PATCH V6 3/4] qmp, nmi: convert do_inject_nmi() to QObject

2011-02-24 Thread Anthony Liguori
On 02/24/2011 10:20 AM, Markus Armbruster wrote: Anthony Liguorialigu...@linux.vnet.ibm.com writes: On 02/24/2011 02:33 AM, Markus Armbruster wrote: Anthony Liguorianth...@codemonkey.ws writes: On 01/27/2011 02:20 AM, Lai Jiangshan wrote: Make we can inject

Re: [Qemu-devel] Re: [PATCH] Split machine creation from the main loop

2011-02-24 Thread Anthony Liguori
On 02/24/2011 10:01 AM, Avi Kivity wrote: On 02/24/2011 01:12 AM, Anthony Liguori wrote: What is the plan from here? 1) Decouple QMP from qemu_machine_init(). This really requires the introduction of the new QAPI server that exists outside of the chardev infrastructure since chardevs are

Re: [Xen-devel] Re: [Qemu-devel] [PATCH V10 02/15] xen: Make xen build only on x86 target.

2011-02-24 Thread Anthony Liguori
On 02/24/2011 10:25 AM, Anthony PERARD wrote: On Thu, Feb 24, 2011 at 16:11, Anthony Liguorianth...@codemonkey.ws wrote: Is this really necessary? The advantage to building globally is that it keeps the code from getting unnecessary i386-isms. Nop, is not necessary, I add this

Re: [Qemu-devel] Re: [patch 2/3] Add support for live block copy

2011-02-24 Thread Avi Kivity
On 02/24/2011 06:39 PM, Marcelo Tosatti wrote: You can live migrate (but not live migrate with live block migration) with live copy in progress, its just that its not supported yet. A RAID-1 driver will work with block live migration too. Nobody cares about that one (block copy and

Re: [Qemu-devel] [PATCH V10 06/15] xen: Add the Xen platform pci device

2011-02-24 Thread Anthony Liguori
On 02/02/2011 08:49 AM, anthony.per...@citrix.com wrote: From: Steven Smithssm...@xensource.com Introduce a new emulated PCI device, specific to fully virtualized Xen guests. The device is necessary for PV on HVM drivers to work. Signed-off-by: Steven Smithssm...@xensource.com Signed-off-by:

Re: [Qemu-devel] [PATCH V10 05/15] xen: Add xenfv machine

2011-02-24 Thread Anthony Liguori
On 02/02/2011 08:49 AM, anthony.per...@citrix.com wrote: From: Anthony PERARDanthony.per...@citrix.com Introduce the Xen FV (Fully Virtualized) machine to Qemu, some more Xen specific call will be added in further patches. Signed-off-by: Anthony PERARDanthony.per...@citrix.com --- hw/pc.c

Re: [Qemu-devel] [PATCH V10 07/15] piix_pci: Introduces Xen specific call for irq.

2011-02-24 Thread Anthony Liguori
On 02/02/2011 08:49 AM, anthony.per...@citrix.com wrote: From: Anthony PERARDanthony.per...@citrix.com This patch introduces Xen specific call in piix_pci. The specific part for Xen is in write_config, set_irq and get_pirq. Signed-off-by: Anthony PERARDanthony.per...@citrix.com Signed-off-by:

Re: [Qemu-devel] [PATCH V10 06/15] xen: Add the Xen platform pci device

2011-02-24 Thread Paolo Bonzini
On 02/24/2011 06:33 PM, Anthony Liguori wrote: On 02/02/2011 08:49 AM, anthony.per...@citrix.com wrote: From: Steven Smithssm...@xensource.com Introduce a new emulated PCI device, specific to fully virtualized Xen guests. The device is necessary for PV on HVM drivers to work. Signed-off-by:

Re: [Qemu-devel] [PATCH V10 03/15] xen: Support new libxc calls from xen unstable.

2011-02-24 Thread Anthony Liguori
On 02/02/2011 08:49 AM, anthony.per...@citrix.com wrote: From: Anthony PERARDanthony.per...@citrix.com This patch adds a generic layer for xc calls, allowing us to choose between the xenner and xen implementations at runtime. It also update the libxenctrl calls in Qemu to use the new

Re: [Qemu-devel] Re: [patch 2/3] Add support for live block copy

2011-02-24 Thread Anthony Liguori
On 02/24/2011 10:39 AM, Marcelo Tosatti wrote: On Thu, Feb 24, 2011 at 05:28:20PM +0200, Avi Kivity wrote: On 02/24/2011 05:14 PM, Marcelo Tosatti wrote: The problem with qemu config files is that it splits the authoritative source of where images are stored into two. Is

Re: [Qemu-devel] [PATCH V10 00/15] Xen device model support

2011-02-24 Thread Anthony Liguori
On 02/02/2011 08:49 AM, anthony.per...@citrix.com wrote: From: Anthony PERARDanthony.per...@citrix.com Hi, There is a lot of change since the V9 of the Xen device model. One of theme is to use the 'pc' machine for Xen instead of duplicate this machine in another file. Here is the change since

Re: [Xen-devel] Re: [Qemu-devel] [PATCH V10 02/15] xen: Make xen build only on x86 target.

2011-02-24 Thread Jan Kiszka
On 2011-02-24 18:27, Anthony Liguori wrote: On 02/24/2011 10:25 AM, Anthony PERARD wrote: On Thu, Feb 24, 2011 at 16:11, Anthony Liguorianth...@codemonkey.ws wrote: Is this really necessary? The advantage to building globally is that it keeps the code from getting unnecessary i386-isms.

[Qemu-devel] [PATCH 55/58] piix4: create PIIX4State

2011-02-24 Thread Juan Quintela
It only contains a PCIDevice by know, but it makes easy to use migration code Signed-off-by: Juan Quintela quint...@redhat.com --- hw/piix4.c | 29 + 1 files changed, 17 insertions(+), 12 deletions(-) diff --git a/hw/piix4.c b/hw/piix4.c index 72073cd..40cd91a

[Qemu-devel] [PATCH 56/58] vmstate: port piix4

2011-02-24 Thread Juan Quintela
Signed-off-by: Juan Quintela quint...@redhat.com --- hw/piix4.c | 25 +++-- 1 files changed, 11 insertions(+), 14 deletions(-) diff --git a/hw/piix4.c b/hw/piix4.c index 40cd91a..71f1f84 100644 --- a/hw/piix4.c +++ b/hw/piix4.c @@ -72,19 +72,16 @@ static void

[Qemu-devel] [PATCH 57/58] mac_dbdma: create DBDMAState instead of passing one array around

2011-02-24 Thread Juan Quintela
Signed-off-by: Juan Quintela quint...@redhat.com --- hw/mac_dbdma.c | 45 +++-- 1 files changed, 27 insertions(+), 18 deletions(-) diff --git a/hw/mac_dbdma.c b/hw/mac_dbdma.c index 5680fa9..c108aee 100644 --- a/hw/mac_dbdma.c +++ b/hw/mac_dbdma.c @@

[Qemu-devel] [PATCH 58/58] vmstate: port mac_dbdma

2011-02-24 Thread Juan Quintela
Signed-off-by: Juan Quintela quint...@redhat.com --- hw/mac_dbdma.c | 46 ++ 1 files changed, 22 insertions(+), 24 deletions(-) diff --git a/hw/mac_dbdma.c b/hw/mac_dbdma.c index c108aee..3522552 100644 --- a/hw/mac_dbdma.c +++ b/hw/mac_dbdma.c @@

Re: [Xen-devel] Re: [Qemu-devel] [PATCH V10 02/15] xen: Make xen build only on x86 target.

2011-02-24 Thread Anthony Liguori
On 02/24/2011 11:46 AM, Jan Kiszka wrote: On 2011-02-24 18:27, Anthony Liguori wrote: On 02/24/2011 10:25 AM, Anthony PERARD wrote: On Thu, Feb 24, 2011 at 16:11, Anthony Liguorianth...@codemonkey.ws wrote: Is this really necessary? The advantage to building globally is

[Qemu-devel] Re: [PATCH] ui/vnc-enc-tight.c: Fix compile failure if CONFIG_VNC_JPEG not defined

2011-02-24 Thread Anthony Liguori
On 02/24/2011 10:04 AM, Peter Maydell wrote: Add some missing #ifdefs to fix compilation failures in the !CONFIG_VNC_JPEG case introduced by commit ce702e93. Signed-off-by: Peter Maydellpeter.mayd...@linaro.org Applied. Thanks. Regards, Anthony Liguori --- ui/vnc-enc-tight.c |4

Re: [Qemu-devel] [PATCH] Add TAGS and *~ to .gitignore

2011-02-24 Thread Anthony Liguori
On 02/23/2011 11:34 PM, David Gibson wrote: Add the etags output generated by make TAGS and editor backup files to .gitignore. This patch has previously appeared in my series of patches to add pSeries emulation support. However, it obviously has no real connection to that, and can be applied

Re: [Qemu-devel] [RESEND][REBASE] [PATCH] virtio-serial: kill VirtIOSerialDevice

2011-02-24 Thread Anthony Liguori
On 02/23/2011 11:44 PM, Amit Shah wrote: From: Gerd Hoffmannkra...@redhat.com VirtIOSerialDevice is like VirtIOSerialPort with just the first two fields, which makes it pretty pointless. Using VirtIOSerialPort directly works equally well and is less confusing. [Amit: - rebase - rename

[Qemu-devel] [PATCH 06/58] vmstate: add VMSTATE_STRUCT_VARRAY_UINT32

2011-02-24 Thread Juan Quintela
Signed-off-by: Juan Quintela quint...@redhat.com --- hw/hw.h | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/hw/hw.h b/hw/hw.h index d439a6d..af88460 100644 --- a/hw/hw.h +++ b/hw/hw.h @@ -519,6 +519,16 @@ extern const VMStateInfo vmstate_info_unused_buffer;

[Qemu-devel] [PATCH 04/58] vmstate: add VMSTATE_STRUCT_VARRAY_INT32

2011-02-24 Thread Juan Quintela
Signed-off-by: Juan Quintela quint...@redhat.com --- hw/hw.h | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/hw/hw.h b/hw/hw.h index bff56e1..923efc9 100644 --- a/hw/hw.h +++ b/hw/hw.h @@ -508,6 +508,17 @@ extern const VMStateInfo vmstate_info_unused_buffer;

[Qemu-devel] [PATCH 10/58] vmstate: port adb_kbd

2011-02-24 Thread Juan Quintela
Signed-off-by: Juan Quintela quint...@redhat.com --- hw/adb.c | 40 ++-- 1 files changed, 14 insertions(+), 26 deletions(-) diff --git a/hw/adb.c b/hw/adb.c index 99b30f6..fbf5080 100644 --- a/hw/adb.c +++ b/hw/adb.c @@ -261,30 +261,19 @@ static int

[Qemu-devel] [PATCH 25/58] vmstate: port stellaris ssi bus

2011-02-24 Thread Juan Quintela
Signed-off-by: Juan Quintela quint...@redhat.com --- hw/stellaris.c | 31 +++ 1 files changed, 11 insertions(+), 20 deletions(-) diff --git a/hw/stellaris.c b/hw/stellaris.c index 00beaf2..3e77b8f 100644 --- a/hw/stellaris.c +++ b/hw/stellaris.c @@ -1219,24 +1219,16

[Qemu-devel] [PATCH 19/58] vmstate: port syborg_rtc

2011-02-24 Thread Juan Quintela
Signed-off-by: Juan Quintela quint...@redhat.com --- hw/syborg_rtc.c | 34 -- 1 files changed, 12 insertions(+), 22 deletions(-) diff --git a/hw/syborg_rtc.c b/hw/syborg_rtc.c index 329aa42..4e24e52 100644 --- a/hw/syborg_rtc.c +++ b/hw/syborg_rtc.c @@ -102,26

[Qemu-devel] [PATCH 13/58] vmstate: port m48t59

2011-02-24 Thread Juan Quintela
Signed-off-by: Juan Quintela quint...@redhat.com --- hw/m48t59.c | 36 +--- 1 files changed, 13 insertions(+), 23 deletions(-) diff --git a/hw/m48t59.c b/hw/m48t59.c index 2020487..82223c9 100644 --- a/hw/m48t59.c +++ b/hw/m48t59.c @@ -585,28 +585,18 @@ static

[Qemu-devel] [PATCH 38/58] vmstate: port syborg_pointer

2011-02-24 Thread Juan Quintela
Signed-off-by: Juan Quintela quint...@redhat.com --- hw/syborg_pointer.c | 73 +++--- 1 files changed, 28 insertions(+), 45 deletions(-) diff --git a/hw/syborg_pointer.c b/hw/syborg_pointer.c index a886888..2f99707 100644 --- a/hw/syborg_pointer.c

  1   2   >