Dor Laor wrote:
On Wed, 2008-04-09 at 17:26 +0800, Yunfeng Zhao wrote:
Hi,
I meet problem to get hugetlbfs work on my test box.
If i added --mem-path to qemu, the guest will always fail to boot with
the error messages below printed on qemu console:
This patchset introduces PCI passthrough support for KVM.
This has been tested with an Ethernet device. The device is
seen in the guest and interrupts are generated. However, no
data transfer can take place unless pvdma or reserved-ram
is used. The patches for pvdma will be available shortly.
We can assign a device from the host machine to a guest.
A new command-line option, -pcidevice is added.
For example, to invoke it for an Ethernet device sitting at
PCI bus:dev.fn 04:08.0 with host IRQ 18, use this:
-pcidevice Ethernet/04:08.0-18
The host ethernet driver is to be removed before
Passthrough devices are host machine PCI devices which have
been handed off to the guest. Handle interrupts from these
devices and route them to the appropriate guest irq lines.
The userspace provides us with the necessary information
via the ioctls.
The guest IRQ numbers can change dynamically,
Signed-off-by: Amit Shah [EMAIL PROTECTED]
---
virt/kvm/ioapic.c |2 +-
virt/kvm/ioapic.h |1 +
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/virt/kvm/ioapic.c b/virt/kvm/ioapic.c
index 4232fd7..c5e776a 100644
--- a/virt/kvm/ioapic.c
+++ b/virt/kvm/ioapic.c
@@ -268,7
This patchset introduces PCI passthrough support for KVM.
This has been tested with an Ethernet device. The device is
seen in the guest and interrupts are generated. However, no
data transfer can take place unless pvdma or reserved-ram
is used. The patches for pvdma will be available shortly.
* On Wednesday 09 Apr 2008 17:41:10 Glauber Costa wrote:
Amit Shah wrote:
* On Tuesday 08 April 2008 22:34:36 Glauber Costa wrote:
Instead of artificially limiting irq numbers, use arch provided NR_IRQS
Signed-off-by: Glauber Costa [EMAIL PROTECTED]
Thanks, applied.
Going forward,
Hi all,
I've recently read about swiftshader, a software 3d renderer for windows.
I tested this on my virtual windows install and the demo's are looking good.
This may not be perfect, but is should allow to play a simple 3d game
inside kvm.
http://www.transgaming.com/products/swiftshader/
On Thu, 2008-04-10 at 14:14 +0900, Jun Koi wrote:
On 4/10/08, Jorge Lucángeli Obes [EMAIL PROTECTED] wrote:
On Thu, Apr 10, 2008 at 12:59 AM, Jun Koi [EMAIL PROTECTED] wrote:
Now I succesfully installed 2.6.25-rc8, and virtio block device works
well. But from inside my VM, how can I
On Mon, 07 Apr 2008 15:53:31 -0500
Hollis Blanchard [EMAIL PROTECTED] wrote:
Implement initial support for KVM for PowerPC 440. There are just two small
prerequisite patches, and then the bulk of the code can't be split easily.
Please review; I would like to submit these for 2.6.26. There is
The compilation of kvm-userspace part fails if the in-kernel pit is not
detected in linux/kvm.h with the following error message:
pc.o: In function `pc_init1':
/home/jroedel/src/kvm/kvm-userspace/qemu/hw/pc.c:987: undefined reference to
`kvm_pit_init'
collect2: ld returned 1 exit status
This
Il giorno 09/apr/08, alle ore 15:27, Felix Leimbach ha scritto:
On 09.04.2008 Davide D'Amico wrote:
I have a Windows 2003 32 bit guest that hangs up (i.e. not
responding anymore)
Hi Davide,
I had very similar problems (details in [1]) which were solved by
upgrading to host's kernel
On Mon, 07 Apr 2008 15:53:32 -0500
Hollis Blanchard [EMAIL PROTECTED] wrote:
1 file changed, 2 insertions(+)
include/asm-powerpc/mmu-44x.h |2 ++
PowerPC 440 KVM needs to know how many TLB entries are used for the host
kernel
linear mapping (it does not modify these mappings when
Timers that fire between guest hlt and vcpu_block's add_wait_queue() are
ignored, possibly resulting in hangs.
Also make sure that atomic_inc and waitqueue_active tests happen in the
specified order, otherwise the following race is open:
CPU0CPU1
--
-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
There is a window open between testing of pending IRQ's
and assignment of guest_mode in __vcpu_run.
Injection of IRQ's can race with __vcpu_run as follows:
CPU0CPU1
kvm_x86_ops-run()
vcpu-guest_mode = 0SET_IRQ_LINE ioctl
..
1 file changed, 3 deletions(-)
qemu/hw/ppc440_bamboo.c |3 ---
This patch removes the call to kvm_load_registers while in board platform setup
code. This must now be done later in vcpu initialization.
Signed-off-by: Jerone Young [EMAIL PROTECTED]
diff --git a/qemu/hw/ppc440_bamboo.c
1 file changed, 5 insertions(+)
qemu/qemu-kvm.c |5 +
This patch adds a call to load_kvm_registers after creation of vcpu. This is
required for ppc since we are required to set certain registers before boot.
This should not have any effect on the curren x86 code (though I need to test
These patches fix issue with brining up bamboo board model for PowerPC. We need
to load certain registers in the first vcp preboot.
I have not tested this on x86, but it should work without issue. Does anyone
not like this being where it is?
2 files changed, 5 insertions(+), 3 deletions(-)
On Thu, 2008-04-10 at 18:35 -0300, Marcelo Tosatti wrote:
On Thu, Apr 10, 2008 at 04:04:47PM -0500, Jerone Young wrote:
1 file changed, 5 insertions(+)
qemu/qemu-kvm.c |5 +
This patch adds a call to load_kvm_registers after creation of
vcpu. This is required for ppc since we
1 file changed, 1 deletion(-)
qemu/qemu-kvm.c |1 -
kvm_qemu_init is called in ap_main_loop() , when ap_main_loop() calls
kvm_main_loop_cpu(), kvm_qemu_init() is run for a second time. It should only
be called in kvm_main_loop_cpu().
Signed-off-by: Jerone Young [EMAIL PROTECTED]
~
diff
1 file changed, 6 insertions(+)
qemu/qemu-kvm-powerpc.c |6 ++
This patch adds a call to load_kvm_registers after creation of vcpu. This is
required for ppc since we are required to set certain registers before boot.
Signed-off-by: Jerone Young [EMAIL PROTECTED]
diff --git
So this now moves code away from common code to arch specific
kvm_qemu_arch_init(). Also added is a removal of duplicate calls to
kvm_qemu_init_env() in common code.
Signed-off-by: Jerone Young [EMAIL PROTECTED]
3 files changed, 6 insertions(+), 4 deletions(-)
qemu/hw/ppc440_bamboo.c |3
Joerg Roedel wrote:
The compilation of kvm-userspace part fails if the in-kernel pit is not
detected in linux/kvm.h with the following error message:
pc.o: In function `pc_init1':
/home/jroedel/src/kvm/kvm-userspace/qemu/hw/pc.c:987: undefined reference to
`kvm_pit_init'
collect2: ld
Joerg Roedel wrote:
This patchset implements proper MCE handling for SVM in the KVM hypervisor.
Currently KVM does not set CR4.MCE when it runs the guest. When a MCE
condition
occurs while the guest is running the exception gets lost. This may result in
data corruption or other undefined
Liu, Eric E wrote:
Hi, Avi and all
According to your comments from V2, I work out the new patchsets
of kvm trace. Please help to review, Thanks.
In this version, fix the issues you pointed out and add a new ioctl
PAUSE to make user space app better to control trace stream.
Hope it is
Marcelo Tosatti wrote:
On Wed, Apr 09, 2008 at 12:59:50AM +0300, Avi Kivity wrote:
Marcelo Tosatti wrote:
Avi, I prefer not to fold mpstate into kvm_save_registers() as a hidden
register because the MPSTATE is only used during migration, whereas
save_registers() is not (seems
Marcelo Tosatti wrote:
/*
* ioctls for VM fds
@@ -340,5 +341,7 @@ struct kvm_s390_interrupt {
#define KVM_S390_SET_INITIAL_PSW _IOW(KVMIO, 0x96, struct kvm_s390_psw)
/* initial reset for s390 */
#define KVM_S390_INITIAL_RESET_IO(KVMIO, 0x97)
+#define KVM_GET_MP_STATE
When I use the vmwarevga option I get the following error:
kvm: get_dirty_pages returned -2
This is the same error that used to occur with -std-vga. Is this a known
issue?
Mark Bidewell
-
This SF.net email is sponsored by
Joerg Roedel wrote:
The compilation of kvm-userspace part fails if the in-kernel pit is not
detected in linux/kvm.h with the following error message:
pc.o: In function `pc_init1':
/home/jroedel/src/kvm/kvm-userspace/qemu/hw/pc.c:987: undefined reference to
`kvm_pit_init'
collect2: ld
30 matches
Mail list logo