Questions about kvm-70

2008-07-06 Thread Slohm Gadaburi
Hi, I have some questions about kvm-70: 1. Can I use it without doing make install ? I don't want it to clash with my kvm ubuntu package. I plan to manually insmod its modules and then manually run qemu-system-x86_64. 2. qemu-system-x86_64 is created in the x86_64-softmmu folder. What does

kvm-70: bug: Unable to install GRUB in (hd0)

2008-07-06 Thread Slohm Gadaburi
Hi, Using kvm-70 a Hardy installation fails with the following message: Unable to install GRUB in (hd0) Executing 'grub-install (hd0)' failed This is a fatal error Any ideas ? Same installation with the kvm package bundled in hardy works fine. Thank you, Slohm. -- To unsubscribe from this

Re: [PATCH] x86 emulator: Update EIP even with instructions with no writeback

2008-07-06 Thread Avi Kivity
Mohammed Gamal wrote: This patch resolves the problem encountered with HLT emulation with FreeDOS's HIMEM XMS Driver. HLT is the only instruction that goes to the done label unconditionally, causing the EIP value not to be updated which leads to the guest looping forever on the same

Re: [PATCH] Consilidate test libs to libcflat for single lib for all arch

2008-07-06 Thread Avi Kivity
Jerone Young wrote: This patch lays the ground work for a sinlge libcflat library that can be used for x86. But this allows for other archs to share common code, and build a single archive for tests to use libcflat functions. Add Makefile and test changes required for x86 x86-64 to use

Re: uClibc compatibility or static linking support

2008-07-06 Thread Avi Kivity
Cristi Magherusan wrote: Hello, As part of my GSoC project I'm working to create a small coreboot payload containing a KVM-enabled Linux kernel and the KVM tools. This involves either compiling and linking KVM against uClibc, or making a static binary linked against glibc. Has anyone tried

[GIT PULL] KVM updates for 2.6.26-rc9

2008-07-06 Thread Avi Kivity
Linus, please pull the kvm fixes from the repo and branch at: git://git.kernel.org/pub/scm/linux/kernel/git/avi/kvm.git kvm-updates-2.6.26 adding a missing memory clobber to kvm hypercalls, which cause failures when running guests compiled with gcc 4.3.0, and fixing ioapic interrupt redelivery

Re: Bug Report: Live Migration - could someone help me

2008-07-06 Thread Uri Lublin
From: [EMAIL PROTECTED] on behalf of [EMAIL PROTECTED] I am trying the live migration function, but meet some problem: The guest OS was blocked (or maybe dead) on target machine. The symptom is I can not interact with the migrated OS after operation. I believe it's dead, because the mouse can't

Re: uClibc compatibility or static linking support

2008-07-06 Thread Cristi Magherusan
Hello, On Sun, 2008-07-06 at 11:02 +0300, Avi Kivity wrote: Cristi Magherusan wrote: Hello, As part of my GSoC project I'm working to create a small coreboot payload containing a KVM-enabled Linux kernel and the KVM tools. This involves either compiling and linking KVM against

[ANNOUNCE] kvm-autotest

2008-07-06 Thread Uri Lublin
Hello, We are happy to announce the availability of kvm-autotest, a test framework for KVM based on autotest. Naturally, the purpose is to make KVM stable, find/fix bugs faster and prevent regressions. It is to serve developers, to test if their new code breaks anything, as well as users,

[PATCH] KVM: PCIPT: VT-d support

2008-07-06 Thread Ben-Ami Yassour
From: Kay, Allen M [EMAIL PROTECTED] This patch includes the functions to support VT-d for passthrough devices. [Ben: fixed memory pinning] Signed-off-by: Kay, Allen M [EMAIL PROTECTED] Signed-off-by: Weidong Han [EMAIL PROTECTED] Signed-off-by: Ben-Ami Yassour [EMAIL PROTECTED] ---

Re: [PATCH] VT-d : changes to support KVM

2008-07-06 Thread Ben-Ami Yassour
On Sat, 2008-07-05 at 13:55 +0300, Avi Kivity wrote: Ben-Ami Yassour wrote: From: Kay, Allen M [EMAIL PROTECTED] This patch extends the VT-d driver to support KVM [Ben: fixed memory pinning] Signed-off-by: Kay, Allen M [EMAIL PROTECTED] Signed-off-by: Weidong Han [EMAIL PROTECTED]

[PATCH] VT-d : changes to support KVM

2008-07-06 Thread Ben-Ami Yassour
From: Kay, Allen M [EMAIL PROTECTED] This patch extends the VT-d driver to support KVM [Ben: fixed memory pinning] Signed-off-by: Kay, Allen M [EMAIL PROTECTED] Signed-off-by: Weidong Han [EMAIL PROTECTED] Signed-off-by: Ben-Ami Yassour [EMAIL PROTECTED] --- drivers/pci/dmar.c

Re: [PATCH] KVM: VMX: Add ept_sync_context in flush_tlb

2008-07-06 Thread Yang, Sheng
On Sunday 29 June 2008 18:09:20 Avi Kivity wrote: I see. Back to the patch, can't you replace vmx-eptp by construct_eptp(vcpu-arch.mmu.root_hpa)? Modified follow Avi's advice. Sorry for miss the mail... From 251b611f7e90833aa07184e69ffe133fbcd83c76 Mon Sep 17 00:00:00 2001 From: Sheng Yang

Re: [PATCH] KVM: VMX: Add ept_sync_context in flush_tlb

