recent changes to xen/public/hvm/hvm_op.h
Hi,
changesets 21674, 21772, and 21773 all insert definitions into a block restricting the use to Xen and its tools, while I believe these operations are all supposed to be used directly by guests.
Am I missing something?
Thanks, Jan
I assume it was considered a handy place for HVM-related control-plane operations, but which guests shouldn't be executing themselves.
K.
Quoted 15 lines · Jan Beulich
Hi,
changesets 21674, 21772, and 21773 all insert definitions into a block restricting the use to Xen and its tools, while I believe these operations are all supposed to be used directly by guests.
Am I missing something?
Thanks, Jan
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 8 lines · Jan Beulich
Hi,
changesets 21674, 21772, and 21773 all insert definitions into a block restricting the use to Xen and its tools, while I believe these operations are all supposed to be used directly by guests.
Am I missing something?
I think we made a mistake: I am sure HVMOP_pagetable_dying is executed directly by guests and probably HVMOP_get_time too.
Quoted 7 lines · Stefano Stabellini
Quoted 6 lines · Jan Beulich
Hi,
changesets 21674, 21772, and 21773 all insert definitions into a block restricting the use to Xen and its tools, while I believe these operations are all supposed to be used directly by guests.
Quoted 5 lines
Quoted 2 lines
Am I missing something?
I think we made a mistake: I am sure
HVMOP_pagetable_dyingis executed directly by guests and probablyHVMOP_get_timetoo.
Yes, this is a porting error; all three of those are intended to be used by guests.
Cheers,
Tim.
Signature · 3 lines
Tim Deegan <[email protected]> Principal Software Engineer, XenServer Engineering Citrix Systems UK Ltd. (Company #02937203, SL9 0BG)
Move new HVM-op definitions outside the tools-only #ifdef
xen/include/public/hvm/hvm_op.h +2 -2
@@ -128,6 +128,8 @@ typedef struct xen_hvm_set_mem_type xen_typedef struct xen_hvm_set_mem_type xen_hvm_set_mem_type_t ;DEFINE_XEN_GUEST_HANDLE (xen_hvm_set_mem_type_t); +#endif /* defined(__XEN__) || defined(__XEN_TOOLS__) */ +/* Hint from PV drivers for pagetable destruction. */ #define HVMOP_pagetable_dying 9struct xen_hvm_pagetable_dying {
@@ -155,6 +157,4 @@ typedef struct xen_hvm_xentrace xen_hvm_typedef struct xen_hvm_xentrace xen_hvm_xentrace_t ;DEFINE_XEN_GUEST_HANDLE (xen_hvm_xentrace_t); -#endif /* defined(__XEN__) || defined(__XEN_TOOLS__) */ -#endif /* __XEN_PUBLIC_HVM_HVM_OP_H__ */
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel