Re: [PATCH 1/3] kvm tools: Lock job_mutex before signalling

2011-05-01 Thread Pekka Enberg
On Sat, 2011-04-30 at 16:30 +0300, Sasha Levin wrote: Locking mutex before signalling to prevent unexpected scheduling. Signed-off-by: Sasha Levin levinsasha...@gmail.com Yeah, I think we need to do this but the changelog is not really adequate for this kind of change. Care to elaborate more

Re: [PATCH 1/3] kvm tools: Lock job_mutex before signalling

2011-05-01 Thread Sasha Levin
On Sun, 2011-05-01 at 10:10 +0300, Pekka Enberg wrote: On Sat, 2011-04-30 at 16:30 +0300, Sasha Levin wrote: Locking mutex before signalling to prevent unexpected scheduling. Signed-off-by: Sasha Levin levinsasha...@gmail.com Yeah, I think we need to do this but the changelog is not

Re: [RFC PATCH 3/3] KVM: MMU: Optimize guest page table walk

2011-05-01 Thread Avi Kivity
On 04/29/2011 07:05 PM, Andi Kleen wrote: Do you think the following case would not differ so much from (1' 2') ? walk_addr_generic() ---1'' copy_from_user() ---2'' Yes it should be the same and is cleaner. If you do a make .../foo.i and look at the code

[PATCH 0/6] KVM: x86 emulator: Unused opt removal and some cleanups

2011-05-01 Thread Takuya Yoshikawa
Patches 0-4: Just remove unused opt Patch 5: grpX emulation cleanup Patch 6: jmp far emulation cleanup Some functions introduced in patch 5/6 will be called by opcode::execute later. Takuya -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to

[PATCH 1/6] KVM: x86 emulator: Remove unused opt from seg_override()

2011-05-01 Thread Takuya Yoshikawa
From: Takuya Yoshikawa yoshikawa.tak...@oss.ntt.co.jp In addition, one comma at the end of a statement is replaced with a semicolon. Signed-off-by: Takuya Yoshikawa yoshikawa.tak...@oss.ntt.co.jp --- arch/x86/kvm/emulate.c |7 +++ 1 files changed, 3 insertions(+), 4 deletions(-) diff

[PATCH 2/6] KVM: x86 emulator: Remove unused opt from read_descriptor()

2011-05-01 Thread Takuya Yoshikawa
From: Takuya Yoshikawa yoshikawa.tak...@oss.ntt.co.jp Signed-off-by: Takuya Yoshikawa yoshikawa.tak...@oss.ntt.co.jp --- arch/x86/kvm/emulate.c |8 +++- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c index 1545092..72b268e

[PATCH 3/6] KVM: x86 emulator: Remove unused opt from writeback()

2011-05-01 Thread Takuya Yoshikawa
From: Takuya Yoshikawa yoshikawa.tak...@oss.ntt.co.jp Remove inline at this chance. Signed-off-by: Takuya Yoshikawa yoshikawa.tak...@oss.ntt.co.jp --- arch/x86/kvm/emulate.c |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/x86/kvm/emulate.c

[PATCH 5/6] KVM: x86 emulator: Rename emulate_grpX() to em_grpX()

2011-05-01 Thread Takuya Yoshikawa
From: Takuya Yoshikawa yoshikawa.tak...@oss.ntt.co.jp The prototypes are changed appropriately. We also replaces goto grp45; with simple em_grp45() call. Signed-off-by: Takuya Yoshikawa yoshikawa.tak...@oss.ntt.co.jp --- arch/x86/kvm/emulate.c | 31 +++ 1 files

[PATCH 6/6] KVM: x86 emulator: Make jmp far emulation into a separate function

2011-05-01 Thread Takuya Yoshikawa
From: Takuya Yoshikawa yoshikawa.tak...@oss.ntt.co.jp We introduce em_jmp_far(). We also call this from em_grp45() to stop treating modrm_reg == 5 case separately in the group 5 emulation. Signed-off-by: Takuya Yoshikawa yoshikawa.tak...@oss.ntt.co.jp --- arch/x86/kvm/emulate.c | 36

Re: update from 0.12.5 to 0.14 goes headless

2011-05-01 Thread Michael Tokarev
30.04.2011 16:24, Jerry Geis wrote: After updating when I start up no I am headless. How do I get headed back by default? my command is: qemu-system-x86_64 -net nic,model=rtl8139 -net user -hda $1 -no-acpi -m 2048 -usb $2 $3 $4 $5 $6 -vga std This works for me just fine with 0.14 - it

Re: [RFC PATCH 3/3] KVM: MMU: Optimize guest page table walk

2011-05-01 Thread Andi Kleen
Ok it looks like the 32bit kernel only handles 1/2/4. Maybe that was the problem if you ran on 32bit. I'm happy with a slower copy_from_user() for that particular case. It wouldn't be hard to fix. -Andi -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a

Re: State of stable 2.6.38 queue

2011-05-01 Thread Marcelo Tosatti
On Sat, Apr 30, 2011 at 01:09:31PM +0200, Jan Kiszka wrote: Hi, as I was about to update kvm-kmod-2.6.38, I checked for KVM changes since 2.6.38-rc7 which kvm-kmod is currently based on - none. That surprised as the update queue is non-empty. Was something lost on the way to stable, or are

Livebackup feature for qemu/qemu-kvm

2011-05-01 Thread Jagane Sundar
Hello All, I have been working on a feature called Livebackup for qemu-kvm (actually it is applicable to qemu). This is a feature that enables a system administrator or a backup program to take full and incremental backups of running VMs. It is explained in more detail here: