<br><br><div class="gmail_quote">2012/3/9 Alon Levy <span dir="ltr">&lt;<a href="mailto:alevy@redhat.com">alevy@redhat.com</a>&gt;</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>
&gt; Hi, thank you for your patience.<br>
&gt;<br>
&gt; The whole info qtree:<br>
</div>&gt; *bus: main-system-bus*<br>
[snip]<br>
&gt; *      dev: virtio-serial-pci, id &quot;virtio-serial0&quot;*<br>
&gt; *        dev-prop: ioeventfd = on*<br>
&gt; *        dev-prop: vectors = 32*<br>
&gt; *        dev-prop: class = 0x780*<br>
&gt; *        dev-prop: indirect_desc = on*<br>
&gt; *        dev-prop: event_idx = on*<br>
&gt; *        dev-prop: max_ports = 31*<br>
&gt; *        bus-prop: addr = 04.0*<br>
&gt; *        bus-prop: romfile = &lt;null&gt;*<br>
&gt; *        bus-prop: rombar = 1*<br>
&gt; *        bus-prop: multifunction = off*<br>
&gt; *        bus-prop: command_serr_enable = on*<br>
&gt; *        class Class 0780, addr 00:04.0, pci id 1af4:1003 (sub 1af4:0003)*<br>
&gt; *        bar 0: i/o at 0xc200 [0xc21f]*<br>
&gt; *        bar 1: mem at 0xf4040000 [0xf4040fff]*<br>
&gt; *        bus: virtio-serial0.0*<br>
&gt; *          type virtio-serial-bus*<br>
&gt; *          dev: virtserialport, id &quot;channel0&quot;*<br>
&gt; *            dev-prop: chardev = charchannel0*<br>
&gt; *            bus-prop: nr = 1*<br>
&gt; *            bus-prop: name = &quot;com.redhat.spice.0&quot;*<br>
&gt; *            port 1, guest on, host on, throttle off*<br>
Ah, that&#39;s what I was looking for. Now that I see it I&#39;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 &quot;guest on, host on&quot; and<br>
working copy&amp;paste, and after that none?<br>
<br></blockquote><div>No matter before or after save&amp;restore, it is always &quot;guest on, host on&quot; and copy&amp;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&#39;t want to just restart vdservice, that might &quot;solve&quot; the problem),<br>
save the files once (vdagent.pre.log, vdservice.pre.log), then virsh<br>
save, virsh restore, verify c&amp;p *doesn&#39;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&#39;t disabled</div><div>11.980 DisplaySetting::reload_font_smoothing: </div><div>11.980 DisplaySetting::reload_font_smoothing: font smoothing value didn&#39;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&amp;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&#39;t disabled</div><div>320.410 DisplaySetting::reload_font_smoothing: </div>
<div>320.410 DisplaySetting::reload_font_smoothing: font smoothing value didn&#39;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&#39;t disabled</div>
<div>360.268 DisplaySetting::reload_font_smoothing: </div><div>360.268 DisplaySetting::reload_font_smoothing: font smoothing value didn&#39;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&#39;t disabled</div><div>405.212 DisplaySetting::reload_font_smoothing: </div><div>405.212 DisplaySetting::reload_font_smoothing: font smoothing value didn&#39;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&amp;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&#39;ing Arnon, maybe he has some idea<br>
<br>
Also, please use text only email, and don&#39;t drop the list from the<br>
To/Cc, Thanks.<br>
<br>
&gt; *      dev: piix3-usb-uhci, id &quot;usb&quot;*<br>
&gt; *        dev-prop: masterbus = &lt;null&gt;*<br>
&gt; *        dev-prop: firstport = 0*<br>
&gt; *        bus-prop: addr = 01.2*<br>
&gt; *<br>
&gt; *<br>
&gt; *        bus-prop: romfile = &lt;null&gt;*<br>
&gt; *        bus-prop: rombar = 1*<br>
&gt; *        bus-prop: multifunction = off*<br>
&gt; *        bus-prop: command_serr_enable = on*<br>
&gt; *        class USB controller, addr 00:01.2, pci id 8086:7020 (sub<br>
&gt; 1af4:1100)*<br>
&gt; *        bar 4: i/o at 0xc020 [0xc03f]*<br>
&gt; *        bus: usb.0*<br>
&gt; *          type USB*<br>
&gt; *          dev: usb-tablet, id &quot;input0&quot;*<br>
&gt; *            bus-prop: port = &lt;null&gt;*<br>
&gt; *            addr 0.2, port 1, speed 12, name QEMU USB Tablet, attached*<br>
&gt; *      dev: PIIX4_PM, id &quot;&quot;*<br>
&gt; *        dev-prop: smb_io_base = 45312*<br>
&gt; *        bus-prop: addr = 01.3*<br>
&gt; *<br>
&gt; *<br>
&gt; *        bus-prop: romfile = &lt;null&gt;*<br>
&gt; *        bus-prop: rombar = 1*<br>
&gt; *        bus-prop: multifunction = off*<br>
&gt; *        bus-prop: command_serr_enable = on*<br>
&gt; *        class Bridge, addr 00:01.3, pci id 8086:7113 (sub 1af4:1100)*<br>
&gt; *        bus: i2c*<br>
&gt; *          type I2C*<br>
&gt; *          dev: smbus-eeprom, id &quot;&quot;*<br>
&gt; *            bus-prop: address = 87*<br>
&gt; *          dev: smbus-eeprom, id &quot;&quot;*<br>
&gt; *            bus-prop: address = 86*<br>
&gt; *          dev: smbus-eeprom, id &quot;&quot;*<br>
&gt; *            bus-prop: address = 85*<br>
&gt; *          dev: smbus-eeprom, id &quot;&quot;*<br>
&gt; *            bus-prop: address = 84*<br>
&gt; *          dev: smbus-eeprom, id &quot;&quot;*<br>
&gt; *            bus-prop: address = 83*<br>
&gt; *          dev: smbus-eeprom, id &quot;&quot;*<br>
&gt; *            bus-prop: address = 82*<br>
&gt; *          dev: smbus-eeprom, id &quot;&quot;*<br>
&gt; *            bus-prop: address = 81*<br>
&gt; *          dev: smbus-eeprom, id &quot;&quot;*<br>
&gt; *            bus-prop: address = 80*<br>
&gt; *      dev: piix3-ide, id &quot;&quot;*<br>
&gt; *        bus-prop: addr = 01.1*<br>
&gt; *<br>
&gt; *<br>
&gt; *        bus-prop: romfile = &lt;null&gt;*<br>
&gt; *        bus-prop: rombar = 1*<br>
&gt; *        bus-prop: multifunction = off*<br>
&gt; *        bus-prop: command_serr_enable = on*<br>
&gt; *        class IDE controller, addr 00:01.1, pci id 8086:7010 (sub<br>
&gt; 1af4:1100)*<br>
&gt; *        bar 4: i/o at 0xc000 [0xc00f]*<br>
&gt; *        bus: ide.1*<br>
&gt; *          type IDE*<br>
&gt; *        bus: ide.0*<br>
&gt; *          type IDE*<br>
&gt; *          dev: ide-drive, id &quot;ide0-0-0&quot;*<br>
&gt; *            dev-prop: drive = drive-ide0-0-0*<br>
&gt; *            dev-prop: logical_block_size = 512*<br>
&gt; *            dev-prop: physical_block_size = 512*<br>
&gt; *            dev-prop: min_io_size = 0*<br>
&gt; *            dev-prop: opt_io_size = 0*<br>
&gt; *            dev-prop: bootindex = 1*<br>
&gt; *            dev-prop: discard_granularity = 0*<br>
&gt; *            dev-prop: ver = &quot;0.15.1&quot;*<br>
&gt; *            dev-prop: serial = &quot;QM00001&quot;*<br>
&gt; *            bus-prop: unit = 0*<br>
&gt; *      dev: qxl-vga, id &quot;&quot;*<br>
&gt; *        dev-prop: ram_size = 67108864*<br>
&gt; *        dev-prop: vram_size = 67108864*<br>
&gt; *        dev-prop: revision = 3*<br>
&gt; *        dev-prop: debug = 0*<br>
&gt; *        dev-prop: guestdebug = 0*<br>
&gt; *        dev-prop: cmdlog = 0*<br>
&gt; *        bus-prop: addr = 02.0*<br>
&gt; *        bus-prop: romfile = &quot;vgabios-qxl.bin&quot;*<br>
&gt; *<br>
&gt; *<br>
&gt; *        bus-prop: rombar = 1*<br>
&gt; *        bus-prop: multifunction = off*<br>
&gt; *        bus-prop: command_serr_enable = on*<br>
&gt; *        class VGA controller, addr 00:02.0, pci id 1b36:0100 (sub<br>
&gt; 1af4:1100)*<br>
&gt; *        bar 0: mem at 0xf0000000 [0xf3ffffff]*<br>
&gt; *        bar 1: mem at 0xf8000000 [0xfbffffff]*<br>
&gt; *        bar 2: mem at 0xf4000000 [0xf4001fff]*<br>
&gt; *        bar 3: i/o at 0xc040 [0xc05f]*<br>
&gt; *        bar 6: mem at 0xffffffffffffffff [0xfffe]*<br>
&gt; *      dev: PIIX3, id &quot;&quot;*<br>
&gt; *        bus-prop: addr = 01.0*<br>
&gt; *<br>
&gt; *<br>
&gt; *        bus-prop: romfile = &lt;null&gt;*<br>
&gt; *        bus-prop: rombar = 1*<br>
&gt; *        bus-prop: multifunction = on*<br>
&gt; *        bus-prop: command_serr_enable = on*<br>
&gt; *        class ISA bridge, addr 00:01.0, pci id 8086:7000 (sub 1af4:1100)*<br>
&gt; *        bus: isa.0*<br>
&gt; *          type ISA*<br>
&gt; *          dev: isa-serial, id &quot;serial0&quot;*<br>
&gt; *            dev-prop: index = 0*<br>
&gt; *            dev-prop: iobase = 0x3f8*<br>
&gt; *            dev-prop: irq = 4*<br>
&gt; *            dev-prop: chardev = charserial0*<br>
&gt; *            isa irq 4*<br>
&gt; *          dev: isa-fdc, id &quot;&quot;*<br>
&gt; *            dev-prop: driveA = &lt;null&gt;*<br>
&gt; *            dev-prop: driveB = &lt;null&gt;*<br>
&gt; *            dev-prop: bootindexA = -1*<br>
&gt; *            dev-prop: bootindexB = -1*<br>
&gt; *            isa irq 6*<br>
&gt; *          dev: port92, id &quot;&quot;*<br>
&gt; *          dev: vmmouse, id &quot;&quot;*<br>
&gt; *          dev: vmport, id &quot;&quot;*<br>
&gt; *          dev: i8042, id &quot;&quot;*<br>
&gt; *            isa irqs 1,12*<br>
&gt; *          dev: isa-pit, id &quot;&quot;*<br>
&gt; *            dev-prop: irq = 0*<br>
&gt; *            dev-prop: iobase = 0x40*<br>
&gt; *          dev: mc146818rtc, id &quot;&quot;*<br>
&gt; *            dev-prop: base_year = 2000*<br>
&gt; *      dev: i440FX, id &quot;&quot;*<br>
&gt; *        bus-prop: addr = 00.0*<br>
&gt; *<br>
&gt; *<br>
&gt; *        bus-prop: romfile = &lt;null&gt;*<br>
&gt; *        bus-prop: rombar = 1*<br>
&gt; *        bus-prop: multifunction = off*<br>
&gt; *        bus-prop: command_serr_enable = on*<br>
&gt; *        class Host bridge, addr 00:00.0, pci id 8086:1237 (sub 1af4:1100)*<br>
&gt; *  dev: ioapic, id &quot;&quot;*<br>
&gt; *    gpio-in 24*<br>
&gt; *    irq 0*<br>
&gt; *    mmio 00000000fec00000/0000000000001000*<br>
&gt; *  dev: fw_cfg, id &quot;&quot;*<br>
&gt; *    dev-prop: ctl_iobase = 0x510*<br>
&gt; *    dev-prop: data_iobase = 0x511*<br>
&gt; *    irq 0*<br>
&gt; *    mmio ffffffffffffffff/0000000000000002*<br>
&gt; *    mmio ffffffffffffffff/0000000000000002*<br>
&gt; *  dev: kvmclock, id &quot;&quot;*<br>
&gt; *    irq 0*<br>
&gt; *  dev: apic, id &quot;&quot;*<br>
&gt; *    dev-prop: id = 0*<br>
&gt; *    irq 0*<br>
&gt; *    mmio 00000000fee00000/0000000000100000*<br>
<br>
</blockquote></div><br>