| { |
| "data": { |
| "description": "A virtual x64 device", |
| "hardware": { |
| "cpu": { |
| "arch": "x64" |
| }, |
| "audio": { |
| "model": "hda" |
| }, |
| "inputs": { |
| "pointing_device": "touch" |
| }, |
| "window_size": { |
| "height": 800, |
| "width": 1280, |
| "units": "pixels" |
| }, |
| "memory": { |
| "quantity": 8192, |
| "units": "megabytes" |
| }, |
| "storage": { |
| "quantity": 2, |
| "units": "gigabytes" |
| } |
| }, |
| "behaviors": { |
| "no_accel": { |
| "description": "Acceleration disabled. Works for Femu and Qemu, on MacOS and Linux. Included when --accel=None.", |
| "data": { |
| "femu": { |
| "args": [ |
| "-cpu", |
| "Haswell,+smap,-check,-fsgsbase" |
| ], |
| "features": [], |
| "kernel_args": [], |
| "options": [] |
| } |
| }, |
| "handler": "NoAccelerationBehavior" |
| }, |
| "kvm_enabled": { |
| "description": "Kvm-based acceleration enabled. Works for Femu and Qemu on Linux. Included when --accel=auto or --accel=hyper on Linux.", |
| "data": { |
| "femu": { |
| "args": [ |
| "-enable-kvm", |
| "-cpu", |
| "host,migratable=no,+invtsc" |
| ], |
| "features": [ |
| "KVM" |
| ], |
| "kernel_args": [], |
| "options": [] |
| } |
| }, |
| "handler": "KvmBehavior" |
| }, |
| "hvf_enabled": { |
| "description": "Hvf-based acceleration enabled. Works for Femu and Qemu on MacOS. Included when --accel=auto or --accel=hyper on MacOS.", |
| "data": { |
| "femu": { |
| "args": [ |
| "-enable-hvf", |
| "-cpu", |
| "Haswell" |
| ], |
| "features": [ |
| "HVF" |
| ], |
| "kernel_args": [ |
| "kernel.page-scanner.page-table-eviction-policy=never" |
| ], |
| "options": [] |
| } |
| }, |
| "handler": "HvfBehavior" |
| }, |
| "four_core_cpu": { |
| "description": "A basic CPU configuration. Works for Femu and Qemu, on Linux and MacOS. Always included.", |
| "data": { |
| "femu": { |
| "args": [], |
| "features": [], |
| "kernel_args": [], |
| "options": [ |
| "-smp 4,threads=2", |
| "-machine q35" |
| ] |
| } |
| }, |
| "handler": "SimpleBehavior" |
| } |
| }, |
| "name": "qemu-x64", |
| "type": "virtual_device" |
| }, |
| "schema_id": "http://fuchsia.com/schemas/sdk/virtual_device-93A41932.json" |
| } |