[kvm-devel] [PATCH] [ACPI] Enable direct GSI mapping for APIC v2

2008-05-15 Thread Alexander Graf
currently all devices sit on two interrupt lanes. More importantly (for me) though, is that Darwin enables the APIC mode unconditionally, so it won't easily run in legacy mode. Regards, Alex Signed-off-by: Alexander Graf <[EMAIL PROTECTED]> diff --git a/bios/acpi-dsdt.dsl b/bios/ac

[kvm-devel] [PATCH] [ACPI] Enable _SUN in Slot devices v2

2008-05-15 Thread Alexander Graf
need this, but Darwin does. This patch adds the corresponding _SUN entries to the PCI slot definitions. Regards, Alex Signed-off-by: Alexander Graf <[EMAIL PROTECTED]> diff --git a/bios/acpi-dsdt.dsl b/bios/acpi-dsdt.dsl index d2e33f4..f718b2e 100755 --- a/bios/acpi-dsdt.dsl +++ b/bio

Re: [kvm-devel] [PATCH] fixup 3dnow! support

2008-05-07 Thread Alexander Graf
Avi Kivity wrote: > Who's Dao? Do you mean Dan Phew I'm so really bad at remembering names, sorry about that. I was actually talking about Dan Kenigsberg, who apparently did patches to use the "new" cpuid interface some time ago.

Re: [kvm-devel] [PATCH] fixup 3dnow! support

2008-05-06 Thread Alexander Graf
On May 6, 2008, at 6:27 PM, Glauber Costa wrote: > qemu recently added support for 3dnow instructions. Because of > that, 3dnow will be featured among cpuid bits. But this will > break kvm in cpus that don't have those instructions (which includes > my laptop). So we fixup our cpuid before exposi

Re: [kvm-devel] [patch 0/3] QEMU/KVM: add support for 128 PCI slots (v2)

2008-05-05 Thread Alexander Graf
On May 4, 2008, at 9:56 AM, Avi Kivity wrote: > Marcelo Tosatti wrote: >> Add three PCI bridges to support 128 slots. >> >> Changes since v1: >> - Remove I/O address range "support" (so standard PCI I/O space is >> used). >> - Verify that there's no special quirks for 82801 PCI bridge. >> - Int

Re: [kvm-devel] [patch 0/3] QEMU/KVM: add support for 128 PCI slots (v2)

2008-05-05 Thread Alexander Graf
On May 4, 2008, at 9:56 AM, Avi Kivity wrote: > Marcelo Tosatti wrote: >> Add three PCI bridges to support 128 slots. >> >> Changes since v1: >> - Remove I/O address range "support" (so standard PCI I/O space is >> used). >> - Verify that there's no special quirks for 82801 PCI bridge. >> - Int

Re: [kvm-devel] [patch 1/3] QEMU/KVM: add 3 PCI bridges to ACPI table

2008-05-03 Thread Alexander Graf
On May 2, 2008, at 7:35 PM, Marcelo Tosatti wrote: > Add 3 PCI bridges to the ACPI table: > - Move IRQ routing, slot device and GPE processing to separate files > which can be included from acpi-dsdt.dsl. > - Add _SUN methods to every slot device so as to avoid collisions > in OS handling. > - Fix

Re: [kvm-devel] [PATCH] [ACPI] Enable direct GSI mapping for APIC

2008-05-03 Thread Alexander Graf
On May 2, 2008, at 5:35 PM, Marcelo Tosatti wrote: > On Fri, May 02, 2008 at 04:55:24PM +0200, Alexander Graf wrote: >> Hi, >> >> in the DSDT there are two different ways of defining, how an >> interrupt >> is supposed to be routed. Currently we are using the

[kvm-devel] [PATCH] [ACPI] Enable _SUN in Slot devices

2008-05-02 Thread Alexander Graf
Hi, a patch recently introduced PCI device hotplugging. This added pseudo-buses for every PCI slot, so that each device can be easily ejected any time. The ACPI specification recommends the inclusion of a _SUN entry in these though, to enable proper indexation of the slots. Afaict Linux does

[kvm-devel] [PATCH] [ACPI] Enable direct GSI mapping for APIC

