Re: [PATCH 5/5] virt-manager: add opengl graphics option

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, if I use this patch, I cannot add a spice display device. I get an error about "Graphics Device Parameter error, too many values to unpack" and if I hit OK I get 'NoneType' object has no attribute 'virtual_device_type' Below is the virt-manager -debug log.

Thanks,
Sarnex

sarnex@pc ~ $ virt-manager --debug
[Tue, 01 Mar 2016 19:43:45 virt-manager 25068] DEBUG (cli:256) Launched with command line: /usr/share/virt-manager/virt-manager --debug
[Tue, 01 Mar 2016 19:43:45 virt-manager 25068] DEBUG (virt-manager:143) virt-manager version: 1.3.2
[Tue, 01 Mar 2016 19:43:45 virt-manager 25068] DEBUG (virt-manager:144) virtManager import: <module 'virtManager' from '/usr/share/virt-manager/virtManager/__init__.py'>
[Tue, 01 Mar 2016 19:43:45 virt-manager 25068] DEBUG (virt-manager:203) GTK version: 3.18.7
[Tue, 01 Mar 2016 19:43:45 virt-manager 25068] DEBUG (engine:496) libguestfs inspection support: False
[Tue, 01 Mar 2016 19:43:45 virt-manager 25068] DEBUG (systray:72) Using AppIndicator3 for systray
[Tue, 01 Mar 2016 19:43:45 virt-manager 25068] DEBUG (systray:154) Showing systray: False
[Tue, 01 Mar 2016 19:43:45 virt-manager 25068] DEBUG (engine:1028) processing cli command uri= show_window= domain=
[Tue, 01 Mar 2016 19:43:45 virt-manager 25068] DEBUG (engine:1030) No cli action requested, launching default window
[Tue, 01 Mar 2016 19:43:45 virt-manager 25068] DEBUG (manager:203) Showing manager
[Tue, 01 Mar 2016 19:43:45 virt-manager 25068] DEBUG (engine:401) window counter incremented to 1
[Tue, 01 Mar 2016 19:43:45 virt-manager 25068] DEBUG (engine:161) Loading stored URIs:
qemu:///system
[Tue, 01 Mar 2016 19:43:45 virt-manager 25068] DEBUG (engine:140) Initial gtkapplication activated
[Tue, 01 Mar 2016 19:43:46 virt-manager 25068] DEBUG (connection:568) conn=qemu:///system changed to state=Connecting
[Tue, 01 Mar 2016 19:43:46 virt-manager 25068] DEBUG (connection:887) Scheduling background open thread for qemu:///system
[Tue, 01 Mar 2016 19:43:46 virt-manager 25068] DEBUG (connection:936) libvirt version=1003003
[Tue, 01 Mar 2016 19:43:46 virt-manager 25068] DEBUG (connection:938) daemon version=1003003
[Tue, 01 Mar 2016 19:43:46 virt-manager 25068] DEBUG (connection:939) conn version=2005050
[Tue, 01 Mar 2016 19:43:46 virt-manager 25068] DEBUG (connection:941) qemu:///system capabilities:
<capabilities>

  <host>
    <uuid>03de0294-0480-0527-4d06-320700080009</uuid>
    <cpu>
      <arch>x86_64</arch>
      <model>Opteron_G5</model>
      <vendor>AMD</vendor>
      <topology sockets="1" cores="8" threads="1"/>
      <feature name="invtsc"/>
      <feature name="bmi1"/>
      <feature name="perfctr_nb"/>
      <feature name="perfctr_core"/>
      <feature name="topoext"/>
      <feature name="nodeid_msr"/>
      <feature name="tce"/>
      <feature name="lwp"/>
      <feature name="wdt"/>
      <feature name="skinit"/>
      <feature name="ibs"/>
      <feature name="osvw"/>
      <feature name="cr8legacy"/>
      <feature name="extapic"/>
      <feature name="cmp_legacy"/>
      <feature name="fxsr_opt"/>
      <feature name="mmxext"/>
      <feature name="osxsave"/>
      <feature name="monitor"/>
      <feature name="ht"/>
      <feature name="vme"/>
      <pages unit="KiB" size="4"/>
      <pages unit="KiB" size="2048"/>
    </cpu>
    <power_management>
      <suspend_mem/>
      <suspend_disk/>
      <suspend_hybrid/>
    </power_management>
    <migration_features>
      <live/>
      <uri_transports>
        <uri_transport>tcp</uri_transport>
        <uri_transport>rdma</uri_transport>
      </uri_transports>
    </migration_features>
    <topology>
      <cells num="1">
        <cell id="0">
          <memory unit="KiB">8144104</memory>
          <cpus num="8">
            <cpu id="0" socket_id="0" core_id="0" siblings="0"/>
            <cpu id="1" socket_id="0" core_id="1" siblings="1"/>
            <cpu id="2" socket_id="0" core_id="2" siblings="2"/>
            <cpu id="3" socket_id="0" core_id="3" siblings="3"/>
            <cpu id="4" socket_id="0" core_id="4" siblings="4"/>
            <cpu id="5" socket_id="0" core_id="5" siblings="5"/>
            <cpu id="6" socket_id="0" core_id="6" siblings="6"/>
            <cpu id="7" socket_id="0" core_id="7" siblings="7"/>
          </cpus>
        </cell>
      </cells>
    </topology>
    <secmodel>
      <model>none</model>
      <doi>0</doi>
    </secmodel>
    <secmodel>
      <model>dac</model>
      <doi>0</doi>
      <baselabel type="kvm">+1000:+10</baselabel>
      <baselabel type="qemu">+1000:+10</baselabel>
    </secmodel>
  </host>

  <guest>
    <os_type>hvm</os_type>
    <arch name="i686">
      <wordsize>32</wordsize>
      <emulator>/usr/bin/qemu-system-x86_64</emulator>
      <machine maxCpus="255">pc-i440fx-2.6</machine>
      <machine canonical="pc-i440fx-2.6" maxCpus="255">pc</machine>
      <machine maxCpus="255">pc-1.3</machine>
      <machine maxCpus="255">pc-i440fx-2.4</machine>
      <machine maxCpus="255">pc-0.12</machine>
      <machine maxCpus="255">pc-q35-1.6</machine>
      <machine maxCpus="255">pc-q35-2.6</machine>
      <machine canonical="pc-q35-2.6" maxCpus="255">q35</machine>
      <machine maxCpus="255">pc-i440fx-1.7</machine>
      <machine maxCpus="255">pc-i440fx-1.6</machine>
      <machine maxCpus="255">pc-q35-2.2</machine>
      <machine maxCpus="255">pc-q35-2.1</machine>
      <machine maxCpus="255">pc-0.11</machine>
      <machine maxCpus="255">pc-q35-1.5</machine>
      <machine maxCpus="255">pc-0.10</machine>
      <machine maxCpus="255">pc-i440fx-2.2</machine>
      <machine maxCpus="1">isapc</machine>
      <machine maxCpus="255">pc-i440fx-2.3</machine>
      <machine maxCpus="255">pc-q35-1.4</machine>
      <machine maxCpus="255">pc-1.2</machine>
      <machine maxCpus="255">pc-q35-2.5</machine>
      <machine maxCpus="255">pc-0.15</machine>
      <machine maxCpus="255">pc-i440fx-1.5</machine>
      <machine maxCpus="255">pc-q35-2.0</machine>
      <machine maxCpus="255">pc-i440fx-1.4</machine>
      <machine maxCpus="255">pc-i440fx-2.5</machine>
      <machine maxCpus="255">pc-0.14</machine>
      <machine maxCpus="255">pc-1.1</machine>
      <machine maxCpus="255">pc-q35-1.7</machine>
      <machine maxCpus="255">pc-i440fx-2.1</machine>
      <machine maxCpus="255">pc-1.0</machine>
      <machine maxCpus="255">pc-i440fx-2.0</machine>
      <machine maxCpus="255">pc-q35-2.4</machine>
      <machine maxCpus="255">pc-q35-2.3</machine>
      <machine maxCpus="255">pc-0.13</machine>
      <domain type="qemu">
        <emulator>/usr/bin/qemu-system-x86_64</emulator>
      </domain>
      <domain type="kvm">
        <emulator>/usr/bin/qemu-system-x86_64</emulator>
      </domain>
    </arch>
    <features>
      <cpuselection/>
      <deviceboot/>
      <disksnapshot default="on" toggle="no"/>
      <acpi default="on" toggle="yes"/>
      <apic default="on" toggle="no"/>
      <pae/>
      <nonpae/>
    </features>
  </guest>

  <guest>
    <os_type>hvm</os_type>
    <arch name="x86_64">
      <wordsize>64</wordsize>
      <emulator>/usr/bin/qemu-system-x86_64</emulator>
      <machine maxCpus="255">pc-i440fx-2.6</machine>
      <machine canonical="pc-i440fx-2.6" maxCpus="255">pc</machine>
      <machine maxCpus="255">pc-1.3</machine>
      <machine maxCpus="255">pc-i440fx-2.4</machine>
      <machine maxCpus="255">pc-0.12</machine>
      <machine maxCpus="255">pc-q35-1.6</machine>
      <machine maxCpus="255">pc-q35-2.6</machine>
      <machine canonical="pc-q35-2.6" maxCpus="255">q35</machine>
      <machine maxCpus="255">pc-i440fx-1.7</machine>
      <machine maxCpus="255">pc-i440fx-1.6</machine>
      <machine maxCpus="255">pc-q35-2.2</machine>
      <machine maxCpus="255">pc-q35-2.1</machine>
      <machine maxCpus="255">pc-0.11</machine>
      <machine maxCpus="255">pc-q35-1.5</machine>
      <machine maxCpus="255">pc-0.10</machine>
      <machine maxCpus="255">pc-i440fx-2.2</machine>
      <machine maxCpus="1">isapc</machine>
      <machine maxCpus="255">pc-i440fx-2.3</machine>
      <machine maxCpus="255">pc-q35-1.4</machine>
      <machine maxCpus="255">pc-1.2</machine>
      <machine maxCpus="255">pc-q35-2.5</machine>
      <machine maxCpus="255">pc-0.15</machine>
      <machine maxCpus="255">pc-i440fx-1.5</machine>
      <machine maxCpus="255">pc-q35-2.0</machine>
      <machine maxCpus="255">pc-i440fx-1.4</machine>
      <machine maxCpus="255">pc-i440fx-2.5</machine>
      <machine maxCpus="255">pc-0.14</machine>
      <machine maxCpus="255">pc-1.1</machine>
      <machine maxCpus="255">pc-q35-1.7</machine>
      <machine maxCpus="255">pc-i440fx-2.1</machine>
      <machine maxCpus="255">pc-1.0</machine>
      <machine maxCpus="255">pc-i440fx-2.0</machine>
      <machine maxCpus="255">pc-q35-2.4</machine>
      <machine maxCpus="255">pc-q35-2.3</machine>
      <machine maxCpus="255">pc-0.13</machine>
      <domain type="qemu">
        <emulator>/usr/bin/qemu-system-x86_64</emulator>
      </domain>
      <domain type="kvm">
        <emulator>/usr/bin/qemu-system-x86_64</emulator>
      </domain>
    </arch>
    <features>
      <cpuselection/>
      <deviceboot/>
      <disksnapshot default="on" toggle="no"/>
      <acpi default="on" toggle="yes"/>
      <apic default="on" toggle="no"/>
    </features>
  </guest>

