From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: u <-> k cross migration and IDT_Vectoring save/restore Date: Sun, 05 Aug 2007 18:00:39 +0300 Message-ID: <46B5E617.7070805@qumranet.com> References: <10EA09EFD8728347A513008B6B0DA77A01E00980@pdsmsx411.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel To: "Dong, Eddie" Return-path: In-Reply-To: <10EA09EFD8728347A513008B6B0DA77A01E00980-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.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/