2008-05-02 Thread Alexander Graf
Hi, in the DSDT there are two different ways of defining, how an interrupt is supposed to be routed. Currently we are using the LNKA - LNKD method, which afaict is for legacy support. The other method is to directly tell the Operating System, which APIC pin the device is attached to. We can ge

Re: [kvm-devel] QEMU/KVM [RFC]: add support for 128 PCI slots

2008-04-25 Thread Alexander Graf
On Apr 25, 2008, at 10:39 PM, Marcelo Tosatti wrote: > On Fri, Apr 25, 2008 at 11:38:21AM +0200, Alexander Graf wrote: >> >> On Apr 25, 2008, at 3:01 AM, Marcelo Tosatti wrote: >> >>> >>> Add three PCI bridges to support 128 slots. Vendor and device_id &g

Re: [kvm-devel] [Qemu-devel] Re: [RFC] linuxboot Option ROM for Linux kernel booting

2008-04-22 Thread Alexander Graf
I believe that's the way to go. If you have spare time on your hands, feel free to integrate my multiboot patches as well. Alex On Apr 22, 2008, at 11:07 AM, Nguyen Anh Quynh wrote: > Hi, > > I am thinking about comibing this ROM with the extboot. Both two ROM > are about "booting", so I think

Re: [kvm-devel] [PATCH] gfxboot VMX workaround v2

2008-04-07 Thread Alexander Graf
On Apr 7, 2008, at 6:51 PM, Anthony Liguori wrote: > Alexander Graf wrote: >> >> On Apr 7, 2008, at 6:05 PM, Anthony Liguori wrote: >> >>> Alexander Graf wrote: >>>> Hi, >>>> >>>> this is an improved version of the patch I sen

Re: [kvm-devel] [PATCH] gfxboot VMX workaround v2

2008-04-07 Thread Alexander Graf
On Apr 7, 2008, at 6:05 PM, Anthony Liguori wrote: > Alexander Graf wrote: >> Hi, >> >> this is an improved version of the patch I sent several weeks ago to >> this list. Functionally nothing changed; it still hacks into >> gfxboot and >> patches it to

[kvm-devel] [PATCH] gfxboot VMX workaround v2

2008-04-07 Thread Alexander Graf
Hi, this is an improved version of the patch I sent several weeks ago to this list. Functionally nothing changed; it still hacks into gfxboot and patches it to work on Intel CPUs on the fly. The big difference is that this version is cleaned up and should work with every future CPU available. Ple

Re: [kvm-devel] [kvm-ppc-devel] virtio-net working on PowerPC KVM

2008-03-31 Thread Alexander Graf
On Mar 31, 2008, at 9:43 AM, Avi Kivity wrote: > Alexander Graf wrote: >> >> I am experiencing 7-8ms ping latencies (native 0.1ms) on x86_64 as >> well, when pinging the virtual machine. Maybe it's not related to >> PowerPC? Is it supposed to be that slow? &

Re: [kvm-devel] [kvm-ppc-devel] virtio-net working on PowerPC KVM

2008-03-31 Thread Alexander Graf
On Mar 31, 2008, at 6:52 AM, Christian Ehrhardt wrote: > Avi Kivity wrote: >> Hollis Blanchard wrote: >>> I'm pleased to report that we now have working network support in >>> the >>> guest, via the virtio-net driver. In fact, we can use NFS for the >>> guest's root filesystem. :) Boot log atta

Re: [kvm-devel] BUG: linux guest with paravirt support thinks it boots on bare hardware

2008-03-30 Thread Alexander Graf
On Mar 30, 2008, at 9:44 PM, Anthony Liguori wrote: > Felix Leimbach wrote: >> While testing the new virtio drivers in linux-2.6.25 my test >> 2.6.25-rc7-git5 guest with paravirt support running in KVM-64 >> thinks it >> sits on cold and unfriendly bare metal instead of a safe and cosy KVM >> b

Re: [kvm-devel] hugetlbfs not working

2008-03-27 Thread Alexander Graf
On Mar 27, 2008, at 4:19 PM, Avi Kivity wrote: > Alexander Graf wrote: >> Hi, >> >> I'm currently trying to get hugetlbfs working on the current git >> version and am quite puzzled to see it not working. It appears as >> if the ftruncate call fails:

[kvm-devel] hugetlbfs not working

