Skip to content

Some problems with creating Instances on ARM server(Huawei Taishan 200) #533

@smallpize

Description

@smallpize

Server environment: Huawei Taishan 200, ARM server
libvirt: 6.2.0
qemu.aarch64: 4.1.0

  1. create instance error : Firmware: Ensure this value has at most 50 characters (it has 57).
    modify instances/models.py file:

firmware = models.CharField(max_length=50) change to firmware = models.CharField(max_length=60)

  1. set instance video model must be "virtro"
    image

  2. cdrom default bus='sata', not work:

set1:

<disk type='file' device='cdrom'>
  ...
  <target dev='sda' bus='sata'/>   **change to**  <target dev='sda' bus='scsi'/>
  ...
</disk>

set2:

<controller type='sata' index='0'>   **change to**  <controller type='scsi' index='0' model='virtio-scsi'>
  <address type='pci' domain='0x0000' bus='0x03' slot='0x01' function='0x0'/>
</controller>
  1. mouse and keyboard defaule bus='virtio' , not work:

set1: add usb controller

<controller type='usb' index='0' model='qemu-xhci' ports='15'>
  <address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x0'/>
</controller>

set2: change mouse and keyboard setting to these

<input type='tablet' bus='usb'>
  <address type='usb' bus='0' port='1'/>
</input>
<input type='keyboard' bus='usb'>
  <address type='usb' bus='0' port='2'/>
</input>

Suggestion:

  1. add some options to set these.
  2. I saw Settings for VM Architecture Type no option: arm64 , Is it possible to modify the default template when choosing to use arm64?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions