* How to recreate MOV-SS blocking vmentry fail @ 2013-09-11 12:49 Arthur Chunqi Li 2013-09-11 12:53 ` Gleb Natapov 0 siblings, 1 reply; 8+ messages in thread From: Arthur Chunqi Li @ 2013-09-11 12:49 UTC (permalink / raw) To: kvm; +Cc: Gleb Natapov, Paolo Bonzini, Jan Kiszka Hi Gleb, Paolo and related folks, I was trying to recreate MOV-SS blocking vmentry fail (Intel SDM 26.1, 5. a). Here the manual refers to Table 24-3, but later in 26.3.1.5 also describe it. I got confused how this scenario can be recreated. Do you have any ideas? Thanks, Arthur -- Arthur Chunqi Li Department of Computer Science School of EECS Peking University Beijing, China ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: How to recreate MOV-SS blocking vmentry fail 2013-09-11 12:49 How to recreate MOV-SS blocking vmentry fail Arthur Chunqi Li @ 2013-09-11 12:53 ` Gleb Natapov 2013-09-11 12:55 ` Arthur Chunqi Li 2013-09-11 13:01 ` Paolo Bonzini 0 siblings, 2 replies; 8+ messages in thread From: Gleb Natapov @ 2013-09-11 12:53 UTC (permalink / raw) To: Arthur Chunqi Li; +Cc: kvm, Paolo Bonzini, Jan Kiszka On Wed, Sep 11, 2013 at 08:49:28PM +0800, Arthur Chunqi Li wrote: > Hi Gleb, Paolo and related folks, > > I was trying to recreate MOV-SS blocking vmentry fail (Intel SDM 26.1, > 5. a). Here the manual refers to Table 24-3, but later in 26.3.1.5 > also describe it. I got confused how this scenario can be recreated. > Do you have any ideas? > mov $0, %ss vmlaunch -- Gleb. ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: How to recreate MOV-SS blocking vmentry fail 2013-09-11 12:53 ` Gleb Natapov @ 2013-09-11 12:55 ` Arthur Chunqi Li 2013-09-11 12:57 ` Gleb Natapov 2013-09-11 13:01 ` Paolo Bonzini 1 sibling, 1 reply; 8+ messages in thread From: Arthur Chunqi Li @ 2013-09-11 12:55 UTC (permalink / raw) To: Gleb Natapov; +Cc: kvm, Paolo Bonzini, Jan Kiszka On Wed, Sep 11, 2013 at 8:53 PM, Gleb Natapov <gleb@redhat.com> wrote: > On Wed, Sep 11, 2013 at 08:49:28PM +0800, Arthur Chunqi Li wrote: >> Hi Gleb, Paolo and related folks, >> >> I was trying to recreate MOV-SS blocking vmentry fail (Intel SDM 26.1, >> 5. a). Here the manual refers to Table 24-3, but later in 26.3.1.5 >> also describe it. I got confused how this scenario can be recreated. >> Do you have any ideas? >> > mov $0, %ss > vmlaunch Should these two instructions execute sequentially? Thanks, Arthur > > -- > Gleb. ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: How to recreate MOV-SS blocking vmentry fail 2013-09-11 12:55 ` Arthur Chunqi Li @ 2013-09-11 12:57 ` Gleb Natapov 0 siblings, 0 replies; 8+ messages in thread From: Gleb Natapov @ 2013-09-11 12:57 UTC (permalink / raw) To: Arthur Chunqi Li; +Cc: kvm, Paolo Bonzini, Jan Kiszka On Wed, Sep 11, 2013 at 08:55:41PM +0800, Arthur Chunqi Li wrote: > On Wed, Sep 11, 2013 at 8:53 PM, Gleb Natapov <gleb@redhat.com> wrote: > > On Wed, Sep 11, 2013 at 08:49:28PM +0800, Arthur Chunqi Li wrote: > >> Hi Gleb, Paolo and related folks, > >> > >> I was trying to recreate MOV-SS blocking vmentry fail (Intel SDM 26.1, > >> 5. a). Here the manual refers to Table 24-3, but later in 26.3.1.5 > >> also describe it. I got confused how this scenario can be recreated. > >> Do you have any ideas? > >> > > mov $0, %ss > > vmlaunch > Should these two instructions execute sequentially? > One immediately after another in the order above. -- Gleb. ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: How to recreate MOV-SS blocking vmentry fail 2013-09-11 12:53 ` Gleb Natapov 2013-09-11 12:55 ` Arthur Chunqi Li @ 2013-09-11 13:01 ` Paolo Bonzini 2013-09-11 13:03 ` Gleb Natapov 1 sibling, 1 reply; 8+ messages in thread From: Paolo Bonzini @ 2013-09-11 13:01 UTC (permalink / raw) To: Gleb Natapov; +Cc: Arthur Chunqi Li, kvm, Jan Kiszka Il 11/09/2013 14:53, Gleb Natapov ha scritto: >> > I was trying to recreate MOV-SS blocking vmentry fail (Intel SDM 26.1, >> > 5. a). Here the manual refers to Table 24-3, but later in 26.3.1.5 >> > also describe it. I got confused how this scenario can be recreated. >> > Do you have any ideas? >> > > mov $0, %ss > vmlaunch Probably better to save %ss somewhere around these instructions... :) Paolo ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: How to recreate MOV-SS blocking vmentry fail 2013-09-11 13:01 ` Paolo Bonzini @ 2013-09-11 13:03 ` Gleb Natapov 2013-09-11 13:04 ` Arthur Chunqi Li 0 siblings, 1 reply; 8+ messages in thread From: Gleb Natapov @ 2013-09-11 13:03 UTC (permalink / raw) To: Paolo Bonzini; +Cc: Arthur Chunqi Li, kvm, Jan Kiszka On Wed, Sep 11, 2013 at 03:01:07PM +0200, Paolo Bonzini wrote: > Il 11/09/2013 14:53, Gleb Natapov ha scritto: > >> > I was trying to recreate MOV-SS blocking vmentry fail (Intel SDM 26.1, > >> > 5. a). Here the manual refers to Table 24-3, but later in 26.3.1.5 > >> > also describe it. I got confused how this scenario can be recreated. > >> > Do you have any ideas? > >> > > > mov $0, %ss > > vmlaunch > > Probably better to save %ss somewhere around these instructions... :) > Details, details :) It can be: mov %ss, tmp mov tmp, $ss vmlaunch -- Gleb. ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: How to recreate MOV-SS blocking vmentry fail 2013-09-11 13:03 ` Gleb Natapov @ 2013-09-11 13:04 ` Arthur Chunqi Li 2013-09-11 13:44 ` Gleb Natapov 0 siblings, 1 reply; 8+ messages in thread From: Arthur Chunqi Li @ 2013-09-11 13:04 UTC (permalink / raw) To: Gleb Natapov; +Cc: Paolo Bonzini, kvm, Jan Kiszka On Wed, Sep 11, 2013 at 9:03 PM, Gleb Natapov <gleb@redhat.com> wrote: > On Wed, Sep 11, 2013 at 03:01:07PM +0200, Paolo Bonzini wrote: >> Il 11/09/2013 14:53, Gleb Natapov ha scritto: >> >> > I was trying to recreate MOV-SS blocking vmentry fail (Intel SDM 26.1, >> >> > 5. a). Here the manual refers to Table 24-3, but later in 26.3.1.5 >> >> > also describe it. I got confused how this scenario can be recreated. >> >> > Do you have any ideas? >> >> > >> > mov $0, %ss >> > vmlaunch >> >> Probably better to save %ss somewhere around these instructions... :) >> > Details, details :) It can be: > mov %ss, tmp > mov tmp, $ss > vmlaunch Well, this seems hard to test this in our framework ;( vmlaunch is surrounded with many instructions and we cannot add vmlaunch in exit handler. Thanks, Arthur > > -- > Gleb. ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: How to recreate MOV-SS blocking vmentry fail 2013-09-11 13:04 ` Arthur Chunqi Li @ 2013-09-11 13:44 ` Gleb Natapov 0 siblings, 0 replies; 8+ messages in thread From: Gleb Natapov @ 2013-09-11 13:44 UTC (permalink / raw) To: Arthur Chunqi Li; +Cc: Paolo Bonzini, kvm, Jan Kiszka On Wed, Sep 11, 2013 at 09:04:26PM +0800, Arthur Chunqi Li wrote: > On Wed, Sep 11, 2013 at 9:03 PM, Gleb Natapov <gleb@redhat.com> wrote: > > On Wed, Sep 11, 2013 at 03:01:07PM +0200, Paolo Bonzini wrote: > >> Il 11/09/2013 14:53, Gleb Natapov ha scritto: > >> >> > I was trying to recreate MOV-SS blocking vmentry fail (Intel SDM 26.1, > >> >> > 5. a). Here the manual refers to Table 24-3, but later in 26.3.1.5 > >> >> > also describe it. I got confused how this scenario can be recreated. > >> >> > Do you have any ideas? > >> >> > > >> > mov $0, %ss > >> > vmlaunch > >> > >> Probably better to save %ss somewhere around these instructions... :) > >> > > Details, details :) It can be: > > mov %ss, tmp > > mov tmp, $ss > > vmlaunch > Well, this seems hard to test this in our framework ;( vmlaunch is > surrounded with many instructions and we cannot add vmlaunch in exit > handler. > Well, we can put moves always there, or write special test for it, but it is nice to have test, but not very important. -- Gleb. ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2013-09-11 13:44 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2013-09-11 12:49 How to recreate MOV-SS blocking vmentry fail Arthur Chunqi Li 2013-09-11 12:53 ` Gleb Natapov 2013-09-11 12:55 ` Arthur Chunqi Li 2013-09-11 12:57 ` Gleb Natapov 2013-09-11 13:01 ` Paolo Bonzini 2013-09-11 13:03 ` Gleb Natapov 2013-09-11 13:04 ` Arthur Chunqi Li 2013-09-11 13:44 ` Gleb Natapov
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.