</capabilities>

[Tue, 01 Mar 2016 19:43:46 virt-manager 25068] DEBUG (connection:789) Using domain events
[Tue, 01 Mar 2016 19:43:46 virt-manager 25068] DEBUG (connection:826) Using network events
[Tue, 01 Mar 2016 19:43:46 virt-manager 25068] DEBUG (connection:1050) network=default status=Active added
[Tue, 01 Mar 2016 19:43:46 virt-manager 25068] DEBUG (connection:1050) pool=default status=Active added
[Tue, 01 Mar 2016 19:43:46 virt-manager 25068] DEBUG (connection:1050) network=wifi status=Active added
[Tue, 01 Mar 2016 19:43:46 virt-manager 25068] DEBUG (connection:1050) interface=enp8s0 status=Inactive added
[Tue, 01 Mar 2016 19:43:46 virt-manager 25068] DEBUG (connection:1050) interface=wlp2s0 status=Active added
[Tue, 01 Mar 2016 19:43:46 virt-manager 25068] DEBUG (connection:1050) interface=lo status=Inactive added
[Tue, 01 Mar 2016 19:43:46 virt-manager 25068] DEBUG (connection:1050) interface=sit0 status=Inactive added
[Tue, 01 Mar 2016 19:43:46 virt-manager 25068] DEBUG (connection:1050) domain=ubuntu-virgl status=Shutoff added
[Tue, 01 Mar 2016 19:43:46 virt-manager 25068] DEBUG (connection:1050) interface=virbr1 status=Inactive added
[Tue, 01 Mar 2016 19:43:46 virt-manager 25068] DEBUG (connection:1050) interface=virbr0 status=Inactive added
[Tue, 01 Mar 2016 19:43:46 virt-manager 25068] DEBUG (connection:1050) domain=gpu-passthrough status=Shutoff added
[Tue, 01 Mar 2016 19:43:46 virt-manager 25068] DEBUG (connection:1050) pool=500GB status=Active added
[Tue, 01 Mar 2016 19:43:46 virt-manager 25068] DEBUG (connection:1050) domain=win7 status=Shutoff added
[Tue, 01 Mar 2016 19:43:46 virt-manager 25068] DEBUG (connection:568) conn=qemu:///system changed to state=Active
[Tue, 01 Mar 2016 19:44:46 virt-manager 25068] DEBUG (create:195) Showing new vm wizard
[Tue, 01 Mar 2016 19:44:46 virt-manager 25068] DEBUG (create:698) Guest type set to os_type=hvm, arch=x86_64, dom_type=kvm
[Tue, 01 Mar 2016 19:44:47 virt-manager 25068] DEBUG (create:205) Closing new vm wizard
[Tue, 01 Mar 2016 19:44:50 virt-manager 25068] DEBUG (details:612) Showing VM details: <vmmDomain object at 0x7fd8a4ff4e60 (virtManager+domain+vmmDomain at 0x2c9ce20)>
[Tue, 01 Mar 2016 19:44:50 virt-manager 25068] DEBUG (engine:401) window counter incremented to 2
[Tue, 01 Mar 2016 19:44:52 virt-manager 25068] DEBUG (addhardware:124) Showing addhw
[Tue, 01 Mar 2016 19:44:53 virt-manager 25068] DEBUG (addhardware:134) Closing addhw
[Tue, 01 Mar 2016 19:44:55 virt-manager 25068] DEBUG (details:2222) Removing device: <virtinst.devicevideo.VirtualVideoDevice object at 0x7fd8a5520650>
[Tue, 01 Mar 2016 19:44:55 virt-manager 25068] DEBUG (libvirtobject:74) Redefining <vmmDomain name=ubuntu-virgl> with XML diff:
--- Original XML
+++ New XML
@@ -74,12 +74,6 @@
     </channel>
     <input type="mouse" bus="ps2"/>
     <input type="keyboard" bus="ps2"/>
