[Spice-devel] Problem about qxl and vmc

Alon Levy alevy at redhat.com
Fri Mar 9 02:50:38 PST 2012


On Fri, Mar 09, 2012 at 09:01:06AM +0800, wangfeng wangfeng wrote:
> Hi, thank you for your patience.
> 
> The whole info qtree:
> *bus: main-system-bus*
[snip]
> *      dev: virtio-serial-pci, id "virtio-serial0"*
> *        dev-prop: ioeventfd = on*
> *        dev-prop: vectors = 32*
> *        dev-prop: class = 0x780*
> *        dev-prop: indirect_desc = on*
> *        dev-prop: event_idx = on*
> *        dev-prop: max_ports = 31*
> *        bus-prop: addr = 04.0*
> *        bus-prop: romfile = <null>*
> *        bus-prop: rombar = 1*
> *        bus-prop: multifunction = off*
> *        bus-prop: command_serr_enable = on*
> *        class Class 0780, addr 00:04.0, pci id 1af4:1003 (sub 1af4:0003)*
> *        bar 0: i/o at 0xc200 [0xc21f]*
> *        bar 1: mem at 0xf4040000 [0xf4040fff]*
> *        bus: virtio-serial0.0*
> *          type virtio-serial-bus*
> *          dev: virtserialport, id "channel0"*
> *            dev-prop: chardev = charchannel0*
> *            bus-prop: nr = 1*
> *            bus-prop: name = "com.redhat.spice.0"*
> *            port 1, guest on, host on, throttle off*
Ah, that's what I was looking for. Now that I see it I'm not sure if it
gives me enough clues. It means the guest opened the device.

Wang, just to make sure I understand, this is after virsh save and
restore, right? so before that you had the same "guest on, host on" and
working copy&paste, and after that none?

