freebsd 7.0 32-bit won't boot with kvm scsi

2008-09-30 Thread Sterling Windmill
I am attempting to get freebsd 7.0 32-bit running under kvm-76 and have been successful with the emulated ide interface and e1000 networking. When I try to use kvm's scsi interface, I am able to complete the freebsd install but get a bootloader message stating that the kernel cannot be found u

Re: installing kvm-76 on 2.6.24

2008-09-30 Thread Sterling Windmill
I am able to run kvm-76 after recompiling my kernel with DMAR unset. Thanks for the help! - Original Message - From: "Sheng Yang" <[EMAIL PROTECTED]> To: "Sterling Windmill" <[EMAIL PROTECTED]> Cc: "kvm" Sent: Monday, September 29, 2008 11:29:56 AM GMT -05:00 US/Canada Eastern Subje

Re: [PATCH 4/6 v3] PCI: support SR-IOV capability

2008-09-30 Thread Roland Dreier
> + ctrl = pci_ari_enabled(dev) ? PCI_IOV_CTRL_ARI : 0; > + pci_write_config_word(dev, pos + PCI_IOV_CTRL, ctrl); > + ssleep(1); You seem to sleep for 1 second wherever you write the IOV_CTRL register. Why is this? Is this specified by PCI, or is it coming from somewhere els

Re: [PATCH 4/6 v3] PCI: support SR-IOV capability

