Message ID | 1309118678-8327-2-git-send-email-alevy@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/client/virt/kvm_vm.py b/client/virt/kvm_vm.py index 3fa4b1a..48a1fc5 100644 --- a/client/virt/kvm_vm.py +++ b/client/virt/kvm_vm.py @@ -403,6 +403,9 @@ class VM(virt_vm.BaseVM): # Set the X11 display parameter if requested if params.get("x11_display"): qemu_cmd += "DISPLAY=%s " % params.get("x11_display") + # Update LD_LIBRARY_PATH for built libraries (libspice-server) + qemu_cmd += "LD_LIBRARY_PATH=%s " % ( + os.path.abspath(os.path.join(self.root_dir, 'build/lib'))) # Add the qemu binary qemu_cmd += qemu_binary # Add the VM's name