From 56e15ae9b19d12999bd34a05bb58a25bfdf570df Mon Sep 17 00:00:00 2001 From: Thomas Sanders Date: Wed, 16 Dec 2015 16:37:44 +0000 Subject: [PATCH] CP-14832: rename auto-update-drivers to has-vendor-device Signed-off-by: Thomas Sanders --- src/xn.ml | 4 ++-- src/xn_cfg_types.ml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/xn.ml b/src/xn.ml index 71fdd009b..56f236c02 100644 --- a/src/xn.ml +++ b/src/xn.ml @@ -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; @@ -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 diff --git a/src/xn_cfg_types.ml b/src/xn_cfg_types.ml index 2261d906e..ff931968c 100644 --- a/src/xn_cfg_types.ml +++ b/src/xn_cfg_types.ml @@ -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"