android_kernel_xiaomi_sm8350/arch/x86/lguest
Rusty Russell 19f1537b7b Lguest support for Virtio
This makes lguest able to use the virtio devices.

We change the device descriptor page from a simple array to a variable
length "type, config_len, status, config data..." format, and
implement virtio_config_ops to read from that config data.

We use the virtio ring implementation for an efficient Guest <-> Host
virtqueue mechanism, and the new LHCALL_NOTIFY hypercall to kick the
host when it changes.

We also use LHCALL_NOTIFY on kernel addresses for very very early
console output.  We could have another hypercall, but this hack works
quite well.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2007-10-23 15:49:56 +10:00
..
boot.c Lguest support for Virtio 2007-10-23 15:49:56 +10:00
i386_head.S Boot with virtual == physical to get closer to native Linux. 2007-10-23 15:49:54 +10:00
Kconfig Lguest support for Virtio 2007-10-23 15:49:56 +10:00
Makefile