can not run vm with a serial port
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Invalid
|
Undecided
|
Unassigned |
Bug Description
environment:
server: centOS 6.5, 3.14.19, x86_64
qemu-kvm: QEMU PC emulator version 0.12.1 (qemu-kvm-
qemu-system-x86_64 :QEMU emulator version 1.2.0 (qemu-kvm-1.2.0), Copyright (c) 2003-2008 Fabrice Bellard
virt-manager: 0.9.0
VM: centOS 6.5, 3.12.30, x86_64
reproduce step:
1. add serial device
2. select device type: unix socket
3. run the VM
phenomenon:
Error starting domain: internal error process exited while connecting to monitor: qemu-kvm: -chardev socket,
qemu-kvm: -chardev socket,
Traceback (most recent call last):
File "/usr/share/
callback(
File "/usr/share/
callback(*args, **kwargs)
File "/usr/share/
self.
File "/usr/lib64/
if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)
libvirtError: internal error process exited while connecting to monitor: qemu-kvm: -chardev socket,
qemu-kvm: -chardev socket,
Opening a socket with the name of a device file can not work, you've got to specify a different name for a unix socket instead. So this is not a bug.