From: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
To: Andrea Arcangeli <andrea-l3A5Bk7waGM@public.gmane.org>
Cc: Alexey Eremenko
<alexey.eremenko-atKUWr5tajBWk0Htik3J/w@public.gmane.org>,
kvm-devel
<kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: Re: Starting a VM reboots my machine
Date: Mon, 05 Nov 2007 17:25:17 +0200 [thread overview]
Message-ID: <472F35DD.7070905@qumranet.com> (raw)
In-Reply-To: <20071105151804.GB6841-lysg2Xt5kKMAvxtiuMwx3w@public.gmane.org>
Andrea Arcangeli wrote:
> On Mon, Nov 05, 2007 at 04:25:00PM +0200, Avi Kivity wrote:
>
>> This one's obviously correct, will apply...
>>
>
> thanks!
>
>
>>> Signed-off-by: Andrea Arcangeli <andrea-l3A5Bk7waGM@public.gmane.org>
>>>
>>> index 9584d0f..95a3489 100644
>>> --- a/drivers/kvm/svm.c
>>> +++ b/drivers/kvm/svm.c
>>> @@ -1459,11 +1459,6 @@ static void svm_vcpu_run(struct kvm_vcpu *vcpu,
>>> struct kvm_run *kvm_run)
>>> local_irq_enable();
>>> - vcpu->guest_mode = 1;
>>> - if (vcpu->requests)
>>> - if (test_and_clear_bit(KVM_TLB_FLUSH, &vcpu->requests))
>>> - svm_flush_tlb(vcpu);
>>> -
>>> asm volatile (
>>> #ifdef CONFIG_X86_64
>>> "push %%rbp; \n\t"
>>>
>>>
>>>
>> Against which kvm is that? It isn't 2.6.24-rc, or kvm.git, or 2.6.23?
>>
>
> I use the bleeding edge for userland and kernel, so kvm.git with "make
> sync".
>
>
Well, I can't find anything like that it my tree. Maybe something's stale?
>> Anyway, removing guest tlb flushing won't be good for the guest.
>>
>
> Doesn't the common layer already take care of test_and_clearing that
> bitflag and calling kvm_x86_ops->tlb_flush before kvm_x86_ops->run in
> __vcpu_run?
It does.
> I thought it was an obsolete piece of code (besides it
> doesn't compile anyway it would need to be changed KVM_REQ_TLB_FLUSH)
> and it got re-introduced by mistake with a merging error in the last
> commit.
>
We're definitely looking at different trees.
--
Any sufficiently difficult bug is indistinguishable from a feature.
-------------------------------------------------------------------------
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 AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
next prev parent reply other threads:[~2007-11-05 15:25 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-01 22:38 Starting a VM reboots my machine Cam Macdonell
[not found] ` <472A5561.5080202-edFDblaTWIyXbbII50Afww@public.gmane.org>
2007-11-01 22:51 ` Dor Laor
[not found] ` <472A5874.3050400-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-11-02 22:48 ` Cam Macdonell
[not found] ` <472BA930.7070806-edFDblaTWIyXbbII50Afww@public.gmane.org>
2007-11-04 15:34 ` Dor Laor
[not found] ` <472DE68F.1050602-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-11-05 14:39 ` Cam Macdonell
[not found] ` <472F2B32.4050703-edFDblaTWIyXbbII50Afww@public.gmane.org>
2007-11-05 14:49 ` Yaniv Kaul
[not found] ` <64F9B87B6B770947A9F8391472E032160E882B78-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/H7NteoWH0uzbU5w@public.gmane.org>
2007-11-05 18:07 ` Cam Macdonell
[not found] ` <472F5BF1.7070608-edFDblaTWIyXbbII50Afww@public.gmane.org>
2007-11-05 18:54 ` Yaniv Kaul
[not found] ` <64F9B87B6B770947A9F8391472E032160EB0A319-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/H7NteoWH0uzbU5w@public.gmane.org>
2007-11-05 23:02 ` Cam Macdonell
2007-11-06 21:32 ` Cam Macdonell
[not found] ` <4730DD86.7000200-edFDblaTWIyXbbII50Afww@public.gmane.org>
2007-11-07 5:56 ` Avi Kivity
[not found] ` <47315384.6040608-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-11-07 16:25 ` Cam Macdonell
2007-11-04 16:15 ` Alexey Eremenko
[not found] ` <64F9B87B6B770947A9F8391472E032160C95C59C-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/H7NteoWH0uzbU5w@public.gmane.org>
2007-11-04 18:05 ` Andrea Arcangeli
[not found] ` <20071104180538.GA6841-lysg2Xt5kKMAvxtiuMwx3w@public.gmane.org>
2007-11-05 14:25 ` Avi Kivity
[not found] ` <472F27BC.2060407-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-11-05 15:18 ` Andrea Arcangeli
[not found] ` <20071105151804.GB6841-lysg2Xt5kKMAvxtiuMwx3w@public.gmane.org>
2007-11-05 15:25 ` Avi Kivity [this message]
[not found] ` <472F35DD.7070905-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-11-05 16:28 ` Andrea Arcangeli
[not found] ` <20071105162836.GC6841-lysg2Xt5kKMAvxtiuMwx3w@public.gmane.org>
2007-11-05 17:14 ` Andrea Arcangeli
[not found] ` <20071105171411.GD6841-lysg2Xt5kKMAvxtiuMwx3w@public.gmane.org>
2007-11-06 8:02 ` Dor Laor
2007-11-06 8:54 ` Avi Kivity
2007-11-06 9:16 ` Avi Kivity
[not found] ` <473030E0.9010301-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-11-06 12:54 ` Andrea Arcangeli
[not found] ` <20071106125431.GB19397-lysg2Xt5kKMAvxtiuMwx3w@public.gmane.org>
2007-11-06 13:03 ` Avi Kivity
2007-11-05 14:01 ` Avi Kivity
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=472F35DD.7070905@qumranet.com \
--to=avi-atkuwr5tajbwk0htik3j/w@public.gmane.org \
--cc=alexey.eremenko-atKUWr5tajBWk0Htik3J/w@public.gmane.org \
--cc=andrea-l3A5Bk7waGM@public.gmane.org \
--cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox