Re: [PATCH 07/29] nVMX: Hold a vmcs02 for each vmcs12

2011-02-06 Thread Avi Kivity
On 02/03/2011 02:57 PM, Nadav Har'El wrote: On Sun, Jan 30, 2011, Avi Kivity wrote about Re: [PATCH 07/29] nVMX: Hold a vmcs02 for each vmcs12: .. +static int nested_create_current_vmcs(struct kvm_vcpu *vcpu) +{ ... + if (vmx-nested.vmcs02_num= NESTED_MAX_VMCS) + return

Re: [Qemu-devel] KVM: Windows 64-bit troubles with user space irqchip

2011-02-06 Thread Avi Kivity
On 02/03/2011 04:15 PM, Gleb Natapov wrote: Maybe this is true for the in-kernel model, but I don't see the issue (anymore) for the way user space works. With patch below I can boot Windows7. diff --git a/hw/apic.c b/hw/apic.c index 146deca..fdcac88 100644 --- a/hw/apic.c +++ b/hw/apic.c

Re: [Qemu-devel] KVM: Windows 64-bit troubles with user space irqchip

2011-02-06 Thread Gleb Natapov
On Sun, Feb 06, 2011 at 12:26:40PM +0200, Avi Kivity wrote: On 02/03/2011 04:15 PM, Gleb Natapov wrote: Maybe this is true for the in-kernel model, but I don't see the issue (anymore) for the way user space works. With patch below I can boot Windows7. diff --git a/hw/apic.c

Re: [PATCH 03/13] AMD IOMMU emulation

2011-02-06 Thread Michael S. Tsirkin
On Fri, Feb 04, 2011 at 01:32:57AM +0200, Eduard - Gabriel Munteanu wrote: This introduces emulation for the AMD IOMMU, described in AMD I/O Virtualization Technology (IOMMU) Specification. Signed-off-by: Eduard - Gabriel Munteanu eduard.munte...@linux360.ro --- Makefile.target |2 +-

Re: [PATCH 01/13] Generic DMA memory access interface

2011-02-06 Thread Michael S. Tsirkin
On Fri, Feb 04, 2011 at 01:32:55AM +0200, Eduard - Gabriel Munteanu wrote: This introduces replacements for memory access functions like cpu_physical_memory_read(). The new interface can handle address translation and access checking through an IOMMU. Signed-off-by: Eduard - Gabriel Munteanu

Re: [PATCH 04/13] ide: use the DMA memory access interface for PCI IDE controllers

2011-02-06 Thread Michael S. Tsirkin
On Fri, Feb 04, 2011 at 01:32:58AM +0200, Eduard - Gabriel Munteanu wrote: Emulated PCI IDE controllers now use the memory access interface. This also allows an emulated IOMMU to translate and check accesses. Map invalidation results in cancelling DMA transfers. Since the guest OS can't

Re: [PATCH 01/13] Generic DMA memory access interface

2011-02-06 Thread Michael S. Tsirkin
On Fri, Feb 04, 2011 at 01:32:55AM +0200, Eduard - Gabriel Munteanu wrote: This introduces replacements for memory access functions like cpu_physical_memory_read(). The new interface can handle address translation and access checking through an IOMMU. Signed-off-by: Eduard - Gabriel Munteanu

Re: [PATCH 2/3] AMD IOMMU support

2011-02-06 Thread Michael S. Tsirkin
On Fri, Feb 04, 2011 at 01:24:14AM +0200, Eduard - Gabriel Munteanu wrote: This initializes the AMD IOMMU and creates ACPI tables for it. Signed-off-by: Eduard - Gabriel Munteanu eduard.munte...@linux360.ro --- src/acpi.c | 84

Re: [PATCH 2/3] AMD IOMMU support

2011-02-06 Thread Eduard - Gabriel Munteanu
On Sun, Feb 06, 2011 at 01:47:57PM +0200, Michael S. Tsirkin wrote: On Fri, Feb 04, 2011 at 01:24:14AM +0200, Eduard - Gabriel Munteanu wrote: Hi, [snip] +/* + * IVRS (I/O Virtualization Reporting Structure) table. + * + * Describes the AMD IOMMU, as per: + * AMD I/O Virtualization

Re: [PATCH 2/3] AMD IOMMU support

2011-02-06 Thread Michael S. Tsirkin
On Sun, Feb 06, 2011 at 03:41:45PM +0200, Eduard - Gabriel Munteanu wrote: On Sun, Feb 06, 2011 at 01:47:57PM +0200, Michael S. Tsirkin wrote: On Fri, Feb 04, 2011 at 01:24:14AM +0200, Eduard - Gabriel Munteanu wrote: Hi, [snip] +/* + * IVRS (I/O Virtualization Reporting

Re: [SeaBIOS] IO APIC emulation failure with qemu-kvm

2011-02-06 Thread Avi Kivity
On 02/04/2011 03:58 PM, Jan Kiszka wrote: when i run my kernel image with qemu-kvm it gives emulation error failure trying to execute the code outside ROM or RAM at fec0(IO APIC base address) but the same code runs fine with qemu. can anyone please point me where might be the

[Bug 28402] New: MacOSX guest has SMP problem without -kvm-irqchip option

2011-02-06 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=28402 Summary: MacOSX guest has SMP problem without -kvm-irqchip option Product: Virtualization Version: unspecified Kernel Version: 2.6.38-rc3 Platform: All OS/Version: Linux

[Bug 28412] New: MacOSX guest has Ethernet card problem without -kvm-irqchip option

2011-02-06 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=28412 Summary: MacOSX guest has Ethernet card problem without -kvm-irqchip option Product: Virtualization Version: unspecified Kernel Version: 2.6.38-rc3 Platform: All

buildbot failure in kvm on ppc64

2011-02-06 Thread kvm
The Buildbot has detected a new failure of ppc64 on kvm. Full details are available at: http://buildbot.b1-systems.de/kvm/builders/ppc64/builds/85 Buildbot URL: http://buildbot.b1-systems.de/kvm/ Buildslave for this Build: b1_kvm_1 Build Reason: The Nightly scheduler named 'nightly_master'

[regression] KVM: hangs and irq timeout booting HURD unless -no-kvm-irqchip passed

2011-02-06 Thread Jonathan Nieder
Hi kvm-ers, When I boot the HURD with kvm -m 768 -net nic,model=ne2k_pci -net user hurd-installed.qemu it hangs and eventually produces two messages: hd0: unexpected_intr: status=0x58 { DriveReady SeekComplete DataRequest } hd0: irq timeout: status=0x58 { DriveReady