[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-API] [PATCH 3 of 6] REBASE-4.1: vmops: apply CPUID to all domains
# HG changeset patch # User Ian Campbell <ian.campbell@xxxxxxxxxx> # Date 1294740909 0 # Node ID 7d294cb6a37ebaf8c459d1bb802a2b2d146c1bc1 # Parent 6514f7298111bf3113f93b04543f7d1e41264fb9 REBASE-4.1: vmops: apply CPUID to all domains. Not just when xenclient is enabled. I think the indentation was confusing here and the PCI passthrough bit wasn't actually guarded by Xapi_globs.xenclient_enabled. Required on newer hypervisor otherwise guest sees all cpuid leafs == 0. Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx> diff -r 6514f7298111 -r 7d294cb6a37e ocaml/xapi/vmops.ml --- a/ocaml/xapi/vmops.ml Tue Jan 11 10:15:09 2011 +0000 +++ b/ocaml/xapi/vmops.ml Tue Jan 11 10:15:09 2011 +0000 @@ -1052,11 +1052,10 @@ let start_paused ?(progress_cb = fun _ - let hvm = Helpers.is_hvm snapshot in - if Xapi_globs.xenclient_enabled then - Domain.cpuid_apply ~xc ~hvm domid; + Domain.cpuid_apply ~xc ~hvm domid; - (* XXX: PCI passthrough needs a lot of work *) - let pcidevs = (match pcidevs with Some x -> x | None -> pcidevs_of_vm ~__context ~vm) in + (* XXX: PCI passthrough needs a lot of work *) + let pcidevs = (match pcidevs with Some x -> x | None -> pcidevs_of_vm ~__context ~vm) in (* Don't attempt to attach empty VBDs to PV guests: they can't handle them *) let vbds = _______________________________________________ xen-api mailing list xen-api@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/mailman/listinfo/xen-api
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |