xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* vMCE vs migration
@ 2012-01-23 11:08 Jan Beulich
  2012-01-24 10:29 ` George Dunlap
  0 siblings, 1 reply; 31+ messages in thread
From: Jan Beulich @ 2012-01-23 11:08 UTC (permalink / raw)
  To: xen-devel@lists.xensource.com; +Cc: Olaf Hering

x86's vMCE implementation lets a guest know of as many MCE reporting
banks as there are in the host. While a PV guest could be expected to
deal with this number changing (particularly decreasing) during migration
(not currently handled anywhere afaict), for HVM guests this is certainly
wrong.

At least to me it isn't, however, clear how to properly handle this. The
easiest would appear to be to save and restore the number of banks
the guest was made believe it can access, making vmce_{rd,wr}msr()
silently tolerate accesses between the host and guest values.

Any thoughts appreciated,
Jan

^ permalink raw reply	[flat|nested] 31+ messages in thread
* Re: vMCE vs migration
@ 2012-02-13  9:35 Jan Beulich
  0 siblings, 0 replies; 31+ messages in thread
From: Jan Beulich @ 2012-02-13  9:35 UTC (permalink / raw)
  To: Olaf Hering
  Cc: George.Dunlap, xen-devel@lists.xensource.com, George Dunlap,
	Ian Campbell

>Guest initialization happens in vmce_init_vcpu(), called from
>vcpu_initialise() (irrespective of the kind of domain, i.e. equally for
>PV and HVM).

And wrong I was - HVM guests get filtered much earlier in that function.
I'll get back with an updated patch hopefully soon.

Jan

^ permalink raw reply	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2012-02-14 17:17 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-23 11:08 vMCE vs migration Jan Beulich
2012-01-24 10:29 ` George Dunlap
2012-01-24 11:08   ` Jan Beulich
2012-01-26 16:54     ` George Dunlap
2012-01-30  7:52       ` Jan Beulich
2012-01-30 13:47       ` Jan Beulich
2012-01-31 11:27         ` George Dunlap
2012-01-31 11:28           ` George Dunlap
2012-01-31 13:17           ` Jan Beulich
2012-01-31 14:34             ` George Dunlap
2012-02-03  7:18         ` Liu, Jinsong
2012-02-03  8:08           ` Jan Beulich
2012-02-03 12:34             ` Liu, Jinsong
2012-02-03 14:04               ` Jan Beulich
2012-02-04 12:35                 ` George Dunlap
2012-02-09 18:02         ` Olaf Hering
2012-02-10 10:03           ` Jan Beulich
2012-02-10 16:53             ` Olaf Hering
2012-02-10 17:00               ` Jan Beulich
2012-02-10 17:05                 ` Olaf Hering
2012-02-13  8:30                 ` Olaf Hering
2012-02-13 10:43                   ` Jan Beulich
2012-02-10 21:28             ` Olaf Hering
2012-02-13  9:30               ` Jan Beulich
2012-02-13 10:36               ` Jan Beulich
2012-02-13 14:20                 ` Olaf Hering
2012-02-14 14:31                   ` Jan Beulich
2012-02-14 15:21                     ` Olaf Hering
2012-02-14 14:43                   ` Jan Beulich
2012-02-14 17:17                     ` Olaf Hering
  -- strict thread matches above, loose matches on Subject: below --
2012-02-13  9:35 Jan Beulich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).