diff options
author | Ian Campbell <ian.campbell@citrix.com> | 2012-01-31 14:41:00 +0000 |
---|---|---|
committer | Ian Campbell <ian.campbell@citrix.com> | 2012-01-31 14:41:00 +0000 |
commit | c2ada1ed28eae04dfd751a81b6dbcf9ed219be3d (patch) | |
tree | 5496974380d0682db94a380fd22d872e3ee78d29 /tools/libxl/libxl_uuid.c | |
parent | 582e9c1434c3c07d9c713ffcdcc74a8fde583ff4 (diff) | |
download | xen-c2ada1ed28eae04dfd751a81b6dbcf9ed219be3d.tar.gz xen-c2ada1ed28eae04dfd751a81b6dbcf9ed219be3d.tar.bz2 xen-c2ada1ed28eae04dfd751a81b6dbcf9ed219be3d.zip |
libxl: plumb libxl_domain_config down into device model creation.
Creating the device model derives lots of bits from the guest configuration.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Diffstat (limited to 'tools/libxl/libxl_uuid.c')
-rw-r--r-- | tools/libxl/libxl_uuid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/libxl/libxl_uuid.c b/tools/libxl/libxl_uuid.c index 7c18d719da..ecc29c7e2c 100644 --- a/tools/libxl/libxl_uuid.c +++ b/tools/libxl/libxl_uuid.c @@ -35,7 +35,7 @@ int libxl_uuid_from_string(libxl_uuid *uuid, const char *in) return uuid_parse(in, uuid->uuid); } -void libxl_uuid_copy(libxl_uuid *dst, libxl_uuid *src) +void libxl_uuid_copy(libxl_uuid *dst, const libxl_uuid *src) { uuid_copy(dst->uuid, src->uuid); } @@ -82,7 +82,7 @@ int libxl_uuid_from_string(libxl_uuid *uuid, const char *in) } #undef LIBXL__UUID_PTRS -void libxl_uuid_copy(libxl_uuid *dst, libxl_uuid *src) +void libxl_uuid_copy(libxl_uuid *dst, const libxl_uuid *src) { memcpy(dst->uuid, src->uuid, sizeof(dst->uuid)); } |