mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
i386/xen: add monitor commands to test event injection
Specifically add listing, injection of event channels. Signed-off-by: Joao Martins <joao.m.martins@oracle.com> Signed-off-by: David Woodhouse <dwmw@amazon.co.uk> Acked-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Reviewed-by: Paul Durrant <paul@xen.org>
This commit is contained in:
parent
a15b10978f
commit
507cb64d6e
7 changed files with 320 additions and 0 deletions
|
@ -1815,3 +1815,32 @@ SRST
|
|||
Dump the FDT in dtb format to *filename*.
|
||||
ERST
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_XEN_EMU)
|
||||
{
|
||||
.name = "xen-event-inject",
|
||||
.args_type = "port:i",
|
||||
.params = "port",
|
||||
.help = "inject event channel",
|
||||
.cmd = hmp_xen_event_inject,
|
||||
},
|
||||
|
||||
SRST
|
||||
``xen-event-inject`` *port*
|
||||
Notify guest via event channel on port *port*.
|
||||
ERST
|
||||
|
||||
|
||||
{
|
||||
.name = "xen-event-list",
|
||||
.args_type = "",
|
||||
.params = "",
|
||||
.help = "list event channel state",
|
||||
.cmd = hmp_xen_event_list,
|
||||
},
|
||||
|
||||
SRST
|
||||
``xen-event-list``
|
||||
List event channels in the guest
|
||||
ERST
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue