]> www.infradead.org Git - users/dwmw2/qemu.git/commit
i386/xen: handle guest hypercalls
authorJoao Martins <joao.m.martins@oracle.com>
Wed, 13 Jun 2018 14:14:31 +0000 (10:14 -0400)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Mon, 27 Feb 2023 11:01:27 +0000 (11:01 +0000)
commit6bf057c688d813da2c6f287942079ffdb1d7c81b
tree1e0d1ec55e8aaccb71d401ba9f26c828edcb1290
parentb5c83e5d9c31310d2d100841ec1a9f2751e79d93
i386/xen: handle guest hypercalls

This means handling the new exit reason for Xen but still
crashing on purpose. As we implement each of the hypercalls
we will then return the right return code.

Signed-off-by: Joao Martins <joao.m.martins@oracle.com>
[dwmw2: Add CPL to hypercall tracing, disallow hypercalls from CPL > 0]
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Reviewed-by: Paul Durrant <paul@xen.org>
target/i386/kvm/kvm.c
target/i386/kvm/trace-events
target/i386/kvm/xen-emu.c
target/i386/kvm/xen-emu.h