1 Virtual System Controller
2 =========================
4 The ``virt-ctrl`` device is a simple interface defined for the pure
5 virtual machine with no hardware reference implementation to allow the
6 guest kernel to send command to the host hypervisor.
8 The specification can evolve, the current state is defined as below.
10 This is a MMIO mapped device using 256 bytes.
12 Two 32bit registers are defined:
14 the features register (read-only, address 0x00)
15 This register allows the device to report features supported by the
17 The only feature supported for the moment is power control (0x01).
19 the command register (write-only, address 0x04)
20 This register allows the kernel to send the commands to the hypervisor.
21 The implemented commands are part of the power control feature and
22 are reset (1), halt (2) and panic (3).
23 A basic command, no-op (0), is always present and can be used to test the
24 register access. This command has no effect.