[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Re: hvmloader/xenbus.c: How to modify or add a key-value pair in xenstore
2011/8/16 Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx> (please do not top post) I tried in the context of mini-os. I use the test function in mini-os/xenbus/xenbus.c, such as do_write_test("device/vif/0/flibble", "flobble"). Also I comment out the do_rm_test("device/vif/0/flibble").
When the mini-os starts to run, I use the xenstore-ls to see the keys and values, but I cannot find the key /local/domain/<domId>/device/vif/0/flibble and its value.
Yes, I saw the frontend drivers use these functions. But, it seems all the keys are created by dom0 or other tools instead of mini-os itself.
When I change the key name in the front driver that is going to be create by method xenbus_printf(), such as change from err = xenbus_printf(xbt, nodename, "ring-ref","%u", dev->ring_ref);
to err = xenbus_printf(xbt, nodename, "ring-ref-0","%u", dev->ring_ref);
I cannot find the ring-ref-0 in xenstore, when mini-os is running.
I am not sure if the domain can operate any keys and values in /local/domain/<Id of this domain>/, such as change "name" to another one, add a new key-value /local/domain/<Id of this domain>/new-key = new-value.
Thanks, Bei Gua
_______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |