[Qemu-devel] 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 Report

[Qemu-devel] 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 Virtu

[Qemu-devel] 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 > --- > src/acpi.c | 84 > > src/config.h |

[Qemu-devel] [Bug 498107] Re: www.qemu.org and www.nongnu.org/qemu have a lot of bugs

2011-02-06 Thread rowa
Differences between "man qemu" and "qemu --help": -net tap -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/498107 Title: www.qemu.org and www.nongnu.org/qemu have a lot of bugs Status in QEMU: Ne

[Qemu-devel] [Bug 498107] Re: www.qemu.org and www.nongnu.org/qemu have a lot of bugs

2011-02-06 Thread rowa
A lot "TODO" qemu --help: -net tap[,vlan=n][,name=str][,fd=h][,ifname=name][,script=file][,downscript=dfile][,sndbuf=nbytes] qemu-doc.html: -net tap[,vlan=n][,name=name][,fd=h][,ifname=name] [,script=file][,downscript=dfile] only in qemu-doc.html: -trace (qemu) trace-event (qemu) trace-f

[Qemu-devel] 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 Munt

[Qemu-devel] 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

[Qemu-devel] 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 Munt

[Qemu-devel] 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 > --- > Makefile.target |2 +- > hw/amd_iommu.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/

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

[Qemu-devel] [PATCH] correctly check ppr priority during interrupt injection

2011-02-06 Thread Gleb Natapov
TPR blocks all interrupts in a priority class, so simple "less or equal" check is not enough. Signed-off-by: Gleb Natapov diff --git a/hw/apic.c b/hw/apic.c index 2f8376a..cbac75d 100644 --- a/hw/apic.c +++ b/hw/apic.c @@ -372,19 +372,33 @@ static int apic_get_arb_pri(APICState *s) return 0