public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Michael Tokarev <mjt@tls.msk.ru>
To: KVM list <kvm@vger.kernel.org>
Subject: -netdev & PXEboot
Date: Mon, 29 Mar 2010 19:31:28 +0400	[thread overview]
Message-ID: <4BB0C7D0.9090500@msgid.tls.msk.ru> (raw)

I sent this email yesterday but it never come back to
me and is not shown in archives.  So resending it.

I noticed that with the -netdev syntax (introduced in 0.12)
it is not possible to perform network booting anymore:

$ kvm -net tap,ifname=tap-kvm,id=net0 \
     -device virtio-net-pci,id=net0 -boot n
Cannot boot from non-existent NIC

On the other hand,

$ kvm -net tap,ifname=tap-kvm \
      -net nic,model=virtio -boot n

boots ok.

I also noticed that it's not possible to use
boot=on parameter for network booting at all:

$ kvm -net tap,ifname=tap-kvm  -net nic,model=virtio,boot=on
option "boot" is not valid for net
$ kvm -net tap,ifname=tap-kvm,id=net0 -device virtio-net-pci,id=net0,boot=on
property "virtio-net-pci.boot" not found
can't set property "boot" to "on" for "virtio-net-pci"

What's the way to PXE-boot when using the new
-netdev syntax?

Thanks!

/mjt

                 reply	other threads:[~2010-03-29 15:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4BB0C7D0.9090500@msgid.tls.msk.ru \
    --to=mjt@tls.msk.ru \
    --cc=kvm@vger.kernel.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