mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
Rename internal DumpXML functions to GetXMLDesc
This matches the public API and helps to get rid of some special case code in the remote generator. Rename driver API functions and XDR protocol structs. No functional change included outside of the remote generator.
This commit is contained in:
@@ -645,8 +645,6 @@ elsif ($opt_b) {
|
||||
$prefix = "Connect"
|
||||
} elsif ($calls{$_}->{ProcName} eq "SupportsFeature") {
|
||||
$prefix = "Drv"
|
||||
} elsif ($calls{$_}->{ProcName} =~ m/^(\S+)DumpXML$/) {
|
||||
$proc_name = "${1}GetXMLDesc"
|
||||
} elsif ($calls{$_}->{ProcName} eq "CPUBaseline") {
|
||||
$proc_name = "ConnectBaselineCPU"
|
||||
} elsif ($calls{$_}->{ProcName} eq "CPUCompare") {
|
||||
@@ -892,8 +890,8 @@ elsif ($opt_k) {
|
||||
# fix bad decisions in the xdr protocol
|
||||
if ($arg_name eq "flags" and
|
||||
$call->{ProcName} ne "DomainCoreDump" and
|
||||
$call->{ProcName} ne "DomainDumpXML" and
|
||||
$call->{ProcName} ne "NetworkDumpXML") {
|
||||
$call->{ProcName} ne "DomainGetXMLDesc" and
|
||||
$call->{ProcName} ne "NetworkGetXMLDesc") {
|
||||
$type_name = "unsigned int";
|
||||
} elsif ($arg_name eq "nvcpus" and
|
||||
$call->{ProcName} eq "DomainSetVcpus") {
|
||||
|
||||
Reference in New Issue
Block a user