From 78aedb766285675b5ef4bce0a8b40c2f9ed2f4d7 Mon Sep 17 00:00:00 2001 From: Vincent Hanquez Date: Tue, 26 May 2009 18:50:41 +0100 Subject: [PATCH] add a sound option in Dm parameter --- xenops/device.ml | 1 + xenops/device.mli | 1 + xenvm/vmact.ml | 1 + xenvm/xenops.ml | 1 + 4 files changed, 4 insertions(+) diff --git a/xenops/device.ml b/xenops/device.ml index f2845f0..539159f 100644 --- a/xenops/device.ml +++ b/xenops/device.ml @@ -1063,6 +1063,7 @@ type info = { acpi: bool; disp: disp_opt; pci_emulations: string list; + sound: string option; power_mgmt: int; oem_features: int; extras: (string * string option) list; diff --git a/xenops/device.mli b/xenops/device.mli index bf9695c..54ecc0e 100644 --- a/xenops/device.mli +++ b/xenops/device.mli @@ -152,6 +152,7 @@ sig acpi: bool; disp: disp_opt; pci_emulations: string list; + sound: string option; power_mgmt: int; oem_features: int; extras: (string * string option) list; diff --git a/xenvm/vmact.ml b/xenvm/vmact.ml index 630e1ea..d7dfb94 100644 --- a/xenvm/vmact.ml +++ b/xenvm/vmact.ml @@ -128,6 +128,7 @@ let dm_info_of_cfg cfg = Device.Dm.vcpus = cfg.vcpus; Device.Dm.nics = nics; Device.Dm.pci_emulations = []; + Device.Dm.sound = None; Device.Dm.usb = []; Device.Dm.acpi = cfg.acpi; Device.Dm.disp = disp; diff --git a/xenvm/xenops.ml b/xenvm/xenops.ml index 8518cfc..55cb2a5 100644 --- a/xenvm/xenops.ml +++ b/xenvm/xenops.ml @@ -293,6 +293,7 @@ let add_dm ~xs ~domid ~mem_max_kib ~vcpus ~boot = Device.Dm.nics = []; Device.Dm.pci_emulations = []; Device.Dm.usb = []; + Device.Dm.sound = None; Device.Dm.acpi = true; Device.Dm.disp = Device.Dm.NONE; Device.Dm.power_mgmt = 0; -- 2.39.5