mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
inject-nmi: Implementing the remote protocol
This commit is contained in:
parent
9a1b5dc66f
commit
b8c776eb63
@ -35,7 +35,7 @@ sub name_to_ProcName {
|
||||
@elems = map { $_ =~ s/Nwfilter/NWFilter/; $_ =~ s/Xml/XML/;
|
||||
$_ =~ s/Uri/URI/; $_ =~ s/Uuid/UUID/; $_ =~ s/Id/ID/;
|
||||
$_ =~ s/Mac/MAC/; $_ =~ s/Cpu/CPU/; $_ =~ s/Os/OS/;
|
||||
$_ } @elems;
|
||||
$_ =~ s/Nmi/NMI/; $_ } @elems;
|
||||
join "", @elems
|
||||
}
|
||||
|
||||
|
@ -6493,7 +6493,7 @@ static virDriver remote_driver = {
|
||||
remoteDomainSnapshotDelete, /* domainSnapshotDelete */
|
||||
remoteQemuDomainMonitorCommand, /* qemuDomainMonitorCommand */
|
||||
remoteDomainOpenConsole, /* domainOpenConsole */
|
||||
NULL, /* domainInjectNMI */
|
||||
remoteDomainInjectNMI, /* domainInjectNMI */
|
||||
};
|
||||
|
||||
static virNetworkDriver network_driver = {
|
||||
|
@ -817,6 +817,11 @@ struct remote_domain_undefine_args {
|
||||
remote_nonnull_domain dom;
|
||||
};
|
||||
|
||||
struct remote_domain_inject_nmi_args {
|
||||
remote_nonnull_domain dom;
|
||||
unsigned int flags;
|
||||
};
|
||||
|
||||
struct remote_domain_set_vcpus_args {
|
||||
remote_nonnull_domain dom;
|
||||
int nvcpus;
|
||||
@ -2176,7 +2181,8 @@ enum remote_procedure {
|
||||
REMOTE_PROC_DOMAIN_GET_BLKIO_PARAMETERS = 206,
|
||||
REMOTE_PROC_DOMAIN_MIGRATE_SET_MAX_SPEED = 207,
|
||||
REMOTE_PROC_STORAGE_VOL_UPLOAD = 208,
|
||||
REMOTE_PROC_STORAGE_VOL_DOWNLOAD = 209
|
||||
REMOTE_PROC_STORAGE_VOL_DOWNLOAD = 209,
|
||||
REMOTE_PROC_DOMAIN_INJECT_NMI = 210
|
||||
|
||||
/*
|
||||
* Notice how the entries are grouped in sets of 10 ?
|
||||
|
@ -504,6 +504,10 @@ struct remote_domain_define_xml_ret {
|
||||
struct remote_domain_undefine_args {
|
||||
remote_nonnull_domain dom;
|
||||
};
|
||||
struct remote_domain_inject_nmi_args {
|
||||
remote_nonnull_domain dom;
|
||||
u_int flags;
|
||||
};
|
||||
struct remote_domain_set_vcpus_args {
|
||||
remote_nonnull_domain dom;
|
||||
int nvcpus;
|
||||
|
Loading…
Reference in New Issue
Block a user