diff options
Diffstat (limited to 'plugin_proto/protos/plugin.proto')
-rw-r--r-- | plugin_proto/protos/plugin.proto | 38 |
1 files changed, 24 insertions, 14 deletions
diff --git a/plugin_proto/protos/plugin.proto b/plugin_proto/protos/plugin.proto index 194b315..0e6f883 100644 --- a/plugin_proto/protos/plugin.proto +++ b/plugin_proto/protos/plugin.proto @@ -72,6 +72,9 @@ message MainRequest { uint32 extension = 1; } + message CpuidRequest { + } + message ReserveRange { AddressSpace space = 1; uint64 start = 2; @@ -131,13 +134,15 @@ message MainRequest { NewConnection new_connection = 3; GetShutdownEventfd get_shutdown_eventfd = 4; CheckExtension check_extension = 5; - ReserveRange reserve_range = 6; - SetIrq set_irq = 7; - SetIrqRouting set_irq_routing = 8; - SetIdentityMapAddr set_identity_map_addr = 9; - PauseVcpus pause_vcpus = 10; - GetVcpus get_vcpus = 11; - Start start = 12; + CpuidRequest get_supported_cpuid = 6; + CpuidRequest get_emulated_cpuid = 7; + ReserveRange reserve_range = 8; + SetIrq set_irq = 9; + SetIrqRouting set_irq_routing = 10; + SetIdentityMapAddr set_identity_map_addr = 11; + PauseVcpus pause_vcpus = 12; + GetVcpus get_vcpus = 13; + Start start = 14; // Method for a Memory type object for retrieving the dirty bitmap. Only valid if the memory // object was created with dirty_log set. MemoryDirtyLog dirty_log = 101; @@ -156,6 +161,9 @@ message MainResponse { message CheckExtension { bool has_extension = 1; } + message CpuidResponse { + repeated CpuidEntry entries = 1; + } message ReserveRange {} message SetIrq {} message SetIrqRouting {} @@ -179,13 +187,15 @@ message MainResponse { NewConnection new_connection = 4; GetShutdownEventfd get_shutdown_eventfd = 5; CheckExtension check_extension = 6; - ReserveRange reserve_range = 7; - SetIrq set_irq = 8; - SetIrqRouting set_irq_routing = 9; - SetIdentityMapAddr set_identity_map_addr = 10; - PauseVcpus pause_vcpus = 11; - GetVcpus get_vcpus = 12; - Start start = 13; + CpuidResponse get_supported_cpuid = 7; + CpuidResponse get_emulated_cpuid = 8; + ReserveRange reserve_range = 9; + SetIrq set_irq = 10; + SetIrqRouting set_irq_routing = 11; + SetIdentityMapAddr set_identity_map_addr = 12; + PauseVcpus pause_vcpus = 13; + GetVcpus get_vcpus = 14; + Start start = 15; MemoryDirtyLog dirty_log = 101; } } |