On Tue, Nov 16, 2010 at 06:23:05PM +0000, Cutter 409 wrote:
> I'm making modifications to the hypervisor itself, which needs to be aware
> of a few things about each VM it's managing.
> For example, I want the hypervisor to know if the guest is Windows XP,
> Vista, 2000, etc. Somehow I'd like to store this information with the VM
> once, when configuring it, and be able to read it each time the VM is
> launched from the hypervisor.
> Xapi provides the ability to store arbitrary configuration data via the
> "other_config" section, which in python is "
> session.xenapi.VM.add_to_other_config() ", but I'm starting to think that
> information stored there is not readable by the hypervisor.
> Hope that clarifies, and thanks!
Sure, that makes it clearer.
I don't think there's a place to put arbitrary stuff that's then passed to
Xen. Am I right in assuming that the info would have to be available at
domain creation? I suspect you'd have to take a look at the details of domain
creation; how the functions in ocaml/xenops/domain.ml work and are used.
I don't have any experience of this part of the code myself though.
magnus.therning@xxxxxxxxxxxxx Jabber: magnusth@eng
There does not now, nor will there ever, exist a programming language
in which it is the least bit hard to write bad programs.
-- Flon's Axiom
Most software today is very much like an Egyptian pyramid with
millions of bricks piled on top of each other, with no structural
integrity, but just done by brute force and thousands of slaves.
-- Alan Kay
xen-api mailing list