Re: [Qemu-devel] Unclear committer situation

2009-12-02 Thread Alexander Graf
On 02.12.2009, at 19:53, Artyom Tarasenko wrote: 2009/12/2 Anthony Liguori anth...@codemonkey.ws: Artyom Tarasenko wrote: 2009/12/1 Alexander Graf ag...@suse.de: Hi, Could someone with commit rights please stand up to feel responsible for PPC? Usually, when I send a patch to

[Qemu-devel] Re: [PATCH 29/41] virtio-net: in_use and first_multi only handle unsigned values

2009-12-02 Thread Juan Quintela
Michael S. Tsirkin m...@redhat.com wrote: On Wed, Dec 02, 2009 at 07:30:18PM +0100, Juan Quintela wrote: We can change things to be int32_t if that makes more sense (they were sent as uint32). vmstate checks that the type of the value that you sent and the function that you use for sending

[Qemu-devel] Re: [PATCH 38/41] virtio-blk: use QLIST for the list of requests

2009-12-02 Thread Juan Quintela
Michael S. Tsirkin m...@redhat.com wrote: On Wed, Dec 02, 2009 at 01:04:36PM +0100, Juan Quintela wrote: viltio_blak_dma_restart_bh() was unsafe, it used req-next after having (possible) put req in another list Signed-off-by: Juan Quintela quint...@redhat.com Sounds good, but why is this

[Qemu-devel] Re: [PATCH 41/41] virtio: virtio_save/load are not used anymore

2009-12-02 Thread Juan Quintela
Michael S. Tsirkin m...@redhat.com wrote: You probably can just roll not used anymore lines in the parent patch. It does not help splitting this part out IMO. I reordered the other patches several times. Later, Juan.

[Qemu-devel] Re: [PATCH 15/41] virtio: remove save/load_queue for virtio

2009-12-02 Thread Michael S. Tsirkin
On Wed, Dec 02, 2009 at 07:50:33PM +0100, Juan Quintela wrote: Michael S. Tsirkin m...@redhat.com wrote: On Wed, Dec 02, 2009 at 07:22:11PM +0100, Juan Quintela wrote: Michael S. Tsirkin m...@redhat.com wrote: On Wed, Dec 02, 2009 at 01:04:13PM +0100, Juan Quintela wrote: diff --git

[Qemu-devel] Re: [PATCH 29/41] virtio-net: in_use and first_multi only handle unsigned values

2009-12-02 Thread Michael S. Tsirkin
On Wed, Dec 02, 2009 at 07:55:51PM +0100, Juan Quintela wrote: Michael S. Tsirkin m...@redhat.com wrote: On Wed, Dec 02, 2009 at 07:30:18PM +0100, Juan Quintela wrote: We can change things to be int32_t if that makes more sense (they were sent as uint32). vmstate checks that the type

[Qemu-devel] Re: [PATCH 38/41] virtio-blk: use QLIST for the list of requests

2009-12-02 Thread Michael S. Tsirkin
On Wed, Dec 02, 2009 at 07:56:58PM +0100, Juan Quintela wrote: Michael S. Tsirkin m...@redhat.com wrote: On Wed, Dec 02, 2009 at 01:04:36PM +0100, Juan Quintela wrote: viltio_blak_dma_restart_bh() was unsafe, it used req-next after having (possible) put req in another list

[Qemu-devel] Re: [PATCH 15/41] virtio: remove save/load_queue for virtio

2009-12-02 Thread Juan Quintela
Michael S. Tsirkin m...@redhat.com wrote: On Wed, Dec 02, 2009 at 07:22:11PM +0100, Juan Quintela wrote: Michael S. Tsirkin m...@redhat.com wrote: On Wed, Dec 02, 2009 at 01:04:13PM +0100, Juan Quintela wrote: diff --git a/hw/virtio.c b/hw/virtio.c index c136005..b565bf9 100644 ---

[Qemu-devel] Re: [PATCH 06/41] virtio: Use DO_UPCAST instead of a cast

2009-12-02 Thread Juan Quintela
Michael S. Tsirkin m...@redhat.com wrote: I don't understand. container_of is just more generic than DO_UPCAST. So why *ever* use DO_UPCAST? Let's get rid of it. functions that use a PCIDevice and you pass FooState require that PCIDevice to be the 1st element in the struct. Notice that it is

[Qemu-devel] Re: Live migration of x86-64 kvm guests broken?

2009-12-02 Thread Ryan Harper
* Jan Kiszka jan.kis...@siemens.com [2009-12-02 12:45]: So far, so consistent. Could you try kvm-kmod-2.6.32-rc7 on top of that? Sure, can you remind me of the kvm-kmod build magic for building that branch? If you want to build from git, check Wolfgang's nice README. But it

Re: [Qemu-devel] Unclear committer situation

2009-12-02 Thread Anthony Liguori
Artyom Tarasenko wrote: I thought attaching a second copy were the way to send the patch properly. Attaching as an application/octet-stream is not terribly helpful. It basically means you've attached a binary blob. Is the proper way described somewhere? The proper way is to use a

