cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
407
Views
1
Helpful
6
Replies

Deprecated machine type

thock
Level 1
Level 1

I am atttempting to run a Linux VM in IOx on a C8200 platform.  The container log shows that it is starting with option:

-machine pc-0.13,accel=kvm,usb=off,dump-guest-core=off

and complains:

2025-10-21T17:11:14.773544Z qemu-kvm: Machine type 'pc-0.13' is deprecated: use a newer machine type instead

I really need the machine type to be pc-q35 to support my version of Linux.  Is there a way to specify the correct machine type?

IOx version is 1.20.0.3

6 Replies 6

Torbjørn
VIP
VIP

Can you share some details about your VM, package.yaml and deployment specifics/method? 

Happy to help! Please mark as helpful/solution if applicable.
Get in touch: https://torbjorn.dev

You might be able to do this in the package.yaml file https://developer.cisco.com/docs/iox/package-format/#iox-application-package this might be done in platform or qemu-args? 

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

thock
Level 1
Level 1

The VM runs in KVM on my Ubuntu server when it is configured with pc-q35 machine type.  The app setion of my yaml file is:

app:

  cpuarch: x86_64

  type: vm

  resources:

   profile: custom

   cpu: 7406

   memory: 6144

   vcpu: 2

 

   network:

    - interface-name: eth0

 

  startup:

   ostype: Linux

   disks:

    - target-dev: hda

      file: "ESIP-UTA-10.3_Build54-KVM.qcow2"

 

   qemu-guest-agent: True

I looked through the Package Descriptor document and found app->startup->args but that seems to be specific to Docker startup.  I did not see anything about qemu-args.  Do you have an example of how to configure this in the yaml file? Thanks!

I dont know this be 100% correct, i found this on GH

qemu-guest-agent: True
    qemu-args:
      - "-machine"
      - "pc-q35"
      - "-usb" # Example of another optional argument
      - "-device"
      - "usb-tablet"
Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

This looks like what I would want to use.  Unfortunately, the schema that Cisco uses to parse the yaml file doesn't support qemu-args.

@thock ... gah..... ok i am fresh out of ideas then, i dont even know if you could get the level of access to update the libvirt XML file.

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io