2008-03-27 Thread Alexander Graf
Hi, I'm currently trying to get hugetlbfs working on the current git version and am quite puzzled to see it not working. It appears as if the ftruncate call fails: open("/dev/hugetlbfs//kvm.vI3G8z", O_RDWR|O_CREAT|O_EXCL, 0600) = 7 unlink("/dev/hugetlbfs//kvm.vI3G8z")= 0 ftruncate(7, 1572

Re: [kvm-devel] KVM-61/62 build fails on SLES 10

2008-03-02 Thread Alexander Graf
On Mar 2, 2008, at 12:31 PM, Alexey Eremenko wrote: Well, There is a patch, that may help. It must be applied against clean KVM-61 (maybe it works with 62). Must be applied vs. KVM kernel-space Makefile. # cd kvm-61/kernel/ # patch -p1 < kvm-susekernel.patch # ./configure # make # make insta

Re: [kvm-devel] [kvm-ppc-devel] Top level kvm-userspace directory getting crowded ... need new dir for qemu dependencies

2008-02-27 Thread Alexander Graf
On Feb 27, 2008, at 11:19 PM, Hollis Blanchard wrote: > On Wed, 2008-02-27 at 22:20 +0100, Alexander Graf wrote: >> On Feb 27, 2008, at 9:22 PM, Hollis Blanchard wrote: >>> >>> So again, we the potential users are qemu and dtc. >> >> Just while reading th

Re: [kvm-devel] [kvm-ppc-devel] Top level kvm-userspace directory getting crowded ... need new dir for qemu dependencies

2008-02-27 Thread Alexander Graf
On Feb 27, 2008, at 9:22 PM, Hollis Blanchard wrote: > On Wed, 2008-02-27 at 20:18 +0100, Alexander Graf wrote: >> On Feb 27, 2008, at 7:56 PM, Hollis Blanchard wrote: >> >>> On Wed, 2008-02-27 at 17:48 +0100, Alexander Graf wrote: >>>> On Feb 27

Re: [kvm-devel] Top level kvm-userspace directory getting crowded ... need new dir for qemu dependencies

2008-02-27 Thread Alexander Graf
On Feb 27, 2008, at 7:56 PM, Hollis Blanchard wrote: > On Wed, 2008-02-27 at 17:48 +0100, Alexander Graf wrote: >> On Feb 27, 2008, at 5:34 PM, Avi Kivity wrote: >> >>> Hollis Blanchard wrote: >>>> It is a centrally co-ordinated effort, but it is not a packag

Re: [kvm-devel] Top level kvm-userspace directory getting crowded ... need new dir for qemu dependencies

2008-02-27 Thread Alexander Graf
On Feb 27, 2008, at 5:59 PM, Avi Kivity wrote: > Alexander Graf wrote: >>> >>> A static library + headers (i.e. libfdt-devel.rpm) could have been >>> used, though Linux avoids external dependencies. >>> >> >> Why don't you try to talk t

Re: [kvm-devel] Top level kvm-userspace directory getting crowded ... need new dir for qemu dependencies