[Qemu-devel] Re: [PATCH 33/41] virtio-net: port to vmstate

2009-12-02 Thread Juan Quintela
Michael S. Tsirkin m...@redhat.com wrote: On Wed, Dec 02, 2009 at 01:04:31PM +0100, Juan Quintela wrote: Signed-off-by: Juan Quintela quint...@redhat.com --- hw/virtio-net.c | 148 --- 1 files changed, 64 insertions(+), 84 deletions(-)

[Qemu-devel] Re: Staging update (0.12 pending freeze)

2009-12-02 Thread Jan Kiszka
Anthony Liguori wrote: I've got all of the patches I'm considering for 0.12 currently in staging. I'm going to work through and test/commit these in a few chunks over the next few days before freezing the tree. If you have a pending patch that you think should be in 0.12, please check to

[Qemu-devel] Re: Live migration of x86-64 kvm guests broken?

2009-12-02 Thread Ryan Harper
* Ryan Harper ry...@us.ibm.com [2009-12-02 13:11]: * Jan Kiszka jan.kis...@siemens.com [2009-12-02 12:45]: So far, so consistent. Could you try kvm-kmod-2.6.32-rc7 on top of that? Sure, can you remind me of the kvm-kmod build magic for building that branch? If you want

[Qemu-devel] Re: Live migration of x86-64 kvm guests broken?

2009-12-02 Thread Jan Kiszka
Ryan Harper wrote: * Ryan Harper ry...@us.ibm.com [2009-12-02 13:11]: * Jan Kiszka jan.kis...@siemens.com [2009-12-02 12:45]: So far, so consistent. Could you try kvm-kmod-2.6.32-rc7 on top of that? Sure, can you remind me of the kvm-kmod build magic for building that branch? If you want

[Qemu-devel] Re: Staging update (0.12 pending freeze)

2009-12-02 Thread Anthony Liguori
Jan Kiszka wrote: Anthony Liguori wrote: I've got all of the patches I'm considering for 0.12 currently in staging. I'm going to work through and test/commit these in a few chunks over the next few days before freezing the tree. If you have a pending patch that you think should be in 0.12,

[Qemu-devel] Re: [PATCH 33/41] virtio-net: port to vmstate

2009-12-02 Thread Juan Quintela
Michael S. Tsirkin m...@redhat.com wrote: On Wed, Dec 02, 2009 at 07:38:03PM +0100, Juan Quintela wrote: Michael S. Tsirkin m...@redhat.com wrote: I expect it fits in practice. But you should range check the value and fail migration on error. That is only needed for old versions that we

Re: [Qemu-devel] Staging update (0.12 pending freeze)

2009-12-02 Thread Luiz Capitulino
On Wed, 02 Dec 2009 10:46:11 -0600 Anthony Liguori anth...@codemonkey.ws wrote: I've got all of the patches I'm considering for 0.12 currently in staging. I'm going to work through and test/commit these in a few chunks over the next few days before freezing the tree. If you have a

Re: [Qemu-devel] Staging update (0.12 pending freeze)

2009-12-02 Thread Ian Molton
Anthony Liguori wrote: I've got all of the patches I'm considering for 0.12 currently in staging. http://repo.or.cz/w/qemu/aliguori-queue.git I see you have my rng and size patches in there, thanks for the quick review! Is it too late to get the timer based socket reconnect patch in and the

Re: [Qemu-devel] Staging update (0.12 pending freeze)

2009-12-02 Thread Anthony Liguori
Ian Molton wrote: Anthony Liguori wrote: I've got all of the patches I'm considering for 0.12 currently in staging. http://repo.or.cz/w/qemu/aliguori-queue.git I see you have my rng and size patches in there, thanks for the quick review! Is it too late to get the timer

Re: [Qemu-devel] Staging update (0.12 pending freeze)

