* [Qemu-devel] how to modify or add machines type ?
@ 2017-09-06 12:13 Paul Schlacter
2017-09-06 12:28 ` Daniel P. Berrange
0 siblings, 1 reply; 2+ messages in thread
From: Paul Schlacter @ 2017-09-06 12:13 UTC (permalink / raw)
To: qemu-devel
I made the default config build the qemu-kvm , But I used virsh xml
corresponding machine-type inconsistent, resulting in an error.
error:
2017-09-06T12:16:36.036200Z qemu-kvm: -machine
pc-i440fx-rhel7.0.0,accel=kvm,usb=off: unsupported machine type
Use -machine help to list supported machines
Is there any way to modify the machines in qemu-kvm?
[root@nova02 qemu-2.6.0]# /usr/libexec/qemu-kvm -M ?
Supported machines are:
pc Standard PC (i440FX + PIIX, 1996) (alias of
pc-i440fx-2.6)
pc-i440fx-2.6 Standard PC (i440FX + PIIX, 1996) (default)
pc-i440fx-2.5 Standard PC (i440FX + PIIX, 1996)
pc-i440fx-2.4 Standard PC (i440FX + PIIX, 1996)
pc-i440fx-2.3 Standard PC (i440FX + PIIX, 1996)
pc-i440fx-2.2 Standard PC (i440FX + PIIX, 1996)
pc-i440fx-2.1 Standard PC (i440FX + PIIX, 1996)
pc-i440fx-2.0 Standard PC (i440FX + PIIX, 1996)
pc-i440fx-1.7 Standard PC (i440FX + PIIX, 1996)
pc-i440fx-1.6 Standard PC (i440FX + PIIX, 1996)
pc-i440fx-1.5 Standard PC (i440FX + PIIX, 1996)
pc-i440fx-1.4 Standard PC (i440FX + PIIX, 1996)
pc-1.3 Standard PC (i440FX + PIIX, 1996)
pc-1.2 Standard PC (i440FX + PIIX, 1996)
pc-1.1 Standard PC (i440FX + PIIX, 1996)
pc-1.0 Standard PC (i440FX + PIIX, 1996)
pc-0.15 Standard PC (i440FX + PIIX, 1996)
pc-0.14 Standard PC (i440FX + PIIX, 1996)
pc-0.13 Standard PC (i440FX + PIIX, 1996)
pc-0.12 Standard PC (i440FX + PIIX, 1996)
pc-0.11 Standard PC (i440FX + PIIX, 1996)
pc-0.10 Standard PC (i440FX + PIIX, 1996)
q35 Standard PC (Q35 + ICH9, 2009) (alias of pc-q35-2.6)
pc-q35-2.6 Standard PC (Q35 + ICH9, 2009)
pc-q35-2.5 Standard PC (Q35 + ICH9, 2009)
pc-q35-2.4 Standard PC (Q35 + ICH9, 2009)
isapc ISA-only PC
none empty machine
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] how to modify or add machines type ?
2017-09-06 12:13 [Qemu-devel] how to modify or add machines type ? Paul Schlacter
@ 2017-09-06 12:28 ` Daniel P. Berrange
0 siblings, 0 replies; 2+ messages in thread
From: Daniel P. Berrange @ 2017-09-06 12:28 UTC (permalink / raw)
To: Paul Schlacter; +Cc: qemu-devel
On Wed, Sep 06, 2017 at 08:13:38PM +0800, Paul Schlacter wrote:
> I made the default config build the qemu-kvm , But I used virsh xml
> corresponding machine-type inconsistent, resulting in an error.
>
> error:
> 2017-09-06T12:16:36.036200Z qemu-kvm: -machine
> pc-i440fx-rhel7.0.0,accel=kvm,usb=off: unsupported machine type
> Use -machine help to list supported machines
>
>
> Is there any way to modify the machines in qemu-kvm?
Why do you want to change the QEMU machines, instead of just editting
your libvirt guest XML to use one of the machine types that QEMU
already supports ? (virsh edit $GUESTNAME and then find the machine
type name & change it)
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-09-06 12:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-06 12:13 [Qemu-devel] how to modify or add machines type ? Paul Schlacter
2017-09-06 12:28 ` Daniel P. Berrange
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.