Can you please provide a clean c:\windows\temp\vdagent.log and
c:\windows\temp\vdservice.log, by clean I mean please delete them,
restart the vm (so the driver and vdservice load in the usual manner, I
don't want to just restart vdservice, that might "solve" the problem),
save the files once (vdagent.pre.log, vdservice.pre.log), then virsh
save, virsh restore, verify c&p *doesn't* work, and save the log files
again (vdagent.post.log, vdservice.post.log) and attach them to this
thread.

Cc'ing Arnon, maybe he has some idea

Also, please use text only email, and don't drop the list from the
To/Cc, Thanks.

> *      dev: piix3-usb-uhci, id "usb"*
> *        dev-prop: masterbus = <null>*
> *        dev-prop: firstport = 0*
> *        bus-prop: addr = 01.2*
> *
> *
> *        bus-prop: romfile = <null>*
> *        bus-prop: rombar = 1*
> *        bus-prop: multifunction = off*
> *        bus-prop: command_serr_enable = on*
> *        class USB controller, addr 00:01.2, pci id 8086:7020 (sub
> 1af4:1100)*
> *        bar 4: i/o at 0xc020 [0xc03f]*
> *        bus: usb.0*
> *          type USB*
> *          dev: usb-tablet, id "input0"*
> *            bus-prop: port = <null>*
> *            addr 0.2, port 1, speed 12, name QEMU USB Tablet, attached*
> *      dev: PIIX4_PM, id ""*
> *        dev-prop: smb_io_base = 45312*
> *        bus-prop: addr = 01.3*
> *
> *
> *        bus-prop: romfile = <null>*
> *        bus-prop: rombar = 1*
> *        bus-prop: multifunction = off*
> *        bus-prop: command_serr_enable = on*
> *        class Bridge, addr 00:01.3, pci id 8086:7113 (sub 1af4:1100)*
> *        bus: i2c*
> *          type I2C*
> *          dev: smbus-eeprom, id ""*
> *            bus-prop: address = 87*
> *          dev: smbus-eeprom, id ""*
> *            bus-prop: address = 86*
> *          dev: smbus-eeprom, id ""*
> *            bus-prop: address = 85*
> *          dev: smbus-eeprom, id ""*
> *            bus-prop: address = 84*
> *          dev: smbus-eeprom, id ""*
> *            bus-prop: address = 83*
> *          dev: smbus-eeprom, id ""*
> *            bus-prop: address = 82*
> *          dev: smbus-eeprom, id ""*
> *            bus-prop: address = 81*
> *          dev: smbus-eeprom, id ""*
> *            bus-prop: address = 80*
> *      dev: piix3-ide, id ""*
> *        bus-prop: addr = 01.1*
> *
> *
> *        bus-prop: romfile = <null>*
> *        bus-prop: rombar = 1*
> *        bus-prop: multifunction = off*
> *        bus-prop: command_serr_enable = on*
> *        class IDE controller, addr 00:01.1, pci id 8086:7010 (sub
> 1af4:1100)*
> *        bar 4: i/o at 0xc000 [0xc00f]*
> *        bus: ide.1*
> *          type IDE*
> *        bus: ide.0*
> *          type IDE*
> *          dev: ide-drive, id "ide0-0-0"*
> *            dev-prop: drive = drive-ide0-0-0*
> *            dev-prop: logical_block_size = 512*
> *            dev-prop: physical_block_size = 512*
> *            dev-prop: min_io_size = 0*
> *            dev-prop: opt_io_size = 0*
> *            dev-prop: bootindex = 1*
> *            dev-prop: discard_granularity = 0*
> *            dev-prop: ver = "0.15.1"*
> *            dev-prop: serial = "QM00001"*
> *            bus-prop: unit = 0*
> *      dev: qxl-vga, id ""*
> *        dev-prop: ram_size = 67108864*
> *        dev-prop: vram_size = 67108864*
> *        dev-prop: revision = 3*
> *        dev-prop: debug = 0*
> *        dev-prop: guestdebug = 0*
> *        dev-prop: cmdlog = 0*
> *        bus-prop: addr = 02.0*
> *        bus-prop: romfile = "vgabios-qxl.bin"*
> *
> *
> *        bus-prop: rombar = 1*
> *        bus-prop: multifunction = off*
> *        bus-prop: command_serr_enable = on*
> *        class VGA controller, addr 00:02.0, pci id 1b36:0100 (sub
> 1af4:1100)*
> *        bar 0: mem at 0xf0000000 [0xf3ffffff]*
> *        bar 1: mem at 0xf8000000 [0xfbffffff]*
> *        bar 2: mem at 0xf4000000 [0xf4001fff]*
> *        bar 3: i/o at 0xc040 [0xc05f]*
> *        bar 6: mem at 0xffffffffffffffff [0xfffe]*
> *      dev: PIIX3, id ""*
> *        bus-prop: addr = 01.0*
> *
> *
> *        bus-prop: romfile = <null>*
> *        bus-prop: rombar = 1*
> *        bus-prop: multifunction = on*
> *        bus-prop: command_serr_enable = on*
> *        class ISA bridge, addr 00:01.0, pci id 8086:7000 (sub 1af4:1100)*
> *        bus: isa.0*
> *          type ISA*
> *          dev: isa-serial, id "serial0"*
> *            dev-prop: index = 0*
> *            dev-prop: iobase = 0x3f8*
> *            dev-prop: irq = 4*
> *            dev-prop: chardev = charserial0*
> *            isa irq 4*
> *          dev: isa-fdc, id ""*
> *            dev-prop: driveA = <null>*
> *            dev-prop: driveB = <null>*
> *            dev-prop: bootindexA = -1*
> *            dev-prop: bootindexB = -1*
> *            isa irq 6*
> *          dev: port92, id ""*
> *          dev: vmmouse, id ""*
> *          dev: vmport, id ""*
> *          dev: i8042, id ""*
> *            isa irqs 1,12*
> *          dev: isa-pit, id ""*
> *            dev-prop: irq = 0*
> *            dev-prop: iobase = 0x40*
> *          dev: mc146818rtc, id ""*
> *            dev-prop: base_year = 2000*
> *      dev: i440FX, id ""*
> *        bus-prop: addr = 00.0*
> *
> *
> *        bus-prop: romfile = <null>*
> *        bus-prop: rombar = 1*
> *        bus-prop: multifunction = off*
> *        bus-prop: command_serr_enable = on*
> *        class Host bridge, addr 00:00.0, pci id 8086:1237 (sub 1af4:1100)*
> *  dev: ioapic, id ""*
> *    gpio-in 24*
> *    irq 0*
> *    mmio 00000000fec00000/0000000000001000*
> *  dev: fw_cfg, id ""*
> *    dev-prop: ctl_iobase = 0x510*
> *    dev-prop: data_iobase = 0x511*
> *    irq 0*
> *    mmio ffffffffffffffff/0000000000000002*
> *    mmio ffffffffffffffff/0000000000000002*
> *  dev: kvmclock, id ""*
> *    irq 0*
> *  dev: apic, id ""*
> *    dev-prop: id = 0*
> *    irq 0*
> *    mmio 00000000fee00000/0000000000100000*



More information about the Spice-devel mailing list