10-21-2025 12:56 PM
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
10-21-2025 01:12 PM
Can you share some details about your VM, package.yaml and deployment specifics/method?
10-21-2025 01:16 PM
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?
10-21-2025 05:28 PM
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!
10-22-2025 01:51 AM
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"
10-23-2025 07:41 AM
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.
10-23-2025 07:55 AM
@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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide