Skip to content

Commit

Permalink
CP-14832: rename auto-update-drivers to has-vendor-device
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Sanders <[email protected]>
  • Loading branch information
thomassa committed Dec 16, 2015
1 parent 52734a0 commit 56e15ae
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 56e15ae

Please sign in to comment.