Displaying 1 result from an estimated 1 matches for "viridian_load_cpu_ctxt".
2011 Sep 23
1
[PATCH] Add save/restore support for viridian APIC assist pfn
...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);
+ return (hvm_save_entry(VIRIDIAN_DOMAIN, 0, h, &ctxt) != 0);
}
-static int viridian_load_cpu_ctxt(struct domain *d, hvm_domain_context_t *h)
+static int viridian_load_domain_ctxt(struct domain *d, hvm_domain_context_t *h)
{
- struct hvm_viridian_context ctxt;
+ struct hvm_viridian_domain_context ctxt;
- if ( hvm_load_entry(VIRIDIAN, h, &ctxt) != 0 )
+ if ( hvm_load_entry(VIRI...