diff options
author | Ian Campbell <ian.campbell@citrix.com> | 2011-03-31 18:11:25 +0100 |
---|---|---|
committer | Ian Campbell <ian.campbell@citrix.com> | 2011-03-31 18:11:25 +0100 |
commit | d1611204f32a705ca82611ddcb8d6549b244b313 (patch) | |
tree | ba9ffef593093b1c31a95363b8a0e07eef60c6e2 /tools/ocaml | |
parent | 28745ea9bb4d23765d3000188dd2f480952df237 (diff) | |
download | xen-d1611204f32a705ca82611ddcb8d6549b244b313.tar.gz xen-d1611204f32a705ca82611ddcb8d6549b244b313.tar.bz2 xen-d1611204f32a705ca82611ddcb8d6549b244b313.zip |
libxl: remove "reg" and "enable" fields from PCI device.
The structure of the BDF argument used with PCI passthrough related
hypercalls was taken from the structure of the PCI config_address
register (I/O port 0xCF8) which allows I/O mapped access to PCI
configuration space but these fields have no meaning in the context of
PCI passthrough configuration and hence do not need to be exposed via
libxl.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/ocaml')
-rw-r--r-- | tools/ocaml/libs/xl/xl_stubs.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/ocaml/libs/xl/xl_stubs.c b/tools/ocaml/libs/xl/xl_stubs.c index b631e3da85..6c442ad818 100644 --- a/tools/ocaml/libs/xl/xl_stubs.c +++ b/tools/ocaml/libs/xl/xl_stubs.c @@ -288,11 +288,9 @@ static int device_pci_val(caml_gc *gc, libxl_device_pci *c_val, value v) /* FIXME: propagate API change to ocaml */ u.value = Int_val(Field(v, 0)); - c_val->reg = u.fields.reg; c_val->func = u.fields.func; c_val->dev = u.fields.dev; c_val->bus = u.fields.bus; - c_val->enable = u.fields.enable; c_val->domain = Int_val(Field(v, 1)); c_val->vdevfn = Int_val(Field(v, 2)); |