]> git.proxmox.com Git - qemu-server.git/commitdiff
rename option 'qga' to 'agent'
authorDietmar Maurer <dietmar@proxmox.com>
Tue, 4 Sep 2012 04:31:44 +0000 (06:31 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 4 Sep 2012 04:44:08 +0000 (06:44 +0200)
PVE/QemuServer.pm

index 9c9af3ffccb02ecb290d818f9b50f5e6a539b82c..18b987f7c386ac0945eef453d323c3d01280e203 100644 (file)
@@ -287,7 +287,7 @@ EODESC
        description => "Enable/disable ACPI.",
        default => 1,
     },
-    qga => {
+    agent => {
        optional => 1,
        type => 'boolean',
        description => "Enable/disable Qemu GuestAgent.",
@@ -2217,7 +2217,7 @@ sub config_to_command {
     #push @$cmd, '-soundhw', 'es1370';
     #push @$cmd, '-soundhw', $soundhw if $soundhw;
 
-    if($conf->{qga}) {
+    if($conf->{agent}) {
        my $qgasocket = qga_socket($vmid);
        my $pciaddr = print_pci_addr("qga0", $bridges);
        push @$devices, '-chardev', "socket,path=$qgasocket,server,nowait,id=qga0";