]> www.infradead.org Git - users/dwmw2/qemu.git/commit
i386/xen: Implement SCHEDOP_poll and SCHEDOP_yield
authorDavid Woodhouse <dwmw@amazon.co.uk>
Wed, 14 Dec 2022 21:50:41 +0000 (21:50 +0000)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Fri, 23 Dec 2022 14:29:26 +0000 (14:29 +0000)
commitca598e4ccc85cbd19e3a50ac596e4d69f5aa24ae
tree92d4374531c11720643a8c0c8aa002a1f00f95ba
parent086445a5437a4fe981f5cd3fe516c041e2f7a950
i386/xen: Implement SCHEDOP_poll and SCHEDOP_yield

They both do the same thing and just call sched_yield. This is enough to
stop the Linux guest panicking when running on a host kernel which doesn't
intercept SCHEDOP_poll and lets it reach userspace.

Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
target/i386/kvm/xen-emu.c