qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paul Schlacter <wlfightup@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] how to modify or add machines type ?
Date: Wed, 6 Sep 2017 20:13:38 +0800	[thread overview]
Message-ID: <CADak6y7DSednJgLkivprv0fAkLvE2=Dge0LzNJ0MnigvBEz+_A@mail.gmail.com> (raw)

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

             reply	other threads:[~2017-09-06 12:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-06 12:13 Paul Schlacter [this message]
2017-09-06 12:28 ` [Qemu-devel] how to modify or add machines type ? Daniel P. Berrange

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADak6y7DSednJgLkivprv0fAkLvE2=Dge0LzNJ0MnigvBEz+_A@mail.gmail.com' \
    --to=wlfightup@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).