2008-07-06 Thread Avi Kivity
Yang, Sheng wrote: On Sunday 29 June 2008 18:09:20 Avi Kivity wrote: I see. Back to the patch, can't you replace vmx-eptp by construct_eptp(vcpu-arch.mmu.root_hpa)? Modified follow Avi's advice. Sorry for miss the mail... From 251b611f7e90833aa07184e69ffe133fbcd83c76 Mon Sep 17

Re: [kvm-devel] kvm somehow exempt from frequency scaling?

2008-07-06 Thread Avi Kivity
[Resurrecting old thread] David Abrahams wrote: on Tue Apr 10 2007, Michael Riepe michael-0QoEqw4nQxo-AT-public.gmane.org wrote: Hi! Avi Kivity wrote: Sounds like ondemand is broken. Maybe it only switches when the load rises in user space. With KVM, it appears in system

Re: [PATCH] x86 emulator: Update EIP even with instructions with no writeback

2008-07-06 Thread Mohammed Gamal
On Sun, Jul 6, 2008 at 10:51 AM, Avi Kivity [EMAIL PROTECTED] wrote: Mohammed Gamal wrote: This patch resolves the problem encountered with HLT emulation with FreeDOS's HIMEM XMS Driver. HLT is the only instruction that goes to the done label unconditionally, causing the EIP value not to be

Re: [PATCH] x86 emulator: Update EIP even with instructions with no writeback

2008-07-06 Thread Avi Kivity
Mohammed Gamal wrote: On Sun, Jul 6, 2008 at 10:51 AM, Avi Kivity [EMAIL PROTECTED] wrote: Mohammed Gamal wrote: This patch resolves the problem encountered with HLT emulation with FreeDOS's HIMEM XMS Driver. HLT is the only instruction that goes to the done label unconditionally,

Re: [PATCH] x86 emulator: Update EIP even with instructions with no writeback

2008-07-06 Thread Mohammed Gamal
On Sun, Jul 6, 2008 at 4:34 PM, Avi Kivity [EMAIL PROTECTED] wrote: Mohammed Gamal wrote: On Sun, Jul 6, 2008 at 10:51 AM, Avi Kivity [EMAIL PROTECTED] wrote: Mohammed Gamal wrote: This patch resolves the problem encountered with HLT emulation with FreeDOS's HIMEM XMS Driver. HLT is the

Re: [PATCH 1/4] KVM: Introduce kvm_set_irq to inject interrupts in guests

2008-07-06 Thread Ben-Ami Yassour
On Sat, 2008-07-05 at 14:05 +0300, Avi Kivity wrote: Amit Shah wrote: This function injects an interrupt into the guest given the kvm struct, the (guest) irq number and the interrupt level. Signed-off-by: Amit Shah [EMAIL PROTECTED] --- arch/x86/kvm/irq.c | 11 +++

Re: [PATCH] x86 emulator: Fix HLT instruction

2008-07-06 Thread Avi Kivity
Mohammed Gamal wrote: This patch fixes issue encountered with HLT instruction under FreeDOS's HIMEM XMS Driver. The HLT instruction jumped directly to the done label and skips updating the EIP value, therefore causing the guest to spin endlessly on the same instruction. The patch changes the

Re: [kvm-devel] kvm somehow exempt from frequency scaling?

2008-07-06 Thread David Abrahams
on Sun Jul 06 2008, Avi Kivity avi-AT-qumranet.com wrote: [Resurrecting old thread] David Abrahams wrote: on Tue Apr 10 2007, Michael Riepe michael-0QoEqw4nQxo-AT-public.gmane.org wrote: Hi! Avi Kivity wrote: Sounds like ondemand is broken. Maybe it only switches

[PATCH] KVM: check injected pic irq

2008-07-06 Thread Ben-Ami Yassour
check that an injected pic irq is between 0 and 15. Signed-off-by: Ben-Ami Yassour [EMAIL PROTECTED] --- arch/x86/kvm/i8259.c |6 -- arch/x86/kvm/irq.h |2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/arch/x86/kvm/i8259.c b/arch/x86/kvm/i8259.c index

Re: uClibc compatibility or static linking support

2008-07-06 Thread Avi Kivity
Cristi Magherusan wrote: Hello, On Sun, 2008-07-06 at 11:02 +0300, Avi Kivity wrote: Cristi Magherusan wrote: Hello, As part of my GSoC project I'm working to create a small coreboot payload containing a KVM-enabled Linux kernel and the KVM tools. This involves either compiling and

kvmtrace?

2008-07-06 Thread Jun Koi
Hi, Could anybody explain a bit about kvmtrace? I cannot find any doc on it anywhere. - Is there any short usage instruction for kvmtrace? - Which kind of data kvmtrace can collect? Many thanks, Jun -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to

RE: Bug Report: Live Migration - could someone help me

2008-07-06 Thread Chen_PeterK
Hi Uri: Thank you for your response. What is the command line you are using to start qemu/kvm on the source host and destination host ? What is the output of info migration monitor command sent to qemu/kvm running on the source ? I start my image with command: Source: qemu-kvm -hda

Re: kvm guest loops_per_jiffy miscalibration under host load

2008-07-06 Thread Anthony Liguori
Glauber Costa wrote: Marcelo Tosatti wrote: Hello, I have been discussing with Glauber and Gerd the problem where KVM guests miscalibrate loops_per_jiffy if there's sufficient load on the host. calibrate_delay_direct() failed to get a good estimate for loops_per_jiffy. Probably due to long