Skip to content

Commit

Permalink
Merge pull request xapi-project#7 from thomassa/rename-to-vendor-device
Browse files Browse the repository at this point in the history
CP-14832: rename auto-update-drivers to has-vendor-device
  • Loading branch information
johnelse committed Dec 16, 2015
2 parents 52734a0 + 56e15ae commit 7e69eee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/xn.ml
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ let add' copts x () = match x with
let vcpus = if mem _vcpus then find _vcpus |> int else 1 in
let pci_msitranslate = if mem _vm_pci_msitranslate then find _vm_pci_msitranslate |> bool else true in
let pci_power_mgmt = if mem _vm_pci_power_mgmt then find _vm_pci_power_mgmt |> bool else false in
let auto_update_drivers = if mem _vm_auto_update_drivers then find _vm_auto_update_drivers |> bool else false in
let has_vendor_device = if mem _vm_has_vendor_device then find _vm_has_vendor_device |> bool else false in
let vm = {
id = uuid;
name = name;
Expand Down Expand Up @@ -446,7 +446,7 @@ let add' copts x () = match x with
on_reboot = [ Vm.Start ];
pci_msitranslate = pci_msitranslate;
pci_power_mgmt = pci_power_mgmt;
auto_update_drivers = auto_update_drivers;
has_vendor_device = has_vendor_device;
} in
let (id: Vm.id) = Client.VM.add dbg vm in

Expand Down
2 changes: 1 addition & 1 deletion src/xn_cfg_types.ml
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@ let _msitranslate = "msitranslate"
let _power_mgmt = "power_mgmt"
let _vm_pci_msitranslate = "pci_msitranslate"
let _vm_pci_power_mgmt = "pci_power_mgmt"
let _vm_auto_update_drivers = "auto_update_drivers"
let _vm_has_vendor_device = "has_vendor_device"

0 comments on commit 7e69eee

Please sign in to comment.