From: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
To: "Dong, Eddie" <eddie.dong-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: kvm-devel <kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: Re: u <-> k cross migration and IDT_Vectoring save/restore
Date: Sun, 05 Aug 2007 18:00:39 +0300 [thread overview]
Message-ID: <46B5E617.7070805@qumranet.com> (raw)
In-Reply-To: <10EA09EFD8728347A513008B6B0DA77A01E00980-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
Dong, Eddie wrote:
> Avi Kivity wrote:
>
>> Dong, Eddie wrote:
>>
>>> Avi:
>>> After one more thinking, I found something others.
>>> kvm_vcpu_ioctl_get_sregs/kvm_vcpu_ioctl_set_sregs doesn't save
>>> current injecting exception while Xen does. Which includes
>>> VM_ENTRY_INTR_INFO & VM_ENTRY_EXCEPTION_ERROR_CODE. Any special
>>> reason?
>>>
>>>
>> No special reason, never saw the need for it.
>>
>> Do you see exits with this set? It's probably better to loop again
>> instead of saving it, because this is an implementation detail rather
>> than real state (e.g. state that qemu has as well).
>>
>>
> In SMP case, we don't know what status a VCPU is in. They are actually
> same with IDT_Vectoring.
> Current master only push back external irqs, actually an exception may
> also cause injection failure.
> It is difficult to wait for all VCPUs to get those info handed fully. UP
> may be OK.
>
>
I think that no sane OS gets exceptions on interrupts?
--
error compiling committee.c: too many arguments to function
-------------------------------------------------------------------------
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-08-05 15:00 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-03 6:18 [PATCH 0/6] in-kernel APIC save/restore and live migration He, Qing
[not found] ` <37E52D09333DE2469A03574C88DBF40F048EE0-wq7ZOvIWXbM/UvCtAeCM4rfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-08-03 16:54 ` Avi Kivity
2007-08-05 7:59 ` Avi Kivity
[not found] ` <46B5837D.4040807-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-08-05 9:25 ` u <-> k cross migration and IDT_Vectoring save/restore Dong, Eddie
[not found] ` <10EA09EFD8728347A513008B6B0DA77A01E00941-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-08-05 9:34 ` Avi Kivity
[not found] ` <46B5999F.10008-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-08-05 10:45 ` Dong, Eddie
[not found] ` <10EA09EFD8728347A513008B6B0DA77A01E0094F-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-08-05 10:54 ` Avi Kivity
[not found] ` <46B5AC69.4020908-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-08-05 10:56 ` Dong, Eddie
2007-08-05 13:55 ` Dong, Eddie
[not found] ` <10EA09EFD8728347A513008B6B0DA77A01E0097A-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-08-05 13:58 ` Avi Kivity
[not found] ` <46B5D798.7020509-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-08-05 14:03 ` Dong, Eddie
[not found] ` <10EA09EFD8728347A513008B6B0DA77A01E00980-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-08-05 15:00 ` Avi Kivity [this message]
2007-08-06 3:04 ` k->u migration bug fix Dong, Eddie
[not found] ` <10EA09EFD8728347A513008B6B0DA77A01E00BA4-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-08-06 13:25 ` 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=46B5E617.7070805@qumranet.com \
--to=avi-atkuwr5tajbwk0htik3j/w@public.gmane.org \
--cc=eddie.dong-ral2JQCrhuEAvxtiuMwx3w@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