Skip to contentSkip to conversation

Testing for shadow modes

DISCUSSION Daniel Stodden 2 participants 2 messages Oct 7, 2007 – Oct 8, 2007

lore
Share & tools
lore
#0 lore raw

Hi all.

I'm looking for the 'correct' way to inquire about the present shadow mode of a running domain. OP_ENABLE_TEST sounds interesting, but does not look like what I mean it to do.

Is this just missing, or am I missing something?

regards,
daniel

Signature · 5 lines
Daniel Stodden
LRR     -      Lehrstuhl für Rechnertechnik und Rechnerorganisation
Institut für Informatik der TU München             D-85748 Garching
http://www.lrr.in.tum.de/~stodden         mailto:[email protected]
PGP Fingerprint: F5A4 1575 4C56 E26A 0B33  3D80 457E 82AE B0D8 735B
#1 lore raw
Quoted 5 lines · Daniel Stodden

I'm looking for the 'correct' way to inquire about the present shadow mode of a running domain. OP_ENABLE_TEST sounds interesting, but does not look like what I mean it to do.

Is this just missing, or am I missing something?

Yep, it's just missing. You _can_ query how much shadow memory is allocated for the domain, and it would be straightforward to add a shadow operation to query the current mode. If you're the control tools, you might remember what you've done to the domain before. Also, operations like enabling shadow mode ought to be idempotent.

Cheers,

Tim.

Signature · 2 lines
Tim Deegan <[email protected]>, XenSource UK Limited
Registered office c/o EC2Y 5EB, UK; company number 05334508