Bug 444578 - kvm: support booting from virtio drives using -kernel
Summary: kvm: support booting from virtio drives using -kernel
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: kvm
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Glauber Costa
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-04-29 10:48 UTC by Mark McLoughlin
Modified: 2008-05-20 15:40 UTC (History)
3 users (show)

Fixed In Version: kvm-65-4
Clone Of:
Environment:
Last Closed: 2008-05-20 15:40:30 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
0001-kvm-qemu-Allow-booting-from-extboot-drive-with-ke.patch (1.20 KB, patch)
2008-04-29 10:48 UTC, Mark McLoughlin
no flags Details | Diff

Description Mark McLoughlin 2008-04-29 10:48:45 UTC
Currently if you try and do:

  $> qemu-kvm -kernel .. -initrd .. -drive boot=on,if=virtio,file=..

Then you get:

  A disk image must be given for 'hda' when booting a Linux kernel

Just sent a trivial fix upstream, attaching here

Comment 1 Mark McLoughlin 2008-04-29 10:48:45 UTC
Created attachment 304101 [details]
0001-kvm-qemu-Allow-booting-from-extboot-drive-with-ke.patch

Comment 2 Jeremy Katz 2008-04-29 12:47:29 UTC
Patch looks fine, but unless you feel strongly about it for F9, it's probably
not blocker material.  And you should be able to commit the patch to devel/  (or
any branch)

If I do a build for bug 444475, though, I can pull this in then.

Comment 3 Mark McLoughlin 2008-04-29 13:43:43 UTC
Okay, kvm-65-2 building in dist-f9-updates-candidate and dist-f10

Agreed that it's not an F9 blocker - would have added it to F9Blocker otherwise;
this isn't going to be an issue for anyone until we have virtio support in
virt-install/virt-manager, really

Useful for testing F-9 kvm/virtio installs with kickstart, though :)


* Tue Apr 29 2008 Mark McLoughlin <markmc> - 65-2
- Fix -kernel with virtio/extboot drives (#444578)


Comment 4 Fedora Update System 2008-05-14 11:52:01 UTC
kvm-65-2.fc9 has been submitted as an update for Fedora 9

Comment 5 Mark McLoughlin 2008-05-20 14:27:28 UTC
glommer: you broke my patch :-)

 Patch4: %{name}-65-kernel-virtio-boot.patch
+Patch4: %{name}-65-cirrus.patch


Comment 6 Fedora Update System 2008-05-20 15:17:50 UTC
kvm-65-4.fc9 has been submitted as an update for Fedora 9

Comment 7 Mark McLoughlin 2008-05-20 15:40:30 UTC
* Tue May 20 2008 Mark McLoughlin <markmc> - 65-4.fc9
- Re-enable patch to fix -kernel with virtio/extboot drives (#444578)



Note You need to log in before you can comment on or make changes to this bug.