-    <video>
-      <model type="virtio" heads="1" primary="yes">
-        <acceleration accel3d="yes"/>
-      </model>
-      <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x0"/>
-    </video>
     <memballoon model="virtio">
       <address type="pci" domain="0x0000" bus="0x00" slot="0x08" function="0x0"/>
     </memballoon>

[Tue, 01 Mar 2016 19:44:55 virt-manager 25068] DEBUG (connection:754) domain lifecycle event: domain=ubuntu-virgl event=0 reason=1
[Tue, 01 Mar 2016 19:44:56 virt-manager 25068] DEBUG (addhardware:124) Showing addhw
[Tue, 01 Mar 2016 19:44:59 virt-manager 25068] ERROR (error:142) Validation Error: Graphics device parameter error too many values to unpack
Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/addhardware.py", line 1564, in _validate_page_graphics
    tlsport, addr, passwd, keymap) = self._gfxdetails.get_values()
ValueError: too many values to unpack
[Tue, 01 Mar 2016 19:45:32 virt-manager 25068] DEBUG (error:99) error dialog message:
summary='NoneType' object has no attribute 'virtual_device_type'
details=Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 88, in cb_wrapper
    callback(asyncjob, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/addhardware.py", line 1275, in _setup_device
    if (self._dev.virtual_device_type == "disk" and
AttributeError: 'NoneType' object has no attribute 'virtual_device_type'



_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list

[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux