1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-23 21:34:54 +03:00

tests: remove unwanted VIR_FREE of spice and vnc default listen

After the test and qemu_process refactor now we can benefit from default
listen address for spice and vnc in tests.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
Pavel Hrdina 2016-03-23 16:32:11 +01:00
parent 19b6709da8
commit 71ea10851d
2 changed files with 1 additions and 4 deletions

View File

@ -29,7 +29,7 @@ media=cdrom,id=drive-ide0-1-0 \
-net tap,fd=3,vlan=0,name=hostnet0 \ -net tap,fd=3,vlan=0,name=hostnet0 \
-serial pty \ -serial pty \
-device usb-tablet,id=input0 \ -device usb-tablet,id=input0 \
-spice port=5900 \ -spice port=5900,addr=127.0.0.1 \
-vga std \ -vga std \
-device AC97,id=sound0,bus=pci.0,addr=0x3 \ -device AC97,id=sound0,bus=pci.0,addr=0x3 \
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5

View File

@ -489,9 +489,6 @@ mymain(void)
driver.privileged = true; driver.privileged = true;
VIR_FREE(driver.config->spiceListen);
VIR_FREE(driver.config->vncListen);
VIR_FREE(driver.config->vncTLSx509certdir); VIR_FREE(driver.config->vncTLSx509certdir);
if (VIR_STRDUP_QUIET(driver.config->vncTLSx509certdir, "/etc/pki/libvirt-vnc") < 0) if (VIR_STRDUP_QUIET(driver.config->vncTLSx509certdir, "/etc/pki/libvirt-vnc") < 0)
return EXIT_FAILURE; return EXIT_FAILURE;