<br><br><div class="gmail_quote">2012/3/9 Alon Levy <span dir="ltr"><<a href="mailto:alevy@redhat.com">alevy@redhat.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Fri, Mar 09, 2012 at 09:01:06AM +0800, wangfeng wangfeng wrote:<br>
> Hi, thank you for your patience.<br>
><br>
> The whole info qtree:<br>
</div>> *bus: main-system-bus*<br>
[snip]<br>
> * dev: virtio-serial-pci, id "virtio-serial0"*<br>
> * dev-prop: ioeventfd = on*<br>
> * dev-prop: vectors = 32*<br>
> * dev-prop: class = 0x780*<br>
> * dev-prop: indirect_desc = on*<br>
> * dev-prop: event_idx = on*<br>
> * dev-prop: max_ports = 31*<br>
> * bus-prop: addr = 04.0*<br>
> * bus-prop: romfile = <null>*<br>
> * bus-prop: rombar = 1*<br>
> * bus-prop: multifunction = off*<br>
> * bus-prop: command_serr_enable = on*<br>
> * class Class 0780, addr 00:04.0, pci id 1af4:1003 (sub 1af4:0003)*<br>
> * bar 0: i/o at 0xc200 [0xc21f]*<br>
> * bar 1: mem at 0xf4040000 [0xf4040fff]*<br>
> * bus: virtio-serial0.0*<br>
> * type virtio-serial-bus*<br>
> * dev: virtserialport, id "channel0"*<br>
> * dev-prop: chardev = charchannel0*<br>
> * bus-prop: nr = 1*<br>
> * bus-prop: name = "com.redhat.spice.0"*<br>
> * port 1, guest on, host on, throttle off*<br>
Ah, that's what I was looking for. Now that I see it I'm not sure if it<br>
gives me enough clues. It means the guest opened the device.<br>
<br>
Wang, just to make sure I understand, this is after virsh save and<br>
restore, right? so before that you had the same "guest on, host on" and<br>
working copy&paste, and after that none?<br>
<br></blockquote><div>No matter before or after save&restore, it is always "guest on, host on" and copy&paste worked well.</div><div>The only <span class="Apple-style-span" style="font-family:arial,sans-serif;font-size:13px;white-space:nowrap">distinguish is mouse.</span></div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Can you please provide a clean c:\windows\temp\vdagent.log and<br>
c:\windows\temp\vdservice.log, by clean I mean please delete them,<br>
restart the vm (so the driver and vdservice load in the usual manner, I<br>
don't want to just restart vdservice, that might "solve" the problem),<br>
save the files once (vdagent.pre.log, vdservice.pre.log), then virsh<br>
save, virsh restore, verify c&p *doesn't* work, and save the log files<br>
again (vdagent.post.log, vdservice.post.log) and attach them to this<br>
thread.<br></blockquote><div><b>vdagent.log:</b></div><div><div>7.534 VDAgent::run: </div><div>7.534 VDAgent::run: ***Agent started in session 1***</div><div>7.534 log_version: 0.5.1.0</div><div>7.534 VDAgent::connect_pipe: Connected to service pipe</div>
<div>7.534 VDAgent::send_announce_capabilities: Sending capabilities:</div><div>7.534 VDAgent::send_announce_capabilities: 37</div><div>7.534 VDAgent::input_desktop_message_loop: Desktop: Winlogon</div><div>7.534 VDAgent::handle_announce_capabilities: Got capabilities (1)</div>
<div>7.534 VDAgent::handle_announce_capabilities: 37</div><div>7.534 VDAgent::handle_announce_capabilities: Got capabilities (1)</div><div>7.534 VDAgent::handle_announce_capabilities: 37</div><div>7.534 VDAgent::handle_display_config: </div>
<div>7.534 DisplaySetting::set: setting display options</div><div>7.534 DisplaySetting::get_user_process_id: explorer.exe not found</div><div>7.534 DisplaySetting::reload_from_registry: get_user_process_id failed</div><div>
9.110 VDAgent::read_completion: error 233</div><div>9.110 VDAgent::run: Agent stopped</div><div>9.126 VDAgent::run: </div><div>9.126 VDAgent::run: ***Agent started in session 1***</div><div>9.126 log_version: 0.5.1.0</div>
<div>9.126 VDAgent::connect_pipe: Connected to service pipe</div><div>9.126 VDAgent::send_announce_capabilities: Sending capabilities:</div><div>9.126 VDAgent::send_announce_capabilities: 37</div><div>9.126 VDAgent::input_desktop_message_loop: Desktop: Winlogon</div>
<div>9.126 VDAgent::handle_announce_capabilities: Got capabilities (1)</div><div>9.126 VDAgent::handle_announce_capabilities: 37</div><div>9.703 VDAgent::handle_control: session logon</div><div>11.980 VDAgent::input_desktop_message_loop: WinSta0_DesktopSwitch</div>
<div>11.980 VDAgent::input_desktop_message_loop: Desktop: Default</div><div>11.980 VDAgent::input_desktop_message_loop: First display setting</div><div>11.980 DisplaySetting::load: loading display setting</div><div>11.980 DisplaySetting::reload_from_registry: explorer pid 1280</div>
<div>11.980 DisplaySetting::reload_wallpaper: </div><div>11.980 DisplaySetting::reload_wallpaper: wallpaper wasn't disabled</div><div>11.980 DisplaySetting::reload_font_smoothing: </div><div>11.980 DisplaySetting::reload_font_smoothing: font smoothing value didn't change</div>
<div>11.980 DisplaySetting::reload_animation: </div><div>11.980 DisplaySetting::reload_win_animation: </div><div>11.980 DisplaySetting::reload_win_animation: reload window animation: success</div><div>11.980 DisplaySetting::reload_ui_effects: </div>
<div>11.980 DisplaySetting::reload_ui_effects: UserPreferencesMask = 80073e9e 12</div><div>12.027 VDAgent::on_clipboard_grab: Unsupported clipboard format</div><div>################################ </div><div>after save&restore </div>
<div>######################################</div><div>157.576 VDAgent::wnd_proc: WM_DESTROYCLIPBOARD</div><div>320.379 VDAgent::handle_announce_capabilities: Got capabilities (1)</div><div>320.379 VDAgent::handle_announce_capabilities: 37</div>
<div>320.379 VDAgent::send_announce_capabilities: Sending capabilities:</div><div>320.379 VDAgent::send_announce_capabilities: 37</div><div>320.410 VDAgent::handle_display_config: </div><div>320.410 DisplaySetting::set: setting display options</div>
<div>320.410 DisplaySetting::reload_from_registry: explorer pid 1280</div><div>320.410 DisplaySetting::reload_wallpaper: </div><div>320.410 DisplaySetting::reload_wallpaper: wallpaper wasn't disabled</div><div>320.410 DisplaySetting::reload_font_smoothing: </div>
<div>320.410 DisplaySetting::reload_font_smoothing: font smoothing value didn't change</div><div>320.410 DisplaySetting::reload_animation: </div><div>320.410 DisplaySetting::reload_win_animation: </div><div>320.410 DisplaySetting::reload_win_animation: reload window animation: success</div>
<div>320.410 DisplaySetting::reload_ui_effects: </div><div>320.410 DisplaySetting::reload_ui_effects: UserPreferencesMask = 80073e9e 12</div><div>360.221 VDAgent::handle_announce_capabilities: Got capabilities (1)</div><div>
360.221 VDAgent::handle_announce_capabilities: 37</div><div>360.221 VDAgent::send_announce_capabilities: Sending capabilities:</div><div>360.221 VDAgent::send_announce_capabilities: 37</div><div>360.268 VDAgent::handle_display_config: </div>
<div>360.268 DisplaySetting::set: setting display options</div><div>360.268 DisplaySetting::reload_from_registry: explorer pid 1280</div><div>360.268 DisplaySetting::reload_wallpaper: </div><div>360.268 DisplaySetting::reload_wallpaper: wallpaper wasn't disabled</div>
<div>360.268 DisplaySetting::reload_font_smoothing: </div><div>360.268 DisplaySetting::reload_font_smoothing: font smoothing value didn't change</div><div>360.268 DisplaySetting::reload_animation: </div><div>360.268 DisplaySetting::reload_win_animation: </div>
<div>360.268 DisplaySetting::reload_win_animation: reload window animation: success</div><div>360.268 DisplaySetting::reload_ui_effects: </div><div>360.268 DisplaySetting::reload_ui_effects: UserPreferencesMask = 80073e9e 12</div>
<div>404.697 VDAgent::handle_announce_capabilities: Got capabilities (1)</div><div>404.697 VDAgent::handle_announce_capabilities: 37</div><div>404.697 VDAgent::send_announce_capabilities: Sending capabilities:</div><div>404.697 VDAgent::send_announce_capabilities: 37</div>
<div>405.212 VDAgent::handle_display_config: </div><div>405.212 DisplaySetting::set: setting display options</div><div>405.212 DisplaySetting::reload_from_registry: explorer pid 1280</div><div>405.212 DisplaySetting::reload_wallpaper: </div>
<div>405.212 DisplaySetting::reload_wallpaper: wallpaper wasn't disabled</div><div>405.212 DisplaySetting::reload_font_smoothing: </div><div>405.212 DisplaySetting::reload_font_smoothing: font smoothing value didn't change</div>
<div>405.212 DisplaySetting::reload_animation: </div><div>405.212 DisplaySetting::reload_win_animation: </div><div>405.212 DisplaySetting::reload_win_animation: reload window animation: success</div><div>405.212 DisplaySetting::reload_ui_effects: </div>
<div>405.212 DisplaySetting::reload_ui_effects: UserPreferencesMask = 80073e9e 12</div></div><div><br></div><div><b>vdservice.log(no new info after save&restore):</b></div><div> 624::INFO::2012-03-12 09:11:58,114::VDService::main::***Service started***</div>
<div>624::INFO::2012-03-12 09:11:58,114::log_version::1.1.0.1009</div><div>624::INFO::2012-03-12 09:11:58,114::VDService::launch_agent::Wait for vdagent to connect</div><div>624::INFO::2012-03-12 09:11:58,145::VDService::launch_agent::Pipe connected by vdagent</div>
<div>624::INFO::2012-03-12 09:11:58,145::VDService::execute::created VirtioVDIPort</div><div>624::INFO::2012-03-12 09:11:58,145::VDService::execute::Connected to server</div><div>612::INFO::2012-03-12 09:11:59,721::VDService::control_handler::Session 1 CONNECT</div>
<div>624::INFO::2012-03-12 09:11:59,721::VDService::handle_control_event::Control command 3</div><div>624::INFO::2012-03-12 09:11:59,721::VDService::kill_agent::vdagent exit code 0</div><div>624::INFO::2012-03-12 09:11:59,721::VDService::launch_agent::Wait for vdagent to connect</div>
<div>624::INFO::2012-03-12 09:11:59,736::VDService::launch_agent::Pipe connected by vdagent</div><div>612::INFO::2012-03-12 09:12:00,314::VDService::control_handler::Session 1 LOGON</div><div>624::INFO::2012-03-12 09:12:00,314::VDService::handle_control_event::Control command 2</div>
<div><br></div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Cc'ing Arnon, maybe he has some idea<br>
<br>
Also, please use text only email, and don't drop the list from the<br>
To/Cc, Thanks.<br>
<br>
> * dev: piix3-usb-uhci, id "usb"*<br>
> * dev-prop: masterbus = <null>*<br>
> * dev-prop: firstport = 0*<br>
> * bus-prop: addr = 01.2*<br>
> *<br>
> *<br>
> * bus-prop: romfile = <null>*<br>
> * bus-prop: rombar = 1*<br>
> * bus-prop: multifunction = off*<br>
> * bus-prop: command_serr_enable = on*<br>
> * class USB controller, addr 00:01.2, pci id 8086:7020 (sub<br>
> 1af4:1100)*<br>
> * bar 4: i/o at 0xc020 [0xc03f]*<br>
> * bus: usb.0*<br>
> * type USB*<br>
> * dev: usb-tablet, id "input0"*<br>
> * bus-prop: port = <null>*<br>
> * addr 0.2, port 1, speed 12, name QEMU USB Tablet, attached*<br>
> * dev: PIIX4_PM, id ""*<br>
> * dev-prop: smb_io_base = 45312*<br>
> * bus-prop: addr = 01.3*<br>
> *<br>
> *<br>
> * bus-prop: romfile = <null>*<br>
> * bus-prop: rombar = 1*<br>
> * bus-prop: multifunction = off*<br>
> * bus-prop: command_serr_enable = on*<br>
> * class Bridge, addr 00:01.3, pci id 8086:7113 (sub 1af4:1100)*<br>
> * bus: i2c*<br>
> * type I2C*<br>
> * dev: smbus-eeprom, id ""*<br>
> * bus-prop: address = 87*<br>
> * dev: smbus-eeprom, id ""*<br>
> * bus-prop: address = 86*<br>
> * dev: smbus-eeprom, id ""*<br>
> * bus-prop: address = 85*<br>
> * dev: smbus-eeprom, id ""*<br>
> * bus-prop: address = 84*<br>
> * dev: smbus-eeprom, id ""*<br>
> * bus-prop: address = 83*<br>
> * dev: smbus-eeprom, id ""*<br>
> * bus-prop: address = 82*<br>
> * dev: smbus-eeprom, id ""*<br>
> * bus-prop: address = 81*<br>
> * dev: smbus-eeprom, id ""*<br>
> * bus-prop: address = 80*<br>
> * dev: piix3-ide, id ""*<br>
> * bus-prop: addr = 01.1*<br>
> *<br>
> *<br>
> * bus-prop: romfile = <null>*<br>
> * bus-prop: rombar = 1*<br>
> * bus-prop: multifunction = off*<br>
> * bus-prop: command_serr_enable = on*<br>
> * class IDE controller, addr 00:01.1, pci id 8086:7010 (sub<br>
> 1af4:1100)*<br>
> * bar 4: i/o at 0xc000 [0xc00f]*<br>
> * bus: ide.1*<br>
> * type IDE*<br>
> * bus: ide.0*<br>
> * type IDE*<br>
> * dev: ide-drive, id "ide0-0-0"*<br>
> * dev-prop: drive = drive-ide0-0-0*<br>
> * dev-prop: logical_block_size = 512*<br>
> * dev-prop: physical_block_size = 512*<br>
> * dev-prop: min_io_size = 0*<br>
> * dev-prop: opt_io_size = 0*<br>
> * dev-prop: bootindex = 1*<br>
> * dev-prop: discard_granularity = 0*<br>
> * dev-prop: ver = "0.15.1"*<br>
> * dev-prop: serial = "QM00001"*<br>
> * bus-prop: unit = 0*<br>
> * dev: qxl-vga, id ""*<br>
> * dev-prop: ram_size = 67108864*<br>
> * dev-prop: vram_size = 67108864*<br>
> * dev-prop: revision = 3*<br>
> * dev-prop: debug = 0*<br>
> * dev-prop: guestdebug = 0*<br>
> * dev-prop: cmdlog = 0*<br>
> * bus-prop: addr = 02.0*<br>
> * bus-prop: romfile = "vgabios-qxl.bin"*<br>
> *<br>
> *<br>
> * bus-prop: rombar = 1*<br>
> * bus-prop: multifunction = off*<br>
> * bus-prop: command_serr_enable = on*<br>
> * class VGA controller, addr 00:02.0, pci id 1b36:0100 (sub<br>
> 1af4:1100)*<br>
> * bar 0: mem at 0xf0000000 [0xf3ffffff]*<br>
> * bar 1: mem at 0xf8000000 [0xfbffffff]*<br>
> * bar 2: mem at 0xf4000000 [0xf4001fff]*<br>
> * bar 3: i/o at 0xc040 [0xc05f]*<br>
> * bar 6: mem at 0xffffffffffffffff [0xfffe]*<br>
> * dev: PIIX3, id ""*<br>
> * bus-prop: addr = 01.0*<br>
> *<br>
> *<br>
> * bus-prop: romfile = <null>*<br>
> * bus-prop: rombar = 1*<br>
> * bus-prop: multifunction = on*<br>
> * bus-prop: command_serr_enable = on*<br>
> * class ISA bridge, addr 00:01.0, pci id 8086:7000 (sub 1af4:1100)*<br>
> * bus: isa.0*<br>
> * type ISA*<br>
> * dev: isa-serial, id "serial0"*<br>
> * dev-prop: index = 0*<br>
> * dev-prop: iobase = 0x3f8*<br>
> * dev-prop: irq = 4*<br>
> * dev-prop: chardev = charserial0*<br>
> * isa irq 4*<br>
> * dev: isa-fdc, id ""*<br>
> * dev-prop: driveA = <null>*<br>
> * dev-prop: driveB = <null>*<br>
> * dev-prop: bootindexA = -1*<br>
> * dev-prop: bootindexB = -1*<br>
> * isa irq 6*<br>
> * dev: port92, id ""*<br>
> * dev: vmmouse, id ""*<br>
> * dev: vmport, id ""*<br>
> * dev: i8042, id ""*<br>
> * isa irqs 1,12*<br>
> * dev: isa-pit, id ""*<br>
> * dev-prop: irq = 0*<br>
> * dev-prop: iobase = 0x40*<br>
> * dev: mc146818rtc, id ""*<br>
> * dev-prop: base_year = 2000*<br>
> * dev: i440FX, id ""*<br>
> * bus-prop: addr = 00.0*<br>
> *<br>
> *<br>
> * bus-prop: romfile = <null>*<br>
> * bus-prop: rombar = 1*<br>
> * bus-prop: multifunction = off*<br>
> * bus-prop: command_serr_enable = on*<br>
> * class Host bridge, addr 00:00.0, pci id 8086:1237 (sub 1af4:1100)*<br>
> * dev: ioapic, id ""*<br>
> * gpio-in 24*<br>
> * irq 0*<br>
> * mmio 00000000fec00000/0000000000001000*<br>
> * dev: fw_cfg, id ""*<br>
> * dev-prop: ctl_iobase = 0x510*<br>
> * dev-prop: data_iobase = 0x511*<br>
> * irq 0*<br>
> * mmio ffffffffffffffff/0000000000000002*<br>
> * mmio ffffffffffffffff/0000000000000002*<br>
> * dev: kvmclock, id ""*<br>
> * irq 0*<br>
> * dev: apic, id ""*<br>
> * dev-prop: id = 0*<br>
> * irq 0*<br>
> * mmio 00000000fee00000/0000000000100000*<br>
<br>
</blockquote></div><br>