aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxl/libxl_pci.c
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2011-10-18 13:36:42 +0100
committerIan Campbell <ian.campbell@citrix.com>2011-10-18 13:36:42 +0100
commit08ae462e0656c7e5ecae9e4fa1d571ea9cd9e5b3 (patch)
tree7ffd721f9f905a47e5a3b7cfd6a1f3f22d36a32b /tools/libxl/libxl_pci.c
parent391419266cb6799d6e2c8174403984ce8e566206 (diff)
downloadxen-08ae462e0656c7e5ecae9e4fa1d571ea9cd9e5b3.tar.gz
xen-08ae462e0656c7e5ecae9e4fa1d571ea9cd9e5b3.tar.bz2
xen-08ae462e0656c7e5ecae9e4fa1d571ea9cd9e5b3.zip
libxl: use IDL to define device front- and back-end kinds
I'd like to use the from_string functionality... Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Ian Jackson <ian.jackson.citrix.com> Committed-by: Ian Jackson <ian.jackson.citrix.com>
Diffstat (limited to 'tools/libxl/libxl_pci.c')
-rw-r--r--tools/libxl/libxl_pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/libxl/libxl_pci.c b/tools/libxl/libxl_pci.c
index 4c8f4e0c76..84676f4d4f 100644
--- a/tools/libxl/libxl_pci.c
+++ b/tools/libxl/libxl_pci.c
@@ -244,10 +244,10 @@ int libxl__create_pci_backend(libxl__gc *gc, uint32_t domid,
/* add pci device */
device.backend_devid = 0;
device.backend_domid = 0;
- device.backend_kind = DEVICE_PCI;
+ device.backend_kind = LIBXL__DEVICE_KIND_PCI;
device.devid = 0;
device.domid = domid;
- device.kind = DEVICE_PCI;
+ device.kind = LIBXL__DEVICE_KIND_PCI;
flexarray_append_pair(back, "frontend-id", libxl__sprintf(gc, "%d", domid));
flexarray_append_pair(back, "online", "1");