Hello,
I'm looking for a way to pass information to a domain as the domain is
booting. I've figured out a way to do this with the xenstore, with the
following
1. start the domain and pause it
xm start -p domain
2. get the domain id
virsh domid domain
3. write values into the xenstore
/usr/lib/xen/bin/xenstore-write /local/domain/$domid/guest/foo "bar"
4. unpause the domain
xm unpause domain
And then from inside the domain I can read the values with
/usr/lib/xen/bin/xenstore-read guest/foo
But it just seems like a few more steps than it should be. So I'm
wondering if there is a better way to do this?
--joe
_______________________________________________
xen-discuss mailing list
[email protected]