XML for working mips64el guest

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

 



Hi there,

How do I get a working xml for mips64el guest when using virt-manager?

The host system is running Ubuntu, but I believe that this is the right list for things relating to libvirt.

It errors with:
---------------------------------------------
Unable to complete install: 'this function is not supported by the connection driver: 'mips64el' architecture is not supported by CPU driver'

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 75, in cb_wrapper
    callback(asyncjob, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/createvm.py", line 2089, in _do_async_install
    guest.installer_instance.start_install(guest, meter=meter)
  File "/usr/share/virt-manager/virtinst/install/installer.py", line 542, in start_install
    domain = self._create_guest(
  File "/usr/share/virt-manager/virtinst/install/installer.py", line 491, in _create_guest
    domain = self.conn.createXML(install_xml or final_xml, 0)
  File "/usr/lib/python3/dist-packages/libvirt.py", line 4034, in createXML
    if ret is None:raise libvirtError('virDomainCreateXML() failed', conn=self) libvirt.libvirtError: this function is not supported by the connection driver: 'mips64el' architecture is not supported by CPU driver
---------------------------------------------

This is what I'm trying to use:
---------------------------------------------
<domain type="qemu">
  <name>debian9-mips64el</name>
  <metadata>
    <libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0";>
      <libosinfo:os id="http://debian.org/debian/9"/>
    </libosinfo:libosinfo>
  </metadata>
  <memory>1048576</memory>
  <currentMemory>1048576</currentMemory>
  <vcpu>2</vcpu>
  <os>
    <type arch="mips64el" machine="malta">hvm</type>
    <cmdline>nokaslr root=/dev/sda1 console=ttyS0</cmdline>
    <boot dev="hd"/>
  </os>
  <clock offset="utc"/>
  <devices>
    <emulator>/usr/bin/qemu-system-mips64el</emulator>
    <controller type="pci" index="0" model="pci-root"/>
    <disk type="file" device="disk">
      <driver name="qemu" type="qcow2"/>
      <source file="/var/lib/libvirt/images/mip64el/stretch/disk.qcow2"/>
      <target dev="hda" bus="ide"/>
    </disk>
    <interface type="network">
      <source network="default"/>
      <mac address="52:54:00:c5:63:f5"/>
    </interface>
    <console type="pty"/>
  </devices>
</domain>
---------------------------------------------------------------------------------------------------------------




[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux