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
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
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
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
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
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
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
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
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
>>
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
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
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
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'
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
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
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
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
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
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
> > 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
--
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
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.
>>
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
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
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
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
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
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
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
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.
>
>
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
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
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
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,
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.
>>> -
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
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:
>
>
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
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
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
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
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
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
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.
>
> /
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
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
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
>
>
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
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
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
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
-
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
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
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
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
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
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
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
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
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
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
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
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
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
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
65 matches
Mail list logo