Re: [kvm-devel] [PATCH 2/3] KVM: fix apic timer save/migration wheninactive

2007-09-09 Thread He, Qing
resended, due to wrong attachment >-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] On Behalf Of He, Qing >Sent: 2007年9月10日 13:59 >To: Avi Kivity >Cc: kvm-devel@lists.sourceforge.net >Subject: Re: [kvm-devel] [PATCH 2/3] KVM: fix apic timer save/migration >wheninacti

Re: [kvm-devel] [PATCH 2/3] KVM: fix apic timer save/migration when inactive

2007-09-09 Thread He, Qing
Avi, This is the updated patch, which avoids inactive hrtimers from unintended migrations. save/restore timer logic is not included because it does not call hrtimer_cancel (hrtimer_active is different). It has relatively small impact, for it only affects save/restore at maybe guest BIOS

Re: [kvm-devel] build failure on master branch

2007-09-09 Thread Zhao, Yunfeng
The issue is fixed after applied the patch. Thanks a lot! Yunfeng From: He, Qing Sent: 2007年9月10日 11:35 To: He, Qing; Zhao, Yunfeng; kvm-devel@lists.sourceforge.net Subject: RE: [kvm-devel] build failure on master branch You can try the attached patch to

Re: [kvm-devel] build failure on master branch

2007-09-09 Thread He, Qing
You can try the attached patch to see if it works From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of He, Qing Sent: 2007年9月10日 10:55 To: Zhao, Yunfeng; kvm-devel@lists.sourceforge.net Subject: Re: [kvm-devel] build failure on master branch We

[kvm-devel] unhandled vm exit on kvm36 with Etch 32 guest on AMD64

2007-09-09 Thread Joseph Wolff
Hello, I'm getting "unhandled vm exit:0xb8002" running a Debian Etch guest under kvm36 on AMD64. The host is a 4-core dual-dual AMD, and I was able to create the Debian Etch (4.0) guest image just fine, using a standard install, from the standard Debian DVD disc1: debian-40r0-i386-DVD-1.iso D

[kvm-devel] [PATCH] passing smp cpu count from CMOS

2007-09-09 Thread He, Qing
As discussed previously, this patch directly passes SMP CPU count to the guest BIOS from CMOS by qemu, instead of sending SIPI and wait. CMOS offset 0x7f is used. This is the last functional piece for in-kernel APIC merge in kvm-37. Signed-off-by: Qing He <[EMAIL PROTECTED]> bios/BIOS-bochs-lat

Re: [kvm-devel] build failure on master branch

2007-09-09 Thread He, Qing
Well, it seems hrtimer-compat patch breaks the build. HRTIMER_MOD_ABS is declared in enum, so we can’t say: #ifndef HRTIMER_MOD_ABS #define HRTIMER_MOD_ABS HRTIMER_ABS #endif maybe something like #if LINUX_VERSION_CODE >= KERNEL_VERSION(2.6.?) should be OK

[kvm-devel] build failure on master branch

2007-09-09 Thread Zhao, Yunfeng
I meet the following error when I build latest kvm master against kernel 2.6.22 as external modules. And it's ok if I build it against kvm kernel either build-in or as external modules. /kvm-userspace/BUILD/kernel/lapic.c: In function 'start_apic_timer': /kvm-userspace/BUILD/kernel/lapic.c:60

Re: [kvm-devel] [BUG] GPF on hardware breakpoints (preempt_notifier)

2007-09-09 Thread Anthony Liguori
Luca wrote: > On 9/9/07, Anthony Liguori <[EMAIL PROTECTED]> wrote: > >> Luca wrote: >> >>> On 9/9/07, Avi Kivity <[EMAIL PROTECTED]> wrote: >>> >>> Luca Tettamanti wrote: > Hi, > while debugging a program with GDB I got a GPF which seems related to >>

Re: [kvm-devel] kvm-36 losing (tap-based) network connectivitymid-session

