Hi,

Our qemu test framework was missing xen support.
This patchset enables it optionally by allowing an env
var called XEN_BIN to be defined by the user, which is
a path to the xen binary.

When it exists, it will be used as the multiboot kernel
and gnumach + test will be loaded as grub2 modules as
the dom0 xen domain OS.
If xen was compiled with CONFIG_PV32, both 32b and 64b
gnumach xen kernels are able to boot.
If xen was also compiled with debug tracing, both the
xen log and gnumach log will be visible in stdout from
the qemu tests.

Additionally, this fixes the bug that qemu tests were
unable to be killed via ctrl-c when run in the foreground
because -serial stdio was not passed as an option to qemu.
Only passing -nographic does not allow keyboard events
to be captured even though it does redirect serial to stdout.

This should make it easier for the next person to develop
more xen support for gnumach.

Thanks,
Damien



Reply via email to