Displaying 5 results from an estimated 5 matches for "hvmop_get_param".
2010 Aug 03
1
oops when access xenstore in hvm guest
.../* Replies and async watch events. */
XENSTORE_RING_IDX req_cons, req_prod;
XENSTORE_RING_IDX rsp_cons, rsp_prod;
};
struct xenstore_domain_interface *xenstore;
xen_hvm_param_t param;
param.domid = DOMID_SELF;
param.index = HVM_PARAM_STORE_PFN;
if ( hypercall_hvm_op(HVMOP_get_param, ¶m) )
BUG();
xenstore = (void *) (unsigned long) (param.value << PAGE_SHIFT);
param.domid = DOMID_SELF;
param.index = HVM_PARAM_STORE_EVTCHN;
if ( hypercall_hvm_op(HVMOP_get_param, ¶m) )
BUG();
xenstore_event = param.value;
I get the x...
2010 Aug 05
1
How can i get VA from a pfn in HVM guest
...sing following code, how can i use it? Simply using __va() seems wrong, for the ( param.value << PAGE_SHIFT ) is feffc000 in my test module, using __va() will overflow.
xen_hvm_param_t param;
param.domid = DOMID_SELF;
param.index = HVM_PARAM_STORE_PFN;
hypercall_hvm_op(HVMOP_get_param, ¶m);
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
2013 Jul 22
11
[PATCH] xen: arm: document which hypercalls (and subops) are supported on ARM
...y supported
+ *
+ * HYPERVISOR_sysctl
+ * All generic sub-operations, with the exception of:
+ * * XEN_SYSCTL_page_offline_op
+ * * XEN_SYSCTL_get_pmstat
+ * * XEN_SYSCTL_pm_op
+ *
+ * HYPERVISOR_hvm_op
+ * Exactly these sub-operations are supported:
+ * * HVMOP_set_param
+ * * HVMOP_get_param
+ *
+ * HYPERVISOR_grant_table_op
+ * All generic sub-operations
+ *
+ * HYPERVISOR_vcpu_op
+ * Exactly these sub-operations are supported:
+ * * VCPUOP_register_vcpu_info
+ * * VCPUOP_register_runstate_memory_area
+ */
+
#define XEN_HYPERCALL_TAG 0XEA1
#define uint64_aligned_t ui...
2007 Mar 24
5
memsize for HVM save/restore
As you know, HVM save/restore broke recently because restored config miss guest
memsize that used by xc_hvm_restore to locate some pfn.
After discussion, we decided to remove the pfn deduction logic from restore side
by adding a general memory layout. I have a patch for it.
But then qemu broke, because it also require the memsize to locate the share
page. We can''t use the previous
2012 Sep 04
2
[PATCH] valgrind: Support for ioctls used by Xen toolstack processes.
...t; # _hvm_op "_t", _field)
+
+ switch (op) {
+ case HVMOP_set_param:
+ __PRE_XEN_HVMOP_READ(set_param, xen_hvm_param_t, domid);
+ __PRE_XEN_HVMOP_READ(set_param, xen_hvm_param_t, index);
+ __PRE_XEN_HVMOP_READ(set_param, xen_hvm_param_t, value);
+ break;
+
+ case HVMOP_get_param:
+ __PRE_XEN_HVMOP_READ(get_param, xen_hvm_param_t, domid);
+ __PRE_XEN_HVMOP_READ(get_param, xen_hvm_param_t, index);
+ break;
+
+ default:
+ bad_subop(tid, layout, arrghs, status, flags,
+ "__HYPERVISOR_hvm_op", op);
+ break;
+ }
+#undef __PRE...