2007-09-09 Thread Charles Duffy
Avi Kivity wrote: > Can you check with the other emulated nic? (-nic model=...) Happens with both ne2k_pci and rtl8139; I haven't tried with others. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft

Re: [kvm-devel] [BUG] GPF on hardware breakpoints (preempt_notifier)

2007-09-09 Thread Luca
On 9/9/07, Anthony Liguori <[EMAIL PROTECTED]> wrote: > Luca wrote: > > On 9/9/07, Avi Kivity <[EMAIL PROTECTED]> wrote: > > > >> Luca Tettamanti wrote: > >> > >>> Hi, > >>> while debugging a program with GDB I got a GPF which seems related to > >>> KVM. Note that I was *not* using the debugger ins

Re: [kvm-devel] [BUG] GPF on hardware breakpoints (preempt_notifier)

2007-09-09 Thread Anthony Liguori
Luca wrote: > On 9/9/07, Avi Kivity <[EMAIL PROTECTED]> wrote: > >> Luca Tettamanti wrote: >> >>> Hi, >>> while debugging a program with GDB I got a GPF which seems related to >>> KVM. Note that I was *not* using the debugger inside the guest nor on >>> the virtual machine. The target was a

[kvm-devel] kvm-37 results

2007-09-09 Thread Jorge Lucángeli Obes
UP: == Windows XP 32-bit guest: OK Windows 2003 Server 32-bit guest: OK Windows Vista Ultimate 32-bit guest: hangs during boot. *Command line: -net nic,model=8139 -m 512 -localtime *Nothing in dmesg besides processor 1 inicialization SIPI messages *Still hangs during boot with 'no-kvm-irqchip'

Re: [kvm-devel] [BUG] GPF on hardware breakpoints (preempt_notifier)

2007-09-09 Thread Luca
On 9/9/07, Avi Kivity <[EMAIL PROTECTED]> wrote: > Luca Tettamanti wrote: > > Hi, > > while debugging a program with GDB I got a GPF which seems related to > > KVM. Note that I was *not* using the debugger inside the guest nor on > > the virtual machine. The target was an unrelated userspace progra

Re: [kvm-devel] [BUG] GPF on hardware breakpoints (preempt_notifier)

2007-09-09 Thread Avi Kivity
Luca Tettamanti wrote: > Hi, > while debugging a program with GDB I got a GPF which seems related to > KVM. Note that I was *not* using the debugger inside the guest nor on > the virtual machine. The target was an unrelated userspace program. > > Yes, kvm is dirtily misappropriating the debug r

[kvm-devel] [BUG] GPF on hardware breakpoints (preempt_notifier)

