qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2] port over extboot from kvm
@ 2009-09-08  9:17 Gerd Hoffmann
  2009-09-08  9:17 ` [Qemu-devel] [PATCH 1/2] extboot: add option rom Gerd Hoffmann
                   ` (4 more replies)
  0 siblings, 5 replies; 29+ messages in thread
From: Gerd Hoffmann @ 2009-09-08  9:17 UTC (permalink / raw)
  To: qemu-devel; +Cc: Gerd Hoffmann

$subject says pretty much everything.

extboot.[cS] are a straight copy from the kvm tree.  The windup in vl,c
and hw/pc.c is done slightly different, I've added a function to lookup
the boot drive instead of adding a new global variable.

Booting from scsi and virtio works, using the boot=on flag.

With the usb+scsi patches in anthonys patch queue applied booting from
usb works too.  Syntax is this:

	-drive if=none,id=pendrive,file=/path/to/image,boot=on
	-usb -device usb-storage,drive=pendrive

Booting a rawhide install from a virtual usb stick doesn't actually work
though, looks like it stresses qemus usb emulation too much.

^ permalink raw reply	[flat|nested] 29+ messages in thread
* [Qemu-devel] [PATCH 0/2] extboot reloaded.
@ 2009-11-16 18:04 Gerd Hoffmann
  2009-11-16 18:04 ` [Qemu-devel] [PATCH 1/2] extboot: add option rom Gerd Hoffmann
  0 siblings, 1 reply; 29+ messages in thread
From: Gerd Hoffmann @ 2009-11-16 18:04 UTC (permalink / raw)
  To: qemu-devel; +Cc: Gerd Hoffmann

  Hi,

How about this one?  extboot rom and interface are unmodified.

The windup in qemu is very different though.  It is now implemented as
isa bus device (which is what extboot actually is).  It is properly
integrated into qdev.  It is much less invasive than the previous
version.  The patch just drops a hw/extboot.c file into the tree and
adds it to Makefile.target.  No code changes anywhere else in qemu.

The magic words to activate extboot are '-device extboot,drive=<name>'.

cheers,
  Gerd

^ permalink raw reply	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2009-11-16 18:04 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-08  9:17 [Qemu-devel] [PATCH 0/2] port over extboot from kvm Gerd Hoffmann
2009-09-08  9:17 ` [Qemu-devel] [PATCH 1/2] extboot: add option rom Gerd Hoffmann
2009-09-08  9:17 ` [Qemu-devel] [PATCH 2/2] extboot: qemu code Gerd Hoffmann
2009-09-08 11:59 ` [Qemu-devel] [PATCH 0/2] port over extboot from kvm Gerd Hoffmann
2009-09-08 13:47 ` [Qemu-devel] " Jan Kiszka
2009-09-08 14:22   ` Gerd Hoffmann
2009-09-08 14:32     ` Anthony Liguori
2009-09-08 16:05       ` Avi Kivity
2009-09-08 17:21         ` Anthony Liguori
2009-09-08 19:11           ` Avi Kivity
2009-09-08 19:46             ` Anthony Liguori
2009-09-08 20:00               ` Avi Kivity
2009-09-08 20:10                 ` Anthony Liguori
2009-09-12 15:03         ` Kevin O'Connor
2009-09-08 14:40     ` Jan Kiszka
2009-09-08 14:52       ` Gerd Hoffmann
2009-09-08 16:15         ` Jan Kiszka
2009-09-08 17:12           ` Anthony Liguori
2009-09-08 19:03             ` Gerd Hoffmann
2009-09-08 19:39               ` Anthony Liguori
2009-09-12 15:43       ` Kevin O'Connor
2009-09-08 14:16 ` [Qemu-devel] " Anthony Liguori
2009-11-09 16:06   ` Paul Brook
2009-11-09 16:31     ` Gerd Hoffmann
2009-11-09 16:40       ` Anthony Liguori
2009-11-11 13:01         ` Hannes Reinecke
2009-11-11 13:25           ` Anthony Liguori
2009-11-11 13:54             ` Paul Brook
  -- strict thread matches above, loose matches on Subject: below --
2009-11-16 18:04 [Qemu-devel] [PATCH 0/2] extboot reloaded Gerd Hoffmann
2009-11-16 18:04 ` [Qemu-devel] [PATCH 1/2] extboot: add option rom Gerd Hoffmann

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).