Re: can kvm tool load vmlinux?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 15/12/11 08:24, David Evensky wrote:
> 
> I've been trying see if I can use a vmlinux kernel binary image with kvm tool.
> If use a bzImage as
> 
>     lkvm run -k .../bzImage --console serial -d /dev/null
> 
> which runs until it expectedly dies since I didn't give it an initramfs or disk.
> However, when I try:
> 
>     lkvm run -k .../bzImage --console serial -d /dev/null
> 
> I get the following printed and then nothing:
> 
>   # kvm run -k .../vmlinux -m 448 -c 4 --name guest-12289
>   Warning: .../vmlinux is not a bzImage. Trying to load it as a flat binary...
> 
> 
> Is this supposed to work?

Hi David,


Currently there are loaders for bzImages and flat binaries only.  Since your
vmlinux is not detected as a bzImage (it's a plain ELF), kvmtool will assume
it's a flat binary (which it isn't) & try that.  Boom!

An ELF loader would be cool though.  (Maybe if I find time...)


Cheers,


Matt
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux