<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Il 13/11/2014 11:14, Fabio Fantoni ha
scritto:<br>
</div>
<blockquote cite="mid:54648477.5040505@m2r.biz" type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<div class="moz-cite-prefix">Il 19/09/2014 15:18, Fabio Fantoni ha
scritto:<br>
</div>
<blockquote cite="mid:541C2D39.1060607@m2r.biz" type="cite">Il
12/09/2014 16:46, Fabio Fantoni ha scritto: <br>
<blockquote type="cite">Il 08/07/2014 12:34, Fabio Fantoni ha
scritto: <br>
<blockquote type="cite">Il 08/07/2014 12:06, Fabio Fantoni ha
scritto: <br>
<blockquote type="cite">Il 08/07/2014 10:53, David Jaša ha
scritto: <br>
<blockquote type="cite">Hi, <br>
<br>
On Út, 2014-07-08 at 10:13 +0200, Fabio Fantoni wrote: <br>
<blockquote type="cite">On xen 4.5 (tried with qemu
2.0.0/2.1-rc0, spice 0.12.5 and client with <br>
spice-gtk 0.23/0.25) windows 7 domUs with qxl vga
works good as kvm <br>
except for one problem after xl save/restore, when
after restore on <br>
spice client connect the domU's screen freezed for
2-3 minutes (and <br>
seems also windows), after this time seems that all
return to works <br>
correctly. <br>
This problem happen also if spice client connect long
time after restore. <br>
With stdvga not have this problem but stdvga has many
missed resolutions <br>
and bad refresh performance. <br>
<br>
If you need more tests/informations tell me and I'll
post them. <br>
</blockquote>
Client and server logs would certainly help. Please run:
<br>
* virt-viewer with --spice-debug option <br>
* spice-server with SPICE_DEBUG_LEVEL environment
variable set <br>
to 4 or 5 (if you use qemu+libvirt, use qemu:env
element: <br>
<a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://libvirt.org/drvqemu.html#qemucommand">http://libvirt.org/drvqemu.html#qemucommand</a>
) <br>
and note the location in the logs where the freeze takes
place. <br>
<br>
Regards, <br>
<br>
David <br>
</blockquote>
<br>
Thanks for your reply, in attachments: <br>
- domU's xl cfg: W7.cfg <br>
- xl -vvv create/save/restore: xen logs.txt <br>
- remote-viewer with --spice-debug after domU's start
until xl save: spicelog-1.txt (zipped) <br>
- remote-viewer with --spice-debug after domU's xl
restore: spicelog-2.txt <br>
</blockquote>
<br>
Sorry for my forgetfulness, here also qemu's log: <br>
- after domU's start until xl save: qemu-dm-W7.log.1 <br>
- after domU's xl restore: qemu-dm-W7.log <br>
<br>
<blockquote type="cite"> <br>
If you need more tests/informations tell me and I'll post
them. <br>
<br>
<br>
<blockquote type="cite">Thanks for any reply and sorry for
my bad english. <br>
<br>
_______________________________________________ <br>
Spice-devel mailing list <br>
<a moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="mailto:Spice-devel@lists.freedesktop.org">Spice-devel@lists.freedesktop.org</a>
<br>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://lists.freedesktop.org/mailman/listinfo/spice-devel">http://lists.freedesktop.org/mailman/listinfo/spice-devel</a>
<br>
</blockquote>
</blockquote>
<br>
</blockquote>
<br>
The problem persist, this time I saw these in xl dmesg after
restore: <br>
<br>
(XEN) HVM2 restore: CPU 0 <br>
(XEN) HVM2 restore: CPU 1 <br>
(XEN) HVM2 restore: PIC 0 <br>
(XEN) HVM2 restore: PIC 1 <br>
(XEN) HVM2 restore: IOAPIC 0 <br>
(XEN) HVM2 restore: LAPIC 0 <br>
(XEN) HVM2 restore: LAPIC 1 <br>
(XEN) HVM2 restore: LAPIC_REGS 0 <br>
(XEN) HVM2 restore: LAPIC_REGS 1 <br>
(XEN) HVM2 restore: PCI_IRQ 0 <br>
(XEN) HVM2 restore: ISA_IRQ 0 <br>
(XEN) HVM2 restore: PCI_LINK 0 <br>
(XEN) HVM2 restore: PIT 0 <br>
(XEN) HVM2 restore: RTC 0 <br>
(XEN) HVM2 restore: HPET 0 <br>
(XEN) HVM2 restore: PMTIMER 0 <br>
(XEN) HVM2 restore: MTRR 0 <br>
(XEN) HVM2 restore: MTRR 1 <br>
(XEN) HVM2 restore: VIRIDIAN_DOMAIN 0 <br>
(XEN) HVM2 restore: VIRIDIAN_VCPU 0 <br>
(XEN) HVM2 restore: VIRIDIAN_VCPU 1 <br>
(XEN) HVM2 restore: VMCE_VCPU 0 <br>
(XEN) HVM2 restore: VMCE_VCPU 1 <br>
(XEN) HVM2 restore: TSC_ADJUST 0 <br>
(XEN) HVM2 restore: TSC_ADJUST 1 <br>
(XEN) memory.c:216:d2v0 Domain 2 page number 77579 invalid <br>
(XEN) memory.c:216:d2v0 Domain 2 page number 7757a invalid <br>
(XEN) memory.c:216:d2v0 Domain 2 page number 7757b invalid <br>
(XEN) memory.c:216:d2v0 Domain 2 page number 7757c invalid <br>
(XEN) memory.c:216:d2v0 Domain 2 page number 7757d invalid <br>
(XEN) memory.c:216:d2v0 Domain 2 page number 7757e invalid <br>
(XEN) memory.c:216:d2v0 Domain 2 page number 7757f invalid <br>
(XEN) memory.c:216:d2v0 Domain 2 page number 77580 invalid <br>
(XEN) memory.c:216:d2v0 Domain 2 page number 77581 invalid <br>
(XEN) memory.c:216:d2v0 Domain 2 page number 77582 invalid <br>
(XEN) memory.c:216:d2v0 Domain 2 page number 77583 invalid <br>
(XEN) memory.c:216:d2v0 Domain 2 page number 77584 invalid <br>
(XEN) memory.c:216:d2v0 Domain 2 page number 77585 invalid <br>
(XEN) memory.c:216:d2v0 Domain 2 page number 77586 invalid <br>
(XEN) memory.c:216:d2v0 Domain 2 page number 77587 invalid <br>
(XEN) memory.c:216:d2v0 Domain 2 page number 77588 invalid <br>
(XEN) memory.c:216:d2v0 Domain 2 page number 77589 invalid <br>
(XEN) memory.c:216:d2v0 Domain 2 page number 7758a invalid <br>
(XEN) memory.c:216:d2v0 Domain 2 page number 7758b invalid <br>
(XEN) memory.c:216:d2v0 Domain 2 page number 7758c invalid <br>
(XEN) memory.c:216:d2v0 Domain 2 page number 7758d invalid <br>
(XEN) memory.c:216:d2v0 Domain 2 page number 7758e invalid <br>
(XEN) memory.c:216:d2v0 Domain 2 page number 7758f invalid <br>
(XEN) memory.c:216:d2v0 Domain 2 page number 77590 invalid <br>
(XEN) memory.c:216:d2v0 Domain 2 page number 77591 invalid <br>
(XEN) memory.c:216:d2v0 Domain 2 page number 77592 invalid <br>
(XEN) memory.c:216:d2v0 Domain 2 page number 77593 invalid <br>
(XEN) memory.c:216:d2v0 Domain 2 page number 77594 invalid <br>
(XEN) memory.c:216:d2v0 Domain 2 page number 77595 invalid <br>
(XEN) memory.c:216:d2v0 Domain 2 page number 77596 invalid <br>
(XEN) memory.c:216:d2v0 Domain 2 page number 77597 invalid <br>
(XEN) memory.c:216:d2v0 Domain 2 page number 77598 invalid <br>
(XEN) grant_table.c:1272:d2v0 Expanding dom (2) grant table
from (4) to (32) frames. <br>
(XEN) irq.c:380: Dom2 callback via changed to GSI 24 <br>
<br>
Tested on latest staging (commit
7d203b337fb2dcd148d2df850e25b67c792d4d0b) plus the spice
patches: <br>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="https://github.com/Fantu/Xen/commits/rebase/m2r-staging">https://github.com/Fantu/Xen/commits/rebase/m2r-staging</a>
<br>
<br>
If you need more informations or tests tell me and I'll post
them. <br>
Thanks for any reply and sorry for my bad english. <br>
</blockquote>
<br>
I did another tests updating to latest git staging (commit
3e2331d271cc0882e4013c8f20398c46c35f90a1) and is nomore problem
of "only" 2-3 minutes but now when it appears to restart (after
2-3 minutes) windows domUs undefinitely hangs instead. <br>
No further details in xen and domU's logs. <br>
<br>
If you need more tests/details tell me and I'll do them. <br>
<br>
Thanks for any reply. <br>
</blockquote>
<br>
I did a new test with xen build based on tag 4.5.0-rc2 and on xl
dmesg show these errors:<br>
<blockquote type="cite"><b>(XEN) hvm.c:6119:d5v0 Bad HVM op 23.</b></blockquote>
Before and after save/restore, with stdvga instead not show them.<br>
</blockquote>
<br>
Sorry, I found that was introduced by new winpv drivers update
instead and I solved applying this patch:<br>
x86/hvm: Add per-vcpu evtchn upcalls v3
<a class="moz-txt-link-freetext" href="http://lists.xen.org/archives/html/xen-devel/2014-11/msg00752.html">http://lists.xen.org/archives/html/xen-devel/2014-11/msg00752.html</a><br>
About save/restore problem with qxl I still not found a solution or
at least the exact cause :(<br>
<br>
<blockquote cite="mid:54648477.5040505@m2r.biz" type="cite"> <br>
Below I posted full xl dmesg of domU, if you need more
informations/tests tell me and I'll post them.<br>
<br>
<br>
<blockquote type="cite">(d4) HVM Loader<br>
(d4) Detected Xen v4.5.0-rc<br>
(d4) Xenbus rings @0xfeffc000, event channel 1<br>
(d4) System requested SeaBIOS<br>
(d4) CPU speed is 2660 MHz<br>
(d4) Relocating guest memory for lowmem MMIO space disabled<br>
(XEN) irq.c:270: Dom4 PCI link 0 changed 0 -> 5<br>
(d4) PCI-ISA link 0 routed to IRQ5<br>
(XEN) irq.c:270: Dom4 PCI link 1 changed 0 -> 10<br>
(d4) PCI-ISA link 1 routed to IRQ10<br>
(XEN) irq.c:270: Dom4 PCI link 2 changed 0 -> 11<br>
(d4) PCI-ISA link 2 routed to IRQ11<br>
(XEN) irq.c:270: Dom4 PCI link 3 changed 0 -> 5<br>
(d4) PCI-ISA link 3 routed to IRQ5<br>
(d4) pci dev 01:3 INTA->IRQ10<br>
(d4) pci dev 02:0 INTA->IRQ11<br>
(d4) pci dev 03:0 INTA->IRQ5<br>
(d4) pci dev 04:0 INTA->IRQ5<br>
(d4) pci dev 05:0 INTA->IRQ10<br>
(d4) pci dev 06:0 INTA->IRQ11<br>
(d4) pci dev 1d:0 INTA->IRQ10<br>
(d4) pci dev 1d:1 INTB->IRQ11<br>
(d4) pci dev 1d:2 INTC->IRQ5<br>
(d4) pci dev 1d:7 INTD->IRQ5<br>
(d4) No RAM in high memory; setting high_mem resource base to
100000000<br>
(d4) pci dev 05:0 bar 10 size 004000000: 0f0000000<br>
(d4) pci dev 05:0 bar 14 size 004000000: 0f4000000<br>
(d4) pci dev 02:0 bar 14 size 001000000: 0f8000008<br>
(d4) pci dev 06:0 bar 30 size 000040000: 0f9000000<br>
(d4) pci dev 05:0 bar 30 size 000010000: 0f9040000<br>
(d4) pci dev 03:0 bar 10 size 000004000: 0f9050000<br>
(d4) pci dev 05:0 bar 18 size 000002000: 0f9054000<br>
(d4) pci dev 04:0 bar 14 size 000001000: 0f9056000<br>
(d4) pci dev 1d:7 bar 10 size 000001000: 0f9057000<br>
(d4) pci dev 02:0 bar 10 size 000000100: 00000c001<br>
(d4) pci dev 06:0 bar 10 size 000000100: 00000c101<br>
(d4) pci dev 06:0 bar 14 size 000000100: 0f9058000<br>
(d4) pci dev 04:0 bar 10 size 000000020: 00000c201<br>
(d4) pci dev 05:0 bar 1c size 000000020: 00000c221<br>
(d4) pci dev 1d:0 bar 20 size 000000020: 00000c241<br>
(d4) pci dev 1d:1 bar 20 size 000000020: 00000c261<br>
(d4) pci dev 1d:2 bar 20 size 000000020: 00000c281<br>
(d4) pci dev 01:1 bar 20 size 000000010: 00000c2a1<br>
(d4) Multiprocessor initialisation:<br>
(d4) - CPU0 ... 36-bit phys ... fixed MTRRs ... var MTRRs [1/8]
... done.<br>
(d4) - CPU1 ... 36-bit phys ... fixed MTRRs ... var MTRRs [1/8]
... done.<br>
(d4) Testing HVM environment:<br>
(d4) - REP INSB across page boundaries ... passed<br>
(d4) - GS base MSRs and SWAPGS ... passed<br>
(d4) Passed 2 of 2 tests<br>
(d4) Writing SMBIOS tables ...<br>
(d4) Loading SeaBIOS ...<br>
(d4) Creating MP tables ...<br>
(d4) Loading ACPI ...<br>
(d4) S3 disabled<br>
(d4) S4 disabled<br>
(d4) vm86 TSS at fc00a100<br>
(d4) BIOS map:<br>
(d4) 10000-100d3: Scratch space<br>
(d4) c0000-fffff: Main BIOS<br>
(d4) E820 table:<br>
(d4) [00]: 00000000:00000000 - 00000000:000a0000: RAM<br>
(d4) HOLE: 00000000:000a0000 - 00000000:000c0000<br>
(d4) [01]: 00000000:000c0000 - 00000000:00100000: RESERVED<br>
(d4) [02]: 00000000:00100000 - 00000000:78000000: RAM<br>
(d4) HOLE: 00000000:78000000 - 00000000:fc000000<br>
(d4) [03]: 00000000:fc000000 - 00000001:00000000: RESERVED<br>
(d4) Invoking SeaBIOS ...<br>
(d4) SeaBIOS (version
debian/1.7.5-1-0-g506b58d-20140603_102943-testVS01OU)<br>
(d4) <br>
(d4) Found Xen hypervisor signature at 40000100<br>
(d4) Running on QEMU (i440fx)<br>
(d4) xen: copy e820...<br>
(d4) Relocating init from 0x000df619 to 0x77fae600 (size 71995)<br>
(d4) CPU Mhz=2661<br>
(d4) Found 13 PCI devices (max PCI bus is 00)<br>
(d4) Allocated Xen hypercall page at 77fff000<br>
(d4) Detected Xen v4.5.0-rc<br>
(d4) xen: copy BIOS tables...<br>
(d4) Copying SMBIOS entry point from 0x00010010 to 0x000f0f40<br>
(d4) Copying MPTABLE from 0xfc001160/fc001170 to 0x000f0e40<br>
(d4) Copying PIR from 0x00010030 to 0x000f0dc0<br>
(d4) Copying ACPI RSDP from 0x000100b0 to 0x000f0d90<br>
(d4) Using pmtimer, ioport 0xb008<br>
(d4) Scan for VGA option rom<br>
(d4) Running option rom at c000:0003<br>
(XEN) stdvga.c:147:d4v0 entering stdvga and caching modes<br>
(d4) pmm call arg1=0<br>
(d4) Turning on vga text mode console<br>
(d4) SeaBIOS (version
debian/1.7.5-1-0-g506b58d-20140603_102943-testVS01OU)<br>
(d4) Machine UUID 9d836955-983f-4413-89c3-6893ea19d838<br>
(d4) EHCI init on dev 00:1d.7 (regs=0xf9057020)<br>
(d4) Found 0 lpt ports<br>
(d4) Found 0 serial ports<br>
(d4) ATA controller 1 at 1f0/3f4/0 (irq 14 dev 9)<br>
(d4) ATA controller 2 at 170/374/0 (irq 15 dev 9)<br>
(d4) ata0-0: QEMU HARDDISK ATA-7 Hard-Disk (50000 MiBytes)<br>
(d4) Searching bootorder for: /pci@i0cf8/*@1,1/drive@0/disk@0<br>
(d4) DVD/CD [ata0-1: QEMU DVD-ROM ATAPI-4 DVD/CD]<br>
(d4) Searching bootorder for: /pci@i0cf8/*@1,1/drive@0/disk@1<br>
(d4) UHCI init on dev 00:1d.0 (io=c240)<br>
(d4) UHCI init on dev 00:1d.1 (io=c260)<br>
(d4) UHCI init on dev 00:1d.2 (io=c280)<br>
(d4) PS2 keyboard initialized<br>
(d4) All threads complete.<br>
(d4) Scan for option roms<br>
(d4) Running option rom at c980:0003<br>
(d4) pmm call arg1=1<br>
(d4) pmm call arg1=0<br>
(d4) pmm call arg1=1<br>
(d4) pmm call arg1=0<br>
(d4) Searching bootorder for: /pci@i0cf8/*@6<br>
(d4) <br>
(d4) Press F12 for boot menu.<br>
(d4) <br>
(d4) Searching bootorder for: HALT<br>
(d4) drive 0x000f0d40: PCHS=16383/16/63 translation=lba
LCHS=1024/255/63 s=102400000<br>
(d4) <br>
(d4) Space available for UMB: ca800-ee800, f0000-f0ce0<br>
(d4) Returned 258048 bytes of ZoneHigh<br>
(d4) e820 map has 6 items:<br>
(d4) 0: 0000000000000000 - 000000000009fc00 = 1 RAM<br>
(d4) 1: 000000000009fc00 - 00000000000a0000 = 2 RESERVED<br>
(d4) 2: 00000000000f0000 - 0000000000100000 = 2 RESERVED<br>
(d4) 3: 0000000000100000 - 0000000077fff000 = 1 RAM<br>
(d4) 4: 0000000077fff000 - 0000000078000000 = 2 RESERVED<br>
(d4) 5: 00000000fc000000 - 0000000100000000 = 2 RESERVED<br>
(d4) enter handle_19:<br>
(d4) NULL<br>
(d4) Booting from DVD/CD...<br>
(d4) Device reports MEDIUM NOT PRESENT<br>
(d4) scsi_is_ready returned -1<br>
(d4) Boot failed: Could not read from CDROM (code 0003)<br>
(d4) enter handle_18:<br>
(d4) NULL<br>
(d4) Booting from Hard Disk...<br>
(d4) Booting from 0000:7c00<br>
(XEN) d4: VIRIDIAN GUEST_OS_ID: vendor: 1 os: 4 major: 6 minor:
1 sp: 1 build: 1db1<br>
(XEN) d4: VIRIDIAN HYPERCALL: enabled: 1 pfn: 3ffff<br>
(XEN) d4v0: VIRIDIAN APIC_ASSIST: enabled: 1 pfn: 3fffe<br>
(XEN) d4v1: VIRIDIAN APIC_ASSIST: enabled: 1 pfn: 3fffd<br>
(XEN) irq.c:270: Dom4 PCI link 0 changed 5 -> 0<br>
(XEN) irq.c:270: Dom4 PCI link 1 changed 10 -> 0<br>
(XEN) irq.c:270: Dom4 PCI link 2 changed 11 -> 0<br>
(XEN) irq.c:270: Dom4 PCI link 3 changed 5 -> 0<br>
<b>(XEN) hvm.c:6119:d4v1 Bad HVM op 23.</b><b><br>
</b><b>(XEN) hvm.c:6119:d4v1 Bad HVM op 23.</b><br>
(XEN) irq.c:380: Dom4 callback via changed to GSI 24<br>
(XEN) HVM4 save: CPU<br>
(XEN) HVM4 save: PIC<br>
(XEN) HVM4 save: IOAPIC<br>
(XEN) HVM4 save: LAPIC<br>
(XEN) HVM4 save: LAPIC_REGS<br>
(XEN) HVM4 save: PCI_IRQ<br>
(XEN) HVM4 save: ISA_IRQ<br>
(XEN) HVM4 save: PCI_LINK<br>
(XEN) HVM4 save: PIT<br>
(XEN) HVM4 save: RTC<br>
(XEN) HVM4 save: HPET<br>
(XEN) HVM4 save: PMTIMER<br>
(XEN) HVM4 save: MTRR<br>
(XEN) HVM4 save: VIRIDIAN_DOMAIN<br>
(XEN) HVM4 save: CPU_XSAVE<br>
(XEN) HVM4 save: VIRIDIAN_VCPU<br>
(XEN) HVM4 save: VMCE_VCPU<br>
(XEN) HVM4 save: TSC_ADJUST<br>
(XEN) HVM5 restore: CPU 0<br>
(XEN) HVM5 restore: CPU 1<br>
(XEN) HVM5 restore: PIC 0<br>
(XEN) HVM5 restore: PIC 1<br>
(XEN) HVM5 restore: IOAPIC 0<br>
(XEN) HVM5 restore: LAPIC 0<br>
(XEN) HVM5 restore: LAPIC 1<br>
(XEN) HVM5 restore: LAPIC_REGS 0<br>
(XEN) HVM5 restore: LAPIC_REGS 1<br>
(XEN) HVM5 restore: PCI_IRQ 0<br>
(XEN) HVM5 restore: ISA_IRQ 0<br>
(XEN) HVM5 restore: PCI_LINK 0<br>
(XEN) HVM5 restore: PIT 0<br>
(XEN) HVM5 restore: RTC 0<br>
(XEN) HVM5 restore: HPET 0<br>
(XEN) HVM5 restore: PMTIMER 0<br>
(XEN) HVM5 restore: MTRR 0<br>
(XEN) HVM5 restore: MTRR 1<br>
(XEN) HVM5 restore: VIRIDIAN_DOMAIN 0<br>
(XEN) HVM5 restore: VIRIDIAN_VCPU 0<br>
(XEN) HVM5 restore: VIRIDIAN_VCPU 1<br>
(XEN) HVM5 restore: VMCE_VCPU 0<br>
(XEN) HVM5 restore: VMCE_VCPU 1<br>
(XEN) HVM5 restore: TSC_ADJUST 0<br>
(XEN) HVM5 restore: TSC_ADJUST 1<br>
(XEN) irq.c:380: Dom5 callback via changed to None<br>
<b>(XEN) hvm.c:6119:d5v0 Bad HVM op 23.</b><b><br>
</b><b>(XEN) hvm.c:6119:d5v0 Bad HVM op 23.</b><b><br>
</b><b>(XEN) hvm.c:6119:d5v0 Bad HVM op 23.</b><b><br>
</b><b>(XEN) hvm.c:6119:d5v0 Bad HVM op 23.</b><br>
(XEN) irq.c:380: Dom5 callback via changed to GSI 24</blockquote>
<br>
<br>
</blockquote>
<br>
</body>
</html>