Bug 444578

Summary: kvm: support booting from virtio drives using -kernel
Product: [Fedora] Fedora Reporter: Mark McLoughlin <markmc>
Component: kvmAssignee: Glauber Costa <gcosta>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: berrange, clalance, katzj
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kvm-65-4 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-05-20 15:40:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
0001-kvm-qemu-Allow-booting-from-extboot-drive-with-ke.patch none

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)