2007-09-09 Thread Luca Tettamanti
Hi, while debugging a program with GDB I got a GPF which seems related to KVM. Note that I was *not* using the debugger inside the guest nor on the virtual machine. The target was an unrelated userspace program. This is the GPF: general protection fault: [#1] PREEMPT SMP Modules linked in: k

Re: [kvm-devel] [BUG][PATCH?] kvm: unhandled wrmsr: 0xc0000083

2007-09-09 Thread Avi Kivity
Luca Tettamanti wrote: > Il Sun, Sep 09, 2007 at 03:51:20PM +0300, Avi Kivity ha scritto: > >> Luca Tettamanti wrote: >> Actually 0xfff2 is in the middle of an instruction. I'm guessing an 'out' instruction triggered the reboot, and skip_emulated_instruction() added 2

Re: [kvm-devel] [BUG][PATCH?] kvm: unhandled wrmsr: 0xc0000083

2007-09-09 Thread Luca Tettamanti
Il Sun, Sep 09, 2007 at 03:51:20PM +0300, Avi Kivity ha scritto: > Luca Tettamanti wrote: >>> Actually 0xfff2 is in the middle of an instruction. >>> >>> I'm guessing an 'out' instruction triggered the reboot, and >>> skip_emulated_instruction() added 2 to rip. >>> >> >> I think you're right

Re: [kvm-devel] [Qemu-devel] Re: expose host CPU features to guests

2007-09-09 Thread Avi Kivity
Paul Brook wrote: >>> What you really want to do is ask your virtualization module what >>> features it supports. >>> >> Yes, that needs to be an additional filter. >> > > I'd have thought that would be the *only* interesting set for autodetection. > > Yes, you're right. It's point

Re: [kvm-devel] [Qemu-devel] Re: expose host CPU features to guests

2007-09-09 Thread Paul Brook
> > What you really want to do is ask your virtualization module what > > features it supports. > > Yes, that needs to be an additional filter. I'd have thought that would be the *only* interesting set for autodetection. Paul --

Re: [kvm-devel] [Qemu-devel] Re: expose host CPU features to guests

2007-09-09 Thread Jamie Lokier
Avi Kivity wrote: > >I agree. If the host OS has disabled a feature, it's a fair bet it's done > >that for a reason. > > The reason may not be relevant to the guest. For most guests the relevant features are those which work correctly and efficiently on the virtual CPU. If the host OS has disab

Re: [kvm-devel] kvm-37 problem w/ 64-bit division in lapic.c

2007-09-09 Thread Avi Kivity
Jindrich Makovicka wrote: > On Sun, 09 Sep 2007 14:05:13 +0300 > Avi Kivity wrote: > > >> This release merges the pic/lapic/ioapic into mainline. While some >> known issues exist, we're now at the point where it's better to get >> some wider exposure rather than keep it alone on a branch. >>

[kvm-devel] kvm-37 problem w/ 64-bit division in lapic.c

2007-09-09 Thread Jindrich Makovicka
On Sun, 09 Sep 2007 14:05:13 +0300 Avi Kivity wrote: > This release merges the pic/lapic/ioapic into mainline. While some > known issues exist, we're now at the point where it's better to get > some wider exposure rather than keep it alone on a branch. > > Some regressions are expected; please

Re: [kvm-devel] [Qemu-devel] Re: expose host CPU features to guests

2007-09-09 Thread Avi Kivity
Paul Brook wrote: > On Sunday 09 September 2007, Jamie Lokier wrote: > >> Avi Kivity wrote: >> >>> Let's start with '-cpu host' as 'cpu host-cpuid' and implement '-cpu >>> host-os' on the first bug report? I have a feeling we won't ever see it. >>> >> In other words, host-os is what

[kvm-devel] [ kvm-Bugs-1791090 ] Fedora 7 64-bit crashes

2007-09-09 Thread SourceForge.net
Bugs item #1791090, was opened at 2007-09-09 18:28 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=1791090&group_id=180599 Please note that this message will contain a full copy

Re: [kvm-devel] [Qemu-devel] Re: expose host CPU features to guests

2007-09-09 Thread Paul Brook
On Sunday 09 September 2007, Jamie Lokier wrote: > Avi Kivity wrote: > > Let's start with '-cpu host' as 'cpu host-cpuid' and implement '-cpu > > host-os' on the first bug report? I have a feeling we won't ever see it. > > In other words, host-os is what _I'd_ implement because I care too > much a

Re: [kvm-devel] Build of kvm-37 fails

2007-09-09 Thread Avi Kivity
Alexey Eremenko wrote: > Excuse me, but I have the same problem with FC6, AMD, 64-bit, kernel 2.6.19. > > I don't understand, where should I put the file you attached ? > > Please don't trim the cc list and quote previous messages. It's impossible to guess what this message refers to. -- e

[kvm-devel] Build of kvm-37 fails

2007-09-09 Thread Pelle
Hi, I tried to compile the new kvm-37, and got the following errors: regards, Pelle $ make make -C kernel make[1]: Entering directory `/home/ellep/Install/kvm-37/kernel' make -C /lib/modules/2.6.20-16-generic/build M=`pwd` "$@" make[2]: Entering directory `/usr/src/linux-headers-2.6.20-16-gene

Re: [kvm-devel] Build of kvm-37 fails

2007-09-09 Thread Alexey Eremenko
Excuse me, but I have the same problem with FC6, AMD, 64-bit, kernel 2.6.19. I don't understand, where should I put the file you attached ? -- -Alexey Eremenko "Technologov" - This SF.net email is sponsored by: Microsoft De

Re: [kvm-devel] [Qemu-devel] Re: expose host CPU features to guests

2007-09-09 Thread Avi Kivity
Jamie Lokier wrote: > Avi Kivity wrote: > >> Let's start with '-cpu host' as 'cpu host-cpuid' and implement '-cpu >> host-os' on the first bug report? I have a feeling we won't ever see it. >> > > I have a feeling you won't ever see it either, but not because it's a > missing feature. > >

Re: [kvm-devel] Build of kvm-37 fails

2007-09-09 Thread Avi Kivity
Pelle wrote: Hi, I tried to compile the new kvm-37, and got the following errors: regards, Pelle Does the attached patch help? -- error compiling committee.c: too many arguments to function diff --git a/kernel/external-module-compat.h b/kernel/external-module-compat.h index 33f1675..00

[kvm-devel] [PATCH -rc] KVM: MMU: Fix rare oops on guest context switch

2007-09-09 Thread Avi Kivity
A guest context switch to an uncached cr3 can require allocation of shadow pages, but we only recycle shadow pages in kvm_mmu_page_fault(). Move shadow page recycling to mmu_topup_memory_caches(), which is called from both the page fault handler and from guest cr3 reload. Signed-off-by: Avi Kivit

Re: [kvm-devel] [Qemu-devel] Re: expose host CPU features to guests

2007-09-09 Thread Jamie Lokier
Avi Kivity wrote: > Let's start with '-cpu host' as 'cpu host-cpuid' and implement '-cpu > host-os' on the first bug report? I have a feeling we won't ever see it. I have a feeling you won't ever see it either, but not because it's a missing feature. Instead, I think a very small number of user

Re: [kvm-devel] [RFC][PATCH 5/6][KVM VIRTIO] Add the network device code

2007-09-09 Thread Avi Kivity
Luca wrote: > On 8/25/07, Dor Laor <[EMAIL PROTECTED]> wrote: > > I just noticed this: > > >> --- /dev/null >> +++ b/qemu/hw/paravirt_net.c >> @@ -0,0 +1,213 @@ >> +/* >> + * QEMU para virtual network emulation >> + * >> + * Copyright (c) 2007 Qumranet >> + * >> + * Permission is hereby granted,

Re: [kvm-devel] [RFC][PATCH 5/6][KVM VIRTIO] Add the network device code

2007-09-09 Thread Avi Kivity
Luca wrote: > On 8/29/07, Cam Macdonell <[EMAIL PROTECTED]> wrote: > >> Dor Laor wrote: >> >>> The code can now be accessed by git: >>> git://kvm.qumranet.com/home/dor/src/virtio/kvm (kernel) and >>> git://kvm.qumranet.com/home/dor/src/virtio/kvm-userspace. >>> branch name virt-final. >>> -

Re: [kvm-devel] [Qemu-devel] Re: expose host CPU features to guests

2007-09-09 Thread Avi Kivity
Jamie Lokier wrote: > Avi Kivity wrote: > >> Well, the guest will invoke its own workaround logic to disable buggy >> features, so I see no issue here. >> > > The guest can only do this if it has exactly the correct id > information for the host processor (e.g. "This is an Intel Pentium Pr

Re: [kvm-devel] [BUG][PATCH?] kvm: unhandled wrmsr: 0xc0000083

2007-09-09 Thread Avi Kivity
Luca Tettamanti wrote: >> Actually 0xfff2 is in the middle of an instruction. >> >> I'm guessing an 'out' instruction triggered the reboot, and >> skip_emulated_instruction() added 2 to rip. >> > > I think you're right; the reset is triggered by an outb to 0x64. > > Now, with this patch: > >

[kvm-devel] [ kvm-Bugs-1791032 ] no-kvm segfaults

2007-09-09 Thread SourceForge.net
Bugs item #1791032, was opened at 2007-09-09 15:48 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=1791032&group_id=180599 Please note that this message will contain a full copy

Re: [kvm-devel] [Qemu-devel] Re: expose host CPU features to guests

2007-09-09 Thread Jamie Lokier
Avi Kivity wrote: > Well, the guest will invoke its own workaround logic to disable buggy > features, so I see no issue here. The guest can only do this if it has exactly the correct id information for the host processor (e.g. "This is an Intel Pentium Pro model XXX"), not just the list of safe t

Re: [kvm-devel] [PATCH 1/5] Architecture independence layer - v1 - x86 renaming

2007-09-09 Thread Avi Kivity
Christian Ehrhardt wrote: > from Christian Ehrhardt > > This patch just renames the current _arch namings to _x86 to ensure > better readability when a real arch layer takes place > > Applied (well, I did the same sed as you). -- error compiling committee.c: too many arguments to function

Re: [kvm-devel] [BUG] kvm_lock: inconsistent lock state

2007-09-09 Thread Avi Kivity
Luca Tettamanti wrote: > Hi, > I just got this warning when doing a 'rmmod kvm-intel': > > = > [ INFO: inconsistent lock state ] > 2.6.23-rc3-libata-g28e8351a-dirty #93 > - > inconsistent {hardirq-on-W} -> {in-hardirq-W} usage. > udevd

Re: [kvm-devel] [PATCH 0/3] KVM paravirtualization framework (v2)

2007-09-09 Thread Avi Kivity
Anthony Liguori wrote: > This patchset refactors KVM's paravirtualization support to better support > guest SMP and cross platform migration. It also introduces a bare-bones KVM > paravirt_ops implementation. > > I've tested this on VT and it works nicely. I'm having trouble getting a > bzImage t

Re: [kvm-devel] Boot install CD of Vista 32 Premium Hangs Host

2007-09-09 Thread Avi Kivity
Haydn Solomon wrote: > This is to report bug where host hangs on boot of vista 32 premium > install CD. After the "loading files" status bar gets to 100% the host > pc hangs. I'm using the following startup parameters. > This is known; I will commit a fix in a few minutes... -- error compiling

Re: [kvm-devel] Boot install CD of Vista 32 Premium Hangs Host

2007-09-09 Thread Haydn Solomon
Forgot to mention that this is on kvm-37 On 9/9/07, Haydn Solomon <[EMAIL PROTECTED]> wrote: > > This is to report bug where host hangs on boot of vista 32 premium install > CD. After the "loading files" status bar gets to 100% the host pc hangs. I'm > using the following startup parameters. > > /

[kvm-devel] Boot install CD of Vista 32 Premium Hangs Host

2007-09-09 Thread Haydn Solomon
This is to report bug where host hangs on boot of vista 32 premium install CD. After the "loading files" status bar gets to 100% the host pc hangs. I'm using the following startup parameters. /usr/local/kvm/bin/qemu-system-x86_64 \ -hda vistahome.img \ -m 400 \ -no-rtc \ -localtime \ -boot d \ -no

Re: [kvm-devel] [PATCH 0/5] Split the emulator: decode & execute

2007-09-09 Thread Avi Kivity
Laurent Vivier wrote: > These patches split the emulator in two parts: one to decode the instruction, > the other to execute it. The decode part is then called only when needed. > > Patchset looks good, but fails booting FC6 x86-64 on Intel. It may be a merge error (did not apply cleanly due

Re: [kvm-devel] kvm-36 losing (tap-based) network connectivitymid-session

2007-09-09 Thread Avi Kivity
Charles Duffy wrote: > Dor Laor wrote: > >> Can you try it without rtc (either use -no-rtc, I'm not sure we have >> this flag or just rm /dev/rtc before you run the vm). >> > > Tried it (and -tdf) without effect. > > >> What's your host HZ configuration? >> > > CONFIG_HZ=250 > >

Re: [kvm-devel] [PATCH]Try to make some code simplications allowed by the mutex use

2007-09-09 Thread Avi Kivity
Laurent Vivier wrote: > Try to make some code simplifications allowed by the use of a mutex instead > of a > spinlock. As we can keep the lock longer, we don't have to release it and then > have to check if the environment has not been modified before re-taking it. We > can remove kvm->busy and kv

Re: [kvm-devel] kvm-36 breaks Solaris 10 VM

2007-09-09 Thread Avi Kivity
Simon Gao wrote: >> There's a fix for solaris crashes in the git tree, commit ID 3959211b. It'll >> be available in kvm-37. If this doesn't fix things for you, let us know your >> host CPU type. >> >> Amit >> >> > thanks, I will try kvm-37 out once it's released. > > Due to mai

Re: [kvm-devel] [PATCH 1/3] Make to round memory to next page

2007-09-09 Thread Avi Kivity
Anthony Liguori wrote: > In general, the BIOS, VGA BIOS, and option ROMs are not required to be > multiple > of page sizes. This means that phys_ram_size may not be a multiple of page. > Address this at the kvm_create() level to make things simplier for future > callers. > > Applied all three

Re: [kvm-devel] [PATCH 3/5] Hoist SVM's get_cs_db_l_bits into core code.

2007-09-09 Thread Avi Kivity
Rusty Russell wrote: > SVM gets the DB and L bits for the cs by decoding the segment. This > is in fact the completely generic code, so hoist it for kvm-lite to use. > > Applied this and the cr0/cr4 sync. Thanks. -- error compiling committee.c: too many arguments to function -

Re: [kvm-devel] [PATCH 1/5] Clean up unloved invlpg: remove kvm_arch_ops.invlpg and tweak emulator.

2007-09-09 Thread Avi Kivity
Rusty Russell wrote: > On Wed, 2007-09-05 at 18:30 +0300, Avi Kivity wrote: > >> Rusty Russell wrote: >> >>> invlpg shouldn't fetch the "src" address, since it may not be valid, >>> however SVM's "solution" which neuters emulation of all group 7 >>> instruction is horrible and breaks kvm-li

[kvm-devel] [ANNOUNCE] kvm-37 release

2007-09-09 Thread Avi Kivity
This release merges the pic/lapic/ioapic into mainline. While some known issues exist, we're now at the point where it's better to get some wider exposure rather than keep it alone on a branch. Some regressions are expected; please report them as they appear. A new qmeu option -no-kvm-irqchip

Re: [kvm-devel] (long) kvm and virt-manager not ready for daily usage

2007-09-09 Thread Farkas Levente
Anthony Liguori wrote: >>> saying that guest SMP isn't working for you? The host OS definitely >>> shouldn't crash. Can you be more specific about what configs you are >>> using? There was a host oops fixed in kvm-36 so upgrading may help you. >> exactly. i've got 4 phisical core (Intel Core 2 Q

Re: [kvm-devel] Intel-only or AMD Opteron as well?

2007-09-09 Thread Farkas Levente
Avi Kivity wrote: > Fernando Cassia wrote: >> >> Point #1: >> >> I just wish someone had thought more about the name before selecting >> "KVM" ... because Sun has been using KVM (the K Virtual Machine) for >> its Java VM for embedded devices for some time. This just causes >> confusion on web se

Re: [kvm-devel] Using VMChannel to communicate with the host.

2007-09-09 Thread Dor Laor
Cam Macdonell wrote: > Hi, > > I'm trying to get a better understanding of VM-to-host communication > that doesn't involve going over virtual networks. I understand there > are a couple of developments underway, but I just want to play around a > better sense of things. I think the current hy

Re: [kvm-devel] Intel-only or AMD Opteron as well?

2007-09-09 Thread Fernando Cassia
On 9/9/07, Avi Kivity <[EMAIL PROTECTED]> wrote: > Hey, don't rub it in. In any case the name can't be changed now, we > have to live with it. I just hope this is not one of those "we're not changing it, let THEM change it!" kind of arguments. :) Software names change all the time... remember

Re: [kvm-devel] Intel-only or AMD Opteron as well?

2007-09-09 Thread Izik Eidus
Farkas Levente wrote: > On Vas, Szeptember 9, 2007 09:48, Avi Kivity wrote: > >> kvm is too new to have been included in RHEL 5. The enterprise distros >> have a long lead time where the technology is tested and fixed, they >> don't pick the latest kernel off kernel.org and ship it the next day

Re: [kvm-devel] Intel-only or AMD Opteron as well?

2007-09-09 Thread Farkas Levente
On Vas, Szeptember 9, 2007 09:48, Avi Kivity wrote: > kvm is too new to have been included in RHEL 5. The enterprise distros > have a long lead time where the technology is tested and fixed, they > don't pick the latest kernel off kernel.org and ship it the next day. I > think RHEL 5 is based on

Re: [kvm-devel] Using VMChannel to communicate with the host.

2007-09-09 Thread Dor Laor
Troy Benjegerdes wrote: > On Fri, Sep 07, 2007 at 04:44:30PM -0600, Cam Macdonell wrote: > >> Hi, >> >> I'm trying to get a better understanding of VM-to-host communication >> that doesn't involve going over virtual networks. I understand there >> are a couple of developments underway, but I

Re: [kvm-devel] AsteriskNOWbeta6 kernel panic at boot

2007-09-09 Thread Avi Kivity
Marco Menardi wrote: > * cpu model: AMD Athlon(tm) 64 X2 Dual Core Processor 4200+. > * kvm version: 36-0.1 from Debian64 Sid > * host kernel version: 2.6.22-1-amd64 > * host kernel arch: x86_64 > * guest: AsteriskNOW_beta6.5, Linux 32bit, kernel version > * command line: > kvm -boot d -cdrom as

Re: [kvm-devel] [RFC][PATCH 0/7] guest SMP with in-kernel APIC

2007-09-09 Thread Avi Kivity
He, Qing wrote: > Avi, > During the rebase to lapic6, I saw two patches missing in this branch. > Please see the attachments. > > For the p1 patch, it was Sheng's patch to fix x86_64 windows booting. I > believe the commit 948a4b9e4b in kernel side (disable tpr/cr8 sync when > in-ker

Re: [kvm-devel] [Qemu-devel] Re: expose host CPU features to guests

2007-09-09 Thread Avi Kivity
Jamie Lokier wrote: > Anthony Liguori wrote: > >> I like this idea but I have some suggestions about the general approach. >> I think instead of defining another machine type, it would be better to >> just have a command line option like -cpuid that took a comma separate >> string of features wi

Re: [kvm-devel] Intel-only or AMD Opteron as well?

2007-09-09 Thread Avi Kivity
Fernando Cassia wrote: > > > Point #1: > > I just wish someone had thought more about the name before selecting > "KVM" ... because Sun has been using KVM (the K Virtual Machine) for > its Java VM for embedded devices for some time. This just causes > confusion on web searches... > > The K Virtu

Re: [kvm-devel] [PATCH 2/3] KVM: fix apic timer save/migration when inactive

2007-09-09 Thread Avi Kivity
He, Qing wrote: > +if (atomic_read(&apic->timer.active)) >>> Or here? >>> >>> +hrtimer_start(timer, timer->expires, + HRTIMER_MODE_ABS); } EXPORT_SYMBOL_GPL(kvm_migrate_apic_timer); >> I think