2009-12-02 Thread Ian Molton
Anthony Liguori wrote: Ian Molton wrote: Actually, that patch would break a production environment. You cannot sleep in qemu. It will severely impact the guest. I refer to the version posted today, which doesnt sleep, but uses a timer instead. (or did I miss something and a callled function

Re: [Qemu-devel] Staging update (0.12 pending freeze)

2009-12-02 Thread Anthony Liguori
Luiz Capitulino wrote: On Wed, 02 Dec 2009 10:46:11 -0600 Anthony Liguori anth...@codemonkey.ws wrote: I've got all of the patches I'm considering for 0.12 currently in staging. I'm going to work through and test/commit these in a few chunks over the next few days before freezing the

Re: [Qemu-devel] Staging update (0.12 pending freeze)

2009-12-02 Thread Anthony Liguori
Ian Molton wrote: Anthony Liguori wrote: Ian Molton wrote: Actually, that patch would break a production environment. You cannot sleep in qemu. It will severely impact the guest. I refer to the version posted today, which doesnt sleep, but uses a timer instead. (or did I

Re: [Qemu-devel] Socket reconnection.

2009-12-02 Thread Anthony Liguori
Ian Molton wrote: Anthony Liguori wrote: sleep() in qemu is very, very wrong. It will pause the guest's execution and all sorts of badness can ensue. Quite... The right thing to do is set a timer and not generate data while disconnected. New patch attached, now with less

Re: [Qemu-devel] Staging update (0.12 pending freeze)

2009-12-02 Thread Luiz Capitulino
On Wed, 02 Dec 2009 13:54:20 -0600 Anthony Liguori anth...@codemonkey.ws wrote: Luiz Capitulino wrote: On Wed, 02 Dec 2009 10:46:11 -0600 Anthony Liguori anth...@codemonkey.ws wrote: I've got all of the patches I'm considering for 0.12 currently in staging. I'm going to work

[Qemu-devel] [PATCH] Socket reconnection take 2.

2009-12-02 Thread Ian Molton
Reposting as requested. hopefully t-brid doesnt whitespace-mangle it. Anthony Liguori wrote: sleep() in qemu is very, very wrong. It will pause the guest's execution and all sorts of badness can ensue. Quite... The right thing to do is set a timer and not generate data while

Re: [Qemu-devel] Unclear committer situation

2009-12-02 Thread Jan-Simon Möller
Am Mittwoch 02 Dezember 2009 09:54:04 schrieb Alexander Graf: Experience has shown that it doesn't work like that. It happens the person writing the patches never provides a fix, and the committer receives the complains, and in fine fixes the commit. Then revert the patch. I also think

Re: [Qemu-devel] Re: Unclear committer situation

2009-12-02 Thread Anthony Liguori
Jan Kiszka wrote: Artyom Tarasenko wrote: 2009/12/1 Alexander Graf ag...@suse.de: Hi, Could someone with commit rights please stand up to feel responsible for PPC? Usually, when I send a patch to qemu-devel, I know who to address to increase chances of it getting committed. For

[Qemu-devel] [PATCH] PPC: Get MMU state on register sync

2009-12-02 Thread Alexander Graf
While x86 only needs to sync cr0-4 to know all about its MMU state and enable qemu to resolve virtual to physical addresses, we need to sync all of the segment registers on PPC to know which mapping we're in. So let's grab the segment register contents to be able to use the x monitor command and

[Qemu-devel] [PATCH] PPC: Sync CPU state for KVM

2009-12-02 Thread Alexander Graf
Some recent change made PPC guests always start at address 0x0 because env isn't synced to kvm_state on first bootup. I'm not sure if this is the correct bugfix, but at least it makes PPC boot again with KVM enabled. Signed-off-by: Alexander Graf ag...@suse.de --- hw/ppc_newworld.c |4

RE: [Qemu-devel] Socket reconnection.

2009-12-02 Thread Krumme, Chris
Hello Ian, Pasting chunks, then commenting: +static int qemu_chr_sched_reconnect(TCPCharDriver *s) +{ +struct reconnect_list *new = qemu_malloc(sizeof(*new)); +struct timeval tv; + +if(!new) +return 1; Qemu_malloc will never return 0, so sched function can return void. +

[Qemu-devel] [PATCH] debugcon: support for debugging consoles (e.g. Bochs port 0xe9)

2009-12-02 Thread H. Peter Anvin
Add generic support for debugging consoles (simple I/O ports which when written to cause debugging output to be written to a target.) The current implementation matches Bochs' port 0xe9, allowing the same debugging code to be used for both Bochs and Qemu. There is no vm state associated with the

Re: [Qemu-devel] [PATCH] debugcon: support for debugging consoles (e.g. Bochs port 0xe9)

2009-12-02 Thread malc
On Wed, 2 Dec 2009, H. Peter Anvin wrote: Add generic support for debugging consoles (simple I/O ports which when written to cause debugging output to be written to a target.) The current implementation matches Bochs' port 0xe9, allowing the same debugging code to be used for both Bochs and

[Qemu-devel] [PATCH] debugcon: support for debugging consoles (e.g. Bochs port 0xe9)

2009-12-02 Thread H. Peter Anvin
Add generic support for debugging consoles (simple I/O ports which when written to cause debugging output to be written to a target.) The current implementation matches Bochs' port 0xe9, allowing the same debugging code to be used for both Bochs and Qemu. There is no vm state associated with the

[Qemu-devel] qustion about x86 sse insn lddqu

2009-12-02 Thread Hui Zhu
Hi, In qemu 0.11.0, it handle lddqu as: case 0x3f0: /* lddqu */ if (mod == 3) goto illegal_op; gen_lea_modrm(s, modrm, reg_addr, offset_addr); gen_sto_env_A0(s-mem_index, offsetof(CPUX86State,xmm_regs[reg])); break; It st the

[Qemu-devel] Re: [PATCH v2 0/11]

2009-12-02 Thread Gleb Natapov
On Wed, Dec 02, 2009 at 01:04:16PM +0100, Jan Kiszka wrote: Gleb Natapov wrote: On Tue, Dec 01, 2009 at 10:51:26AM -0200, Glauber Costa wrote: This is a repost of the -smp series. Note that it depends on irqchip-in-kernel, that is already in staging. Also, you'll have to enable the

<    1   2   3