[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [RFC PATCH 2/6] tools/libxc: Define VM_EVENT type



>>> On 19.12.18 at 19:52, <ppircalabu@xxxxxxxxxxxxxxx> wrote:
> @@ -796,7 +787,7 @@ struct xen_domctl_gdbsx_domstatus {
>   * EXDEV  - guest has PoD enabled
>   * EBUSY  - guest has or had paging enabled, ring buffer still active
>   */
> -#define XEN_DOMCTL_VM_EVENT_OP_PAGING            1
> +#define XEN_VM_EVENT_TYPE_PAGING         1

Assuming the renaming is for the purpose of re-use elsewhere,
I think these should be moved to vm_event.h then.

> + * This hypercall allows one to control the vm_event rings (enable/disable),
> + * as well as to signal to the hypervisor to pull responses (resume) and
> + * retrieve the event channel from the given ring.
> + */
> +#define XEN_VM_EVENT_ENABLE               0
> +#define XEN_VM_EVENT_DISABLE              1
> +#define XEN_VM_EVENT_RESUME               2

Same perhaps for these, albeit here you just move them down a
few lines.

Jan



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.