2008-02-27 Thread Alexander Graf
On Feb 27, 2008, at 5:34 PM, Avi Kivity wrote: > Hollis Blanchard wrote: >> It is a centrally co-ordinated effort, but it is not a package a >> distro >> would carry. It is code shared by anything that needs to load a >> PowerPC >> Linux kernel, for example: the kernel bootwrapper (part of th

Re: [kvm-devel] [PATCH 4/15] mark processors as presents

2008-02-26 Thread Alexander Graf
On Feb 27, 2008, at 12:05 AM, Alexander Graf wrote: > > On Feb 26, 2008, at 8:56 PM, Glauber Costa wrote: > >> mark processors as present through the _STA method >> >> Signed-off-by: Glauber Costa <[EMAIL PROTECTED]> >> --- >> bios/acpi-dsdt.dsl |

Re: [kvm-devel] [PATCH 4/15] mark processors as presents

2008-02-26 Thread Alexander Graf
On Feb 26, 2008, at 8:56 PM, Glauber Costa wrote: > mark processors as present through the _STA method > > Signed-off-by: Glauber Costa <[EMAIL PROTECTED]> > --- > bios/acpi-dsdt.dsl | 18 ++ > 1 files changed, 18 insertions(+), 0 deletions(-) > > diff --git a/bios/acpi-dsdt.dsl

Re: [kvm-devel] KVM Test result, kernel 81e4400.., userspace 08385e4.. , One new issue

2008-02-25 Thread Alexander Graf
On Feb 25, 2008, at 6:40 PM, Avi Kivity wrote: > Alexander Graf wrote: >> >> The ebx store was done because of PIC code, which does not allow >> ebx to get clobbered. If we are not in PIC code, =r contains ebx as >> GPR though, so the assumption that ebx needs to

[kvm-devel] [PATCH] fix CPUID handling

2008-02-25 Thread Alexander Graf
So this is a new version of the same patch. It should be rather safe now, as most cases are handled by gcc. Signed-off-by: Alexander Graf <[EMAIL PROTECTED]> diff --git a/qemu/qemu-kvm-x86.c b/qemu/qemu-kvm-x86.c index 37354fb..3062d1b 100644 --- a/qemu/qemu-kvm-x86.c +++ b/qemu/qemu-kvm

Re: [kvm-devel] KVM Test result, kernel 81e4400.., userspace 08385e4.. , One new issue

2008-02-25 Thread Alexander Graf
On Feb 25, 2008, at 11:45 AM, Avi Kivity wrote: Alexander Graf wrote: On Feb 25, 2008, at 10:34 AM, Avi Kivity wrote: Yang, Sheng wrote: On Monday 25 February 2008 16:41:25 Zhao, Yunfeng wrote: Hi, all, This is today's KVM test result against kv

Re: [kvm-devel] gfxboot disable

2008-02-25 Thread Alexander R
you may try disable gfxboot by quickly pressing Shift key when you start your guest OS. (very quickly) On 2/23/08, Anthony Liguori <[EMAIL PROTECTED]> wrote: > > [EMAIL PROTECTED] wrote: > > > I looked for a gz o bz archive. Is there a tarball with gfxboot > > disable program (URL)? > > > I'm not

Re: [kvm-devel] KVM Test result, kernel 81e4400.., userspace 08385e4.. , One new issue

2008-02-25 Thread Alexander Graf
On Feb 25, 2008, at 10:34 AM, Avi Kivity wrote: Yang, Sheng wrote: On Monday 25 February 2008 16:41:25 Zhao, Yunfeng wrote: Hi, all, This is today's KVM test result against kvm.git 81e4400b4df4e597a81c19c1161aa03c73613710 and kvm-userspace.git 08385e49dcff3585f597870af67301d7659a1ecb. One

[kvm-devel] [PATCH] Implement dummy values for MSR_PERF_STATUS

2008-02-21 Thread Alexander Graf
Hi, this is mostly the same patch I sent to the list several weeks ago, but with fixed whitespaces and comments. It implements a dummy value for the MSR_PERF_STATUS MSR. Darwin relies on this and ceases to work without. Signed-off-by: Alexander Graf <[EMAIL PROTECTED]> Regards, Ale

Re: [kvm-devel] [PATCH] Fix host_cpuid() in qemu/qemu-kvm-x86.c

2008-02-21 Thread Alexander Graf
On Feb 21, 2008, at 10:14 AM, Alexander Graf wrote: On Feb 21, 2008, at 9:46 AM, Avi Kivity wrote: Bernhard Kaindl wrote: Hi, I found that on kvm-61 the cpuid in the guest was reported incorrectly when qemu-kvm was compiled with gcc-4.1 or 4.3. This resulted in linux-64bit not booting

Re: [kvm-devel] vmwarevga doesn't work: "get_dirty_pages returned -2"

2008-02-21 Thread Alexander Graf
On Feb 21, 2008, at 10:05 AM, Avi Kivity wrote: > Andreas Winkelbauer wrote: >> hi, >> >> I tried using the -vmwarevga switch but I didn't succeed. I've >> tested it >> with kvm-snapshot-20080218, kvm-60 and kvm-61. >> >> as soon as the VM (guest os is windows xp) switches from text mode to >>

Re: [kvm-devel] [PATCH] Fix host_cpuid() in qemu/qemu-kvm-x86.c

2008-02-21 Thread Alexander Graf
ts.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel -- error compiling committee.c: too many arguments to function - This SF.net email is sponsored by: Microso

Re: [kvm-devel] [PATCH] qemu: implicit precedence for logical operator in has_work

2008-02-20 Thread Alexander Graf
On Feb 20, 2008, at 9:30 AM, Carlo Marcelo Arenas Belon wrote: > janitorial fix for : > > qemu/qemu-kvm.c: In function `has_work': > qemu/qemu-kvm.c:140: warning: suggest parentheses around && within || > > Signed-off-by: Carlo Marcelo Arenas Belon <[EMAIL PROTECTED]> > --- > qemu/qemu-kvm.c |

Re: [kvm-devel] [PATCH] enable gfxboot on VMX

2008-02-18 Thread Alexander Graf
On Feb 18, 2008, at 12:46 PM, Andi Kleen wrote: > Alexander Graf <[EMAIL PROTECTED]> writes: >> >> As everything except gfxboot works, we can simply change gfxboot in >> runtime to use a different value. Unfortunately the mov instruction, >> used to read the SS

Re: [kvm-devel] [PATCH] enable gfxboot on VMX

2008-02-18 Thread Alexander Graf
On Feb 18, 2008, at 10:34 AM, Alexander Graf wrote: > > On Feb 18, 2008, at 10:17 AM, Guillaume Thouvenin wrote: > >> On Sat, 16 Feb 2008 14:34:09 +0100 >> Alexander Graf <[EMAIL PROTECTED]> wrote: >> >>>> Whenever the register state becomes consisten

Re: [kvm-devel] [PATCH] enable gfxboot on VMX

2008-02-18 Thread Alexander Graf
On Feb 18, 2008, at 10:17 AM, Guillaume Thouvenin wrote: > On Sat, 16 Feb 2008 14:34:09 +0100 > Alexander Graf <[EMAIL PROTECTED]> wrote: > >>> Whenever the register state becomes consistent with VT again. >>> vmx_set_segment() looks like the right point for turn

Re: [kvm-devel] [PATCH] enable gfxboot on VMX

2008-02-16 Thread Alexander Graf
On Feb 16, 2008, at 10:06 AM, Avi Kivity wrote: > Alexander Graf wrote: >>> >>> While enabling gfxboot over vmx is very desirable, I'd like to avoid >>> guest-specific hacks. IMO the correct fix is to set a >>> "non_vt_friendly" >>

Re: [kvm-devel] [PATCH] enable gfxboot on VMX

2008-02-15 Thread Alexander Graf
On Feb 15, 2008, at 3:56 PM, Anthony Liguori wrote: > Alexander Graf wrote: >> Hi, >> >> this issue has already been talked about previously. Gfxboot on VMX >> is >> broken, because it reads SS after switching from real to protected >> mode, >>

Re: [kvm-devel] [PATCH] enable gfxboot on VMX

2008-02-15 Thread Alexander Graf
On Feb 15, 2008, at 2:47 PM, Avi Kivity wrote: > Alexander Graf wrote: >> Hi, >> >> this issue has already been talked about previously. Gfxboot on VMX >> is >> broken, because it reads SS after switching from real to protected >> mode, >> where

[kvm-devel] [PATCH] enable gfxboot on VMX

2008-02-14 Thread Alexander Graf
Comments are, as always, welcome. Signed-off-by: Alexander Graf <[EMAIL PROTECTED]> diff -ur kernel/include/asm-x86/kvm_host.h kernel.patched/include/asm-x86/kvm_host.h --- kernel/include/asm-x86/kvm_host.h 2008-02-15 07:59:28.0 +0100 +++ kernel.patched/include/asm-x86/kvm_host

Re: [kvm-devel] KVM not reporting dmidecode

2008-02-14 Thread Alexander Graf
On Feb 14, 2008, at 11:08 AM, Avi Kivity wrote: > Alexander Graf wrote: >> >> I would really love to see this as well. Mac OS X is rather picky on >> the DMI tables, so I'm pretty sure I'll be able to find some bugs in >> the implementation when it

Re: [kvm-devel] KVM not reporting dmidecode

2008-02-14 Thread Alexander Graf
On Feb 14, 2008, at 10:52 AM, Avi Kivity wrote: > Ryan Harper wrote: >> I posted[1] a dmi patches a bit ago on qemu-devel for this. There >> was a >> better solution that involved fixing up the BIOS bits (bochs and >> qemu). >> That patch is available as well on qemu-devel. I've not see any

[kvm-devel] kvm-60 "-snapshot" or "-smp 2" option not worked on SMP linux guest OS

2008-02-10 Thread Alexander R
Hello list! See subj. I tried boot installed guest Opensuse 10.3 and it stops booting when "-snapshot" and "-smp 2" options are enabled. With "-snapshot" and "-smp 1" this guest OS work fine. With guest Win2000 this options work fine. My system is: CPU: Core2Duo E6400 RAM: 2GB Host OS: Opensuse 1

Re: [kvm-devel] [Qemu-devel] [PATCH 2 of 3] Optionally link against libuuid if present

2008-01-20 Thread Alexander Graf
ails to boot, so it might be a good idea to give it something better than an empty string. Best regards, Filip Navara On Jan 20, 2008 5:20 PM, Alexander Graf <[EMAIL PROTECTED]> wrote: On Jan 20, 2008, at 2:17 PM, Filip Navara wrote: > Hello, > > attached is a patch that implemen

Re: [kvm-devel] [Qemu-devel] [PATCH 2 of 3] Optionally link against libuuid if present

2008-01-20 Thread Alexander Graf
On Jan 20, 2008, at 2:17 PM, Filip Navara wrote: > Hello, > > attached is a patch that implements the SMBIOS within the Bochs BIOS > code. Complete list of changes: > > - Added generation of SSDT ACPI table that contains definitions for > available processors. > - Added basic implementation o

Re: [kvm-devel] [PATCH] fix cpuid function 4

2008-01-16 Thread Alexander Graf
On Jan 16, 2008, at 9:12 PM, Dan Kenigsberg wrote: > On Wed, Jan 16, 2008 at 06:34:08PM +0100, Alexander Graf wrote: >> Dan Kenigsberg wrote: >>> On Tue, Jan 15, 2008 at 08:57:45AM +0100, Alexander Graf wrote: >>> >>>> Dan Kenigsberg wrote: >>>

[kvm-devel] 8th Annual National Business Conference

2008-01-16 Thread ALEXANDER
years conference will be held at the Disney's BoardWalk Resorts, Orlando, Florida. If you haven't registered yet, kindly register at Click Here to RegisterHave a wonderful and prosperous New Year. Carylon Alexander Director, Business Relations DiversityBusiness 8th Annual National Business

Re: [kvm-devel] [PATCH] fix cpuid function 4

2008-01-16 Thread Alexander Graf
Dan Kenigsberg wrote: > On Tue, Jan 15, 2008 at 08:57:45AM +0100, Alexander Graf wrote: > >> Dan Kenigsberg wrote: >> >>> On Mon, Jan 14, 2008 at 02:49:31PM +0100, Alexander Graf wrote: >>> >>> >>>> Hi, >>>> &

Re: [kvm-devel] [resend] [PATCH] MSR_IA32_PERF_STATUS support

2008-01-15 Thread Alexander Graf
Avi Kivity wrote: > Alexander Graf wrote: > >> This is a resend of a mail I sent on 01/10/2008. I did not receive any >> response, so I assume it was lost. >> >> The patch is really minor, does not break any compatibility (the MSR is >> Intel family 13+)

Re: [kvm-devel] [RFC] fix VMX TSC synchronicity

2008-01-15 Thread Alexander Graf
Avi Kivity wrote: > Alexander Graf wrote: > >>>> >>>> >>>> >>>> >>> What I mean is, right now we present really broken tscs to the guest. >>> After your patch, we present less-broken tscs (at bo

Re: [kvm-devel] [resend] [PATCH] MSR_IA32_PERF_STATUS support

2008-01-15 Thread Alexander Graf
Avi Kivity wrote: > Alexander Graf wrote: >> This is a resend of a mail I sent on 01/10/2008. I did not receive any >> response, so I assume it was lost. >> >> The patch is really minor, does not break any compatibility (the MSR is >> Intel family 13+) and make

Re: [kvm-devel] [RFC] fix VMX TSC synchronicity

2008-01-15 Thread Alexander Graf
Avi Kivity wrote: > Marcelo Tosatti wrote: > >> Hi Avi, >> >> On Sun, Jan 13, 2008 at 02:19:29PM +0200, Avi Kivity wrote: >> >> >>> Marcelo Tosatti wrote: >>> >>> The boot TSC sync check is failing on recent Linux SMP guests on TSC stable hosts.

[kvm-devel] [resend] [PATCH] MSR_IA32_PERF_STATUS support

2008-01-15 Thread Alexander Graf
This is a resend of a mail I sent on 01/10/2008. I did not receive any response, so I assume it was lost. The patch is really minor, does not break any compatibility (the MSR is Intel family 13+) and makes Darwin work. --- old mail --- This patch adds support for the MSR MSR_IA32_PERF_STATUS. Th

Re: [kvm-devel] [PATCH] fix cpuid function 4

2008-01-14 Thread Alexander Graf
Dan Kenigsberg wrote: > On Mon, Jan 14, 2008 at 02:49:31PM +0100, Alexander Graf wrote: > >> Hi, >> >> Currently CPUID function 4 is broken. This function's values rely on the >> value of ECX. >> To solve the issue cleanly, there is already a new API for

[kvm-devel] [PATCH] fix cpuid function 4

2008-01-14 Thread Alexander Graf
Hi, Currently CPUID function 4 is broken. This function's values rely on the value of ECX. To solve the issue cleanly, there is already a new API for cpuid settings, which is not used yet. Using the current interface, the function 4 can be easily passed through, by giving multiple function 4 outpu

Re: [kvm-devel] [PATCH] Pass through SSSE3 capability

2008-01-10 Thread Alexander Graf
Dan Kenigsberg wrote: > On Wed, Jan 09, 2008 at 07:46:04PM +0100, Alexander Graf wrote: > >> Darwin requires SSSE3 in 64-bit mode, so KVM needs to reveal the >> appropriate CPUID flag. I could not find a proper define in the kernel >> headers, so I just added

[kvm-devel] [PATCH] Pass through SSSE3 capability

2008-01-09 Thread Alexander Graf
Darwin requires SSSE3 in 64-bit mode, so KVM needs to reveal the appropriate CPUID flag. I could not find a proper define in the kernel headers, so I just added the specific bit number. Index: kernel/x86.c === --- kernel.orig/x86.c +

[kvm-devel] [PATCH] MSR_IA32_PERF_STATUS support

2008-01-09 Thread Alexander Graf
This patch adds support for the MSR MSR_IA32_PERF_STATUS. This is required to boot Darwin. I only implemented dummy support, as the real value would be of no meaning to any OS I know so far anyway and is only implemented on very recent Intel CPUs. Index: kernel/x86.c ==

[kvm-devel] [PATCH] Pass through SSSE3 capability

2008-01-09 Thread Alexander Graf
Darwin requires SSSE3 in 64-bit mode, so KVM needs to reveal the appropriate CPUID flag. I could not find a proper define in the kernel headers, so I just added the specific bit number. Index: kernel/x86.c === --- kernel.orig/x86.c +++

[kvm-devel] (no subject)

2007-12-03 Thread Alexander R
- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50

[kvm-devel] kvm -kernel option (x86_64)

2007-11-14 Thread Alexander Graf
any (easy) means to debug the emulator? Thanks, Alexander Graf - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using

Re: [kvm-devel] 2.6.23.1-rt4 and kvm 48

2007-10-30 Thread Alexander Graf
On Oct 30, 2007, at 10:49 AM, Jan Kiszka wrote: > Carsten Emde wrote: >> Avi Kivity wrote: >>> David Brown wrote: I thought I'd try out the realtime patch set and it didn't work at all with kvm. The console didn't dump anything and the system completely locked up. >>

Re: [kvm-devel] [PATCH/RFC] Let gcc to choose which registers to save

2007-10-27 Thread Alexander Graf
[r15]"i"(offsetof(struct kvm_vcpu, regs[VCPU_REGS_R15])), >>> #endif >>> [cr2]"i"(offsetof(struct kvm_vcpu, cr2)) >>> - : "cc", "memory"); >>> + : "cc", "memory", >>&

[kvm-devel] CfP Workshops on Virtualization/XEN in HPC Cluster and Grid Computing (Deadline Extended)

2007-02-01 Thread Michael Alexander
June 27-29, 2007 (XHPC) and August 28-31, 2007 (VHPC) (*) Changed from April 27 CHAIR Michael Alexander (chair), WU Vienna, Austria Stephen Childs (co-chair), Trinity College, Dublin, Ireland PROGRAM COMMITTEE Jussara Almeida, Federal University of Minas Gerais, Brasil Padmashree Apparao, I