Displaying 3 results from an estimated 3 matches for "is_viridian_domain".
2011 Sep 23
1
[PATCH] Add save/restore support for viridian APIC assist pfn
...:
return HVM_HCALL_completed;
}
-static int viridian_save_cpu_ctxt(struct domain *d, hvm_domain_context_t *h)
+static int viridian_save_domain_ctxt(struct domain *d, hvm_domain_context_t *h)
{
- struct hvm_viridian_context ctxt;
+ struct hvm_viridian_domain_context ctxt;
if ( !is_viridian_domain(d) )
return 0;
@@ -397,14 +397,14 @@ static int viridian_save_cpu_ctxt(struct
ctxt.hypercall_gpa = d->arch.hvm_domain.viridian.hypercall_gpa.raw;
ctxt.guest_os_id = d->arch.hvm_domain.viridian.guest_os_id.raw;
- return (hvm_save_entry(VIRIDIAN, 0, h, &ctxt) != 0)...
2011 Jul 04
0
[PATCH] Don''t expose CPUID time leaf when not using PVRDTSCP
...aps.c Mon Jul 04 07:57:32 2011 +0100
+++ b/xen/arch/x86/traps.c Mon Jul 04 17:17:27 2011 +0100
@@ -704,15 +704,19 @@ int cpuid_hypervisor_leaves( uint32_t id
struct domain *d = current->domain;
/* Optionally shift out of the way of Viridian architectural leaves. */
uint32_t base = is_viridian_domain(d) ? 0x40000100 : 0x40000000;
+ uint32_t limit;
idx -= base;
- if ( idx > 3 )
+
+ limit = (d->arch.tsc_mode < TSC_MODE_PVRDTSCP) ? 2 : 3;
+
+ if ( idx > limit )
return 0;
switch ( idx )
{
case 0:
- *eax = base + 3; /* Largest leaf */...
2013 Sep 23
57
[PATCH RFC v13 00/20] Introduce PVH domU support
This patch series is a reworking of a series developed by Mukesh
Rathor at Oracle. The entirety of the design and development was done
by him; I have only reworked, reorganized, and simplified things in a
way that I think makes more sense. The vast majority of the credit
for this effort therefore goes to him. This version is labelled v13
because it is based on his most recent series, v11.