On 08/06/2012 01:08 AM, Artem wrote:
section for target vm
<display>
<type>spice</type>
<address>192.168.0.3</address>
<port>5900</port>
<secure_port>5901</secure_port>
<monitors>1</monitors>
<allow_reconnect>true</allow_reconnect>
</display>
log from connect to spice-xpi
////////////////
2012-08-05 22:03:30.766+0000: 1587: debug : qemuMonitorIOProcess:327 :
QEMU_MONITOR_IO_PROCESS: mon=0x7f3b2c0135d0 buf={"timestamp":
{"seconds": 1344204210, "microseconds": 766409}, "event":
"SPICE_CONNECTED", "data": {"server": {"port":
"5901", "family":
"ipv4", "host": "192.168.0.3"}, "client":
{"port": "54549", "family":
"ipv4", "host": "192.168.0.156"}}}
len=243
2012-08-05 22:03:30.767+0000: 1587: debug : qemuMonitorUnref:210 :
QEMU_MONITOR_UNREF: mon=0x7f3b2c0135d0 refs=2
2012-08-05 22:03:30.768+0000: 1587: debug : qemuMonitorRef:201 :
QEMU_MONITOR_REF: mon=0x7f3b2c0135d0 refs=3
2012-08-05 22:03:30.768+0000: 1587: debug : qemuMonitorIOProcess:327 :
QEMU_MONITOR_IO_PROCESS: mon=0x7f3b2c0135d0 buf={"timestamp":
{"seconds": 1344204210, "microseconds": 768142}, "event":
"SPICE_CONNECTED", "data": {"server": {"port":
"5901", "family":
"ipv4", "host": "192.168.0.3"}, "client":
{"port": "54550", "family":
"ipv4", "host": "192.168.0.156"}}}
len=243
2012-08-05 22:03:30.769+0000: 1587: debug : qemuMonitorUnref:210 :
QEMU_MONITOR_UNREF: mon=0x7f3b2c0135d0 refs=2
2012-08-05 22:03:30.770+0000: 1587: debug : qemuMonitorRef:201 :
QEMU_MONITOR_REF: mon=0x7f3b2c0135d0 refs=3
2012-08-05 22:03:30.770+0000: 1587: debug : qemuMonitorIOProcess:327 :
QEMU_MONITOR_IO_PROCESS: mon=0x7f3b2c0135d0 buf={"timestamp":
{"seconds": 1344204210, "microseconds": 769686}, "event":
"SPICE_CONNECTED", "data": {"server": {"port":
"5901", "family":
"ipv4", "host": "192.168.0.3"}, "client":
{"port": "54551", "family":
"ipv4", "host": "192.168.0.156"}}}
len=243
2012-08-05 22:03:30.770+0000: 1587: debug : qemuMonitorUnref:210 :
QEMU_MONITOR_UNREF: mon=0x7f3b2c0135d0 refs=2
2012-08-05 22:03:31.095+0000: 1587: debug : qemuMonitorRef:201 :
QEMU_MONITOR_REF: mon=0x7f3b2c0135d0 refs=3
2012-08-05 22:03:31.095+0000: 1587: debug : qemuMonitorIOProcess:327 :
QEMU_MONITOR_IO_PROCESS: mon=0x7f3b2c0135d0 buf={"timestamp":
{"seconds": 1344204211, "microseconds": 94700}, "event":
"SPICE_INITIALIZED", "data": {"server": {"auth":
"spice", "port":
"5901", "family": "ipv4", "host":
"192.168.0.3"}, "client": {"port":
"54551", "family": "ipv4", "channel-type": 4,
"connection-id":
2145174067, "host": "192.168.0.156", "channel-id": 0,
"tls": true}}}
len=339
2012-08-05 22:03:31.095+0000: 1587: debug :
qemuMonitorEmitGraphics:975 : mon=0x7f3b2c0135d0
2012-08-05 22:03:31.095+0000: 1587: debug : qemuMonitorRef:201 :
QEMU_MONITOR_REF: mon=0x7f3b2c0135d0 refs=4
2012-08-05 22:03:31.095+0000: 1587: debug : qemuMonitorUnref:210 :
QEMU_MONITOR_UNREF: mon=0x7f3b2c0135d0 refs=3
2012-08-05 22:03:31.095+0000: 1587: debug :
qemuMonitorEmitGraphics:975 : mon=0x7f3b2c0135d0
2012-08-05 22:03:31.095+0000: 1587: debug : qemuMonitorRef:201 :
QEMU_MONITOR_REF: mon=0x7f3b2c0135d0 refs=4
2012-08-05 22:03:31.095+0000: 1587: debug : qemuMonitorUnref:210 :
QEMU_MONITOR_UNREF: mon=0x7f3b2c0135d0 refs=3
2012-08-05 22:03:31.095+0000: 1587: debug : qemuMonitorUnref:210 :
QEMU_MONITOR_UNREF: mon=0x7f3b2c0135d0 refs=2
2012-08-05 22:03:31.096+0000: 1587: debug : virDomainFree:2313 :
dom=0x21e2e60, (VM: name=dns-srv,
uuid=d3db360f-4ff5-46f5-b61d-db09465db52c)
2012-08-05 22:03:31.096+0000: 1587: debug : virDomainFree:2313 :
dom=0x21e2e60, (VM: name=dns-srv,
uuid=d3db360f-4ff5-46f5-b61d-db09465db52c)
2012-08-05 22:03:31.130+0000: 1587: debug : qemuMonitorRef:201 :
QEMU_MONITOR_REF: mon=0x7f3b2c0135d0 refs=3
2012-08-05 22:03:31.130+0000: 1587: debug : qemuMonitorIOProcess:327 :
QEMU_MONITOR_IO_PROCESS: mon=0x7f3b2c0135d0 buf={"timestamp":
{"seconds": 1344204211, "microseconds": 130196}, "event":
"SPICE_INITIALIZED", "data": {"server": {"auth":
"spice", "port":
"5901", "family": "ipv4", "host":
"192.168.0.3"}, "client": {"port":
"54549", "family": "ipv4", "channel-type": 3,
"connection-id":
2145174067, "host": "192.168.0.156", "channel-id": 0,
"tls": true}}}
len=340
2012-08-05 22:03:31.131+0000: 1587: debug :
qemuMonitorEmitGraphics:975 : mon=0x7f3b2c0135d0
2012-08-05 22:03:31.131+0000: 1587: debug : qemuMonitorRef:201 :
QEMU_MONITOR_REF: mon=0x7f3b2c0135d0 refs=4
2012-08-05 22:03:31.131+0000: 1587: debug : qemuMonitorUnref:210 :
QEMU_MONITOR_UNREF: mon=0x7f3b2c0135d0 refs=3
2012-08-05 22:03:31.131+0000: 1587: debug :
qemuMonitorEmitGraphics:975 : mon=0x7f3b2c0135d0
2012-08-05 22:03:31.131+0000: 1587: debug : qemuMonitorRef:201 :
QEMU_MONITOR_REF: mon=0x7f3b2c0135d0 refs=4
2012-08-05 22:03:31.131+0000: 1587: debug : qemuMonitorUnref:210 :
QEMU_MONITOR_UNREF: mon=0x7f3b2c0135d0 refs=3
2012-08-05 22:03:31.131+0000: 1587: debug : qemuMonitorUnref:210 :
QEMU_MONITOR_UNREF: mon=0x7f3b2c0135d0 refs=2
2012-08-05 22:03:31.131+0000: 1587: debug : virDomainFree:2313 :
dom=0x21e2e60, (VM: name=dns-srv,
uuid=d3db360f-4ff5-46f5-b61d-db09465db52c)
2012-08-05 22:03:31.132+0000: 1587: debug : virDomainFree:2313 :
dom=0x21e2e60, (VM: name=dns-srv,
uuid=d3db360f-4ff5-46f5-b61d-db09465db52c)
2012-08-05 22:03:31.135+0000: 1587: debug : qemuMonitorRef:201 :
QEMU_MONITOR_REF: mon=0x7f3b2c0135d0 refs=3
2012-08-05 22:03:31.135+0000: 1587: debug : qemuMonitorIOProcess:327 :
QEMU_MONITOR_IO_PROCESS: mon=0x7f3b2c0135d0 buf={"timestamp":
{"seconds": 1344204211, "microseconds": 133524}, "event":
"SPICE_INITIALIZED", "data": {"server": {"auth":
"spice", "port":
"5901", "family": "ipv4", "host":
"192.168.0.3"}, "client": {"port":
"54550", "family": "ipv4", "channel-type": 2,
"connection-id":
2145174067, "host": "192.168.0.156", "channel-id": 0,
"tls": true}}}
len=340
////////
2012/8/6 Itamar Heim <iheim(a)redhat.com>:
> why are you assuming port 5901 is the secure port for spice connection?
what about setting the spice ticket/password and passing it to spice client?