2008-09-30 Thread Alex Chiang
* Zhao, Yu <[EMAIL PROTECTED]>: > +/** > + * pci_iov_init - initialize device's SR-IOV capability > + * @dev: the PCI device > + * > + * Returns 0 on success, or negative on failure. > + * > + * The major differences between Virtual Function and PCI device are: > + * 1) the device with multiple bus

Re: [PATCH 3/6 v3] PCI: support ARI capability

2008-09-30 Thread Alex Chiang
* Zhao, Yu <[EMAIL PROTECTED]>: > Add Alternative Routing-ID Interpretation (ARI) support. > > Cc: Jesse Barnes <[EMAIL PROTECTED]> > Cc: Randy Dunlap <[EMAIL PROTECTED]> > Cc: Grant Grundler <[EMAIL PROTECTED]> > Cc: Alex Chiang <[EMAIL PROTECTED]> > Cc: Matthew Wilcox <[EMAIL PROTECTED]> > Cc: R

Re: [PATCH 0/2] --disable-kvm currently not working

2008-09-30 Thread Glauber Costa
On Tue, Sep 30, 2008 at 6:47 PM, Glauber Costa <[EMAIL PROTECTED]> wrote: > Current compilations with --disable-kvm are broken. > I'm spliting the fix in two patches for clearity. The first one > does some code movement in qemu-kvm-x86.c, while the other just > do fixes to the current code base. o

[PATCH 0/2] --disable-kvm currently not working

2008-09-30 Thread Glauber Costa
Current compilations with --disable-kvm are broken. I'm spliting the fix in two patches for clearity. The first one does some code movement in qemu-kvm-x86.c, while the other just do fixes to the current code base. -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a

[PATCH] provide a kvm_qemu_memory_alias() function

2008-09-30 Thread Glauber Costa
Following the pattern we already do, provide a qemu_kvm wrapper to the memory aliases x86 functions. Reason is that we don't want to have references to the context spread over qemu. The destroy alias function is completely removed from libkvm/libkvm.c, since no one in the code base uses it directl

[PATCH] fix compilation with --disable-kvm

2008-09-30 Thread Glauber Costa
Currently, kvm is failing to build with --disable-kvm. this patch fixes the issue. Signed-off-by: Glauber Costa <[EMAIL PROTECTED]> --- qemu/gdbstub.c | 15 ++- qemu/hw/acpi.c |6 +- qemu/hw/cirrus_vga.c |7 +++ qemu/monitor.c |6 -- 4 files

Re: [kvm] Re: [PATCH 0/5] bios: >4G updates

2008-09-30 Thread Alex Williamson
On Tue, 2008-09-30 at 19:46 +0300, Avi Kivity wrote: > Avi Kivity wrote: > > Okay, I think I have it -- the bios code was using .org to set > certain > > entry points to well known addresses, and one code section > overflowed > > due to enabling the cache, which is a kvm addition. Moving that >

Re: [Qemu-devel] [PATCH 2/3] kvm-userspace: kvmppc: fix hostlonbits detection when cross compiling v2

2008-09-30 Thread malc
On Tue, 30 Sep 2008, [EMAIL PROTECTED] wrote: From: Christian Ehrhardt <[EMAIL PROTECTED]> The commit message of r5364, the revision which basically exists because of your posts, was somehow butchered and as such doesn't include any references, i'm very sorry about that. The above line was th

Re: [kvm] [PATCH 1/4] kvm: bios: cleanup/consolidate above 4G memory parsing

2008-09-30 Thread Alex Williamson
kvm: bios: cleanup/consolidate above 4G memory parsing Signed-off-by: Alex Williamson <[EMAIL PROTECTED]> --- Updated for current HEAD after bochs bios re-base. The rest of the patches in this series still apply cleanly. bios/rombios32.c | 17 + 1 files changed, 9 insertions(

Re: [Qemu-devel] [PATCH 2/3] kvm-userspace: kvmppc: fix hostlonbits detection when cross compiling v2

2008-09-30 Thread malc
On Tue, 30 Sep 2008, [EMAIL PROTECTED] wrote: From: Christian Ehrhardt <[EMAIL PROTECTED]> *update* further debugging according to some requests revealed that ARCH_CFLAGS does not contain all CFLAGS that might be needed, especially those supplied via extra-cflags. Therefore people supplying thi

Re: [PATCH 9/9] x86/iommu: use dma_ops_list in get_dma_ops

2008-09-30 Thread Muli Ben-Yehuda
On Mon, Sep 29, 2008 at 03:33:11PM +0200, Joerg Roedel wrote: > > Nobody cares about the performance of dma_alloc_coherent. Only the > > performance of map_single/map_sg matters. > > > > I'm not sure how expensive the hypercalls are, but they are more > > expensive than bounce buffering coping lot

Re: [PATCH 6/9] x86/iommu: change Calgary to use dma_ops register interface

2008-09-30 Thread Muli Ben-Yehuda
On Tue, Sep 30, 2008 at 05:38:15PM +0200, Ingo Molnar wrote: > > * Muli Ben-Yehuda <[EMAIL PROTECTED]> wrote: > > > > > +static int calgary_device_supported(struct device *dev) > > > > +{ > > > > + return translation_enabled(find_iommu_table(dev)); > > > > +} > > > > Sure, but I prefer the

Re: [PATCH 00/14] Fix & enhance NMI support for KVM - v4

2008-09-30 Thread Avi Kivity
[EMAIL PROTECTED] wrote: Version 4 of this series includes the following fixes: - Handle NMI task gates (Gleb Natapov) - Clear internal NMI states on VCPU reset (Gleb Natapov) - Typo fixes and minor cleanups (Sheng Yang and /me) Hope we are now reaching a mergable state. Applied all, th

Re: [kvm] Re: [PATCH 0/5] bios: >4G updates

2008-09-30 Thread Avi Kivity
Avi Kivity wrote: Avi Kivity wrote: I tried to merge it, but it the new bios won't boot. I traced this to ata_reset: it toggles the soft reset bit in the command register and expects to see the busy bit set, but the ide device model returns zero status if the selected device has no drive.

[ kvm-Bugs-2138079 ] kvm locks up system

2008-09-30 Thread SourceForge.net
Bugs item #2138079, was opened at 2008-09-30 14:36 Message generated for change (Comment added) made by edwin128 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2138079&group_id=180599 Please note that this message will contain a full copy of the comment

Re: [PATCH 6/9] x86/iommu: change Calgary to use dma_ops register interface

2008-09-30 Thread Ingo Molnar
* Muli Ben-Yehuda <[EMAIL PROTECTED]> wrote: > > > +static int calgary_device_supported(struct device *dev) > > > +{ > > > + return translation_enabled(find_iommu_table(dev)); > > > +} > > Sure, but I prefer the explicit form since it lends itself to easier > debugging (oops line numbers, adding

Re: [PATCH 0/3] kvm-userspace: kvmppc: fix build for ppc v2

2008-09-30 Thread Hollis Blanchard
On Tue, 2008-09-30 at 08:36 +0200, [EMAIL PROTECTED] wrote: > From: Christian Ehrhardt <[EMAIL PROTECTED]> > > *update > Short after resending v1 I realized that I forgot to put Avi and > [EMAIL PROTECTED] (for 2/3) on cc. I also updated the header text in 1/3 a > bit and verified my hostlongbits

Re: [PATCH 2/3] kvm-userspace: kvmppc: fix hostlonbits detection when cross compiling v2

2008-09-30 Thread Hollis Blanchard
On Tue, 2008-09-30 at 11:10 +0200, [EMAIL PROTECTED] wrote: > diff --git a/qemu/configure b/qemu/configure > --- a/qemu/configure > +++ b/qemu/configure > @@ -685,14 +685,15 @@ > # ppc specific hostlongbits selection > if test "$cpu" = "powerpc" ; then > cat > $TMPC < -int main(void){return

[ kvm-Bugs-2138149 ] Allow acpi events be send to kvm guests from userspace

2008-09-30 Thread SourceForge.net
Bugs item #2138149, was opened at 2008-09-30 07:30 Message generated for change (Comment added) made by iggy_cav You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2138149&group_id=180599 Please note that this message will contain a full copy of the comment

[ kvm-Bugs-2138166 ] Vista guest fails to start on kvm-76

2008-09-30 Thread SourceForge.net
Bugs item #2138166, was opened at 2008-09-30 07:39 Message generated for change (Comment added) made by iggy_cav You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2138166&group_id=180599 Please note that this message will contain a full copy of the comment

Re: [PATCH] Make KVM compile on split source/object kernel configurations

2008-09-30 Thread Brian Jackson
Works for me with that patch... I don't know if it's working the way it's supposed to. I just have a build script that's always used that. If it doesn't work, maybe we should disable or remove it. On Monday 29 September 2008 5:00:29 pm Alexander Graf wrote: > On 29.09.2008, at 23:50, Brian Jac

Re: [kvm] Re: [PATCH 0/5] bios: >4G updates

2008-09-30 Thread Avi Kivity
Avi Kivity wrote: I tried to merge it, but it the new bios won't boot. I traced this to ata_reset: it toggles the soft reset bit in the command register and expects to see the busy bit set, but the ide device model returns zero status if the selected device has no drive. No idea if the dev

Re: [PATCH 6/9] x86/iommu: change Calgary to use dma_ops register interface

2008-09-30 Thread Muli Ben-Yehuda
On Tue, Sep 30, 2008 at 01:10:28PM +0200, Ingo Molnar wrote: > > * Joerg Roedel <[EMAIL PROTECTED]> wrote: > > > +static int calgary_device_supported(struct device *dev) > > +{ > > + struct iommu_table *tbl; > > + > > + tbl = find_iommu_table(dev); > > + > > + return translation_enabled(tbl

[ kvm-Bugs-2138166 ] Vista guest fails to start on kvm-76

2008-09-30 Thread SourceForge.net
Bugs item #2138166, was opened at 2008-09-30 08:39 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2138166&group_id=180599 Please note that this message will contain a full copy

[ kvm-Bugs-2138149 ] Allow acpi events be send to kvm guests from userspace

2008-09-30 Thread SourceForge.net
Bugs item #2138149, was opened at 2008-09-30 14:30 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2138149&group_id=180599 Please note that this message will contain a full copy

Re: [PATCH 6/9] x86/iommu: change Calgary to use dma_ops register interface

2008-09-30 Thread Joerg Roedel
On Tue, Sep 30, 2008 at 01:10:28PM +0200, Ingo Molnar wrote: > > * Joerg Roedel <[EMAIL PROTECTED]> wrote: > > > +static int calgary_device_supported(struct device *dev) > > +{ > > + struct iommu_table *tbl; > > + > > + tbl = find_iommu_table(dev); > > + > > + return translation_enabled(tbl

[ kvm-Bugs-2138079 ] kvm locks up system

2008-09-30 Thread SourceForge.net
Bugs item #2138079, was opened at 2008-09-30 14:36 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2138079&group_id=180599 Please note that this message will contain a full copy

Re: Windows 2003, virtio Ethernet and USB - Strange Interaction

2008-09-30 Thread Sven Rudolph
Laurent Vivier <[EMAIL PROTECTED]> writes: > Le mardi 30 septembre 2008 à 10:41 +0200, Sven Rudolph a écrit : >> Hello, >> >> I have an (as far as I understand it) complex problem. I just got some >> good debugging hints, so I tried some more things and reproduced the >> problem with recent KVM

Re: [PATCH 6/9] x86/iommu: change Calgary to use dma_ops register interface

2008-09-30 Thread Ingo Molnar
* Joerg Roedel <[EMAIL PROTECTED]> wrote: > +static int calgary_device_supported(struct device *dev) > +{ > + struct iommu_table *tbl; > + > + tbl = find_iommu_table(dev); > + > + return translation_enabled(tbl); > +} i guess this could be written as a simple: > +static int calgary_

Re: Windows 2003, virtio Ethernet and USB - Strange Interaction

2008-09-30 Thread Laurent Vivier
Le mardi 30 septembre 2008 à 10:41 +0200, Sven Rudolph a écrit : > Hello, > > I have an (as far as I understand it) complex problem. I just got some > good debugging hints, so I tried some more things and reproduced the > problem with recent KVM. > > I tested it now with kvm-76 (both kernel and u

Windows 2003, virtio Ethernet and USB - Strange Interaction

2008-09-30 Thread Sven Rudolph
Hello, I have an (as far as I understand it) complex problem. I just got some good debugging hints, so I tried some more things and reproduced the problem with recent KVM. I tested it now with kvm-76 (both kernel and userspace) with virtio Ethernet on Linux 2.6.27-rc7. The guest runs Windows Serv

[ kvm-Bugs-2137862 ] Linux kernels with CONFIG_KVM_GUEST are broken on kvm-76

2008-09-30 Thread SourceForge.net
Bugs item #2137862, was opened at 2008-09-30 12:36 Message generated for change (Settings changed) made by mzhidovinov You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2137862&group_id=180599 Please note that this message will contain a full copy of the co

[ kvm-Bugs-2137862 ] Linux kKernels with CONFIG_KVM_GUEST are broken on kvm-76

2008-09-30 Thread SourceForge.net
Bugs item #2137862, was opened at 2008-09-30 12:36 Message generated for change (Settings changed) made by mzhidovinov You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2137862&group_id=180599 Please note that this message will contain a full copy of the co

[ kvm-Bugs-2137862 ] Kernels with CONFIG_KVM_GUEST are broken on kvm-76

2008-09-30 Thread SourceForge.net
Bugs item #2137862, was opened at 2008-09-30 12:36 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2137862&group_id=180599 Please note that this message will contain a full copy

[PATCH 2/3] kvm-userspace: kvmppc: fix hostlonbits detection when cross compiling v2

2008-09-30 Thread ehrhardt
From: Christian Ehrhardt <[EMAIL PROTECTED]> *update* further debugging according to some requests revealed that ARCH_CFLAGS does not contain all CFLAGS that might be needed, especially those supplied via extra-cflags. Therefore people supplying things via extra-cflags instead of an environment va

[PATCH] KVM: x86: Silence various LAPIC-related host kernel messages

2008-09-30 Thread Jan Kiszka
KVM-x86 dumps a lot of debug messages that have no meaning for normal operation: - INIT de-assertion is ignored - SIPIs are sent and received - APIC writes are unaligned or < 4 byte long (Windows Server 2003 triggers this on SMP) Degrade them to true debug messages, keeping the host kernel l