[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH v2 4/7] x86/vmx: add do_vmtrace_op
>>>>> +struct xen_hvm_vmtrace_op { >>>>> + /* IN variable */ >>>>> + uint32_t version; /* HVMOP_VMTRACE_INTERFACE_VERSION */ >>>>> + uint32_t cmd; >>>>> +/* Enable/disable external vmtrace for given domain */ >>>>> +#define HVMOP_vmtrace_ipt_enable 1 >>>>> +#define HVMOP_vmtrace_ipt_disable 2 >>>>> +#define HVMOP_vmtrace_ipt_get_offset 3 >>>>> + domid_t domain; >>>>> + uint32_t vcpu; >>>>> + uint64_t size; >>>>> + >>>>> + /* OUT variable */ >>>>> + uint64_t offset; >>>> >>>> If this is to be a tools-only interface, please use uint64_aligned_t. >>>> >>> >>> This type is not defined within hvm_op.h header. What should I do about it? >> >> It gets defined by xen.h, so should be available here. Its >> definitions live in a >> >> #if defined(__XEN__) || defined(__XEN_TOOLS__) >> >> section, which is what I did recommend to put your interface in >> as well. Unless you want this to be exposed to the guest itself, >> at which point further constraints would arise. >> When I've putted it into #if defined(__XEN__) || defined(__XEN_TOOLS__) then it complains about uint64_aligned_compat_t type missing. I also can't spot any single instance of uint64_aligned_t within this file. ml
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |