diff options
author | Ewan Mellor <ewan@xensource.com> | 2007-02-25 22:31:43 +0000 |
---|---|---|
committer | Ewan Mellor <ewan@xensource.com> | 2007-02-25 22:31:43 +0000 |
commit | 94217354536e8136e0c048809d199af2ff999d06 (patch) | |
tree | d584ef7c7cd4c609b65c78ab705ff789cf29fd87 /tools/libxen/include | |
parent | 6bae08b49815fb00e5ded98494650ed1b7006345 (diff) | |
download | xen-94217354536e8136e0c048809d199af2ff999d06.tar.gz xen-94217354536e8136e0c048809d199af2ff999d06.tar.bz2 xen-94217354536e8136e0c048809d199af2ff999d06.zip |
Added a VM.domid field.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Diffstat (limited to 'tools/libxen/include')
-rw-r--r-- | tools/libxen/include/xen_vm.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/libxen/include/xen_vm.h b/tools/libxen/include/xen_vm.h index 15abbb11c7..228a3dcb07 100644 --- a/tools/libxen/include/xen_vm.h +++ b/tools/libxen/include/xen_vm.h @@ -146,6 +146,7 @@ typedef struct xen_vm_record char *pci_bus; xen_string_string_map *tools_version; xen_string_string_map *other_config; + int64_t domid; bool is_control_domain; struct xen_vm_metrics_record_opt *metrics; } xen_vm_record; @@ -547,6 +548,13 @@ xen_vm_get_other_config(xen_session *session, xen_string_string_map **result, xe /** + * Get the domid field of the given VM. + */ +extern bool +xen_vm_get_domid(xen_session *session, int64_t *result, xen_vm vm); + + +/** * Get the is_control_domain field of the given VM. */ extern bool |