Skip to contentSkip to conversation

unstable changeset 13416 (save restore: vcpu context support) ...

DISCUSSION Gerd Hoffmann 4 participants 4 messages Jan 19, 2007 – Jan 22, 2007

lore
Share & tools
lore
#0 lore raw

Hi,

... adds hvmcpu_context to vcpu_guest_context, thus making it binary incompatible. Is that ABI change ok? Looks like it is dom0 API only, so I think we are fine, but I think I better ask ...

cheers,
Gerd

#1 lore raw

It's used by SMP guests when bringing up APs. So that change will have to be reverted. Thanks for spotting it!

-- Keir

Quoted 13 lines · Gerd Hoffmann

Hi,

... adds hvmcpu_context to vcpu_guest_context, thus making it binary incompatible. Is that ABI change ok? Looks like it is dom0 API only, so I think we are fine, but I think I better ask ...

cheers,
Gerd

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#2 lore raw
Quoted 3 lines · Keir Fraser

It's used by SMP guests when bringing up APs. So that change will have to be reverted. Thanks for spotting it!

keir,
could you elaborate on this? does it means SMP guest save/restore failure?

thanks,

Quoted 25 lines

-- Keir

Quoted 6 lines · Gerd Hoffmann

Hi,

... adds hvmcpu_context to vcpu_guest_context, thus making it binary incompatible. Is that ABI change ok? Looks like it is dom0 API only, so I think we are fine, but I think I better ask ...

Quoted 7 lines

cheers,
Gerd

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Signature · 2 lines
best rgds,
edwin
#3 lore raw
Quoted 5 lines · Edwin
Quoted 2 lines

It's used by SMP guests when bringing up APs. So that change will have to be reverted. Thanks for spotting it!

keir,
could you elaborate on this? does it means SMP guest save/restore failure?

The change to vcpu_guest_context would have broken SMP bringup for old guests, since they know about the old layout of vcpu_guest_context. Reverting that change will have broken HVM save/restore entirely, but Tim has been making cleanups that should have fixed this again.

-- Keir