[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Guest kernel device compatability auto-detection
From: |
Richard W.M. Jones |
Subject: |
Re: [Qemu-devel] Guest kernel device compatability auto-detection |
Date: |
Thu, 25 Aug 2011 08:48:25 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Thu, Aug 25, 2011 at 10:40:34AM +0300, Sasha Levin wrote:
> From what I gathered libguestfs only provides access to the guests'
> image.
Correct.
> Which part is doing the IKCONFIG or System.map probing? Or is it done in
> a different way?
You'll have to see what Matt's doing in the virt-v2v code for the
details, but in general we have full access to:
- grub.conf (to determine which kernel will boot)
- the kernel image
- the corresponding System.map and config
- the modules directory
- the Xorg config
- boot.ini or BCD (to determine which NT kernel will boot)
- the Windows Registry
- the list of packages installed (to see if VMware-tools or some other
guest agent is installed)
So working out what drivers are available is just a tedious matter of
iterating across each of these places in the filesystem.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-top is 'top' for virtual machines. Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top
- [Qemu-devel] Guest kernel device compatability auto-detection, Sasha Levin, 2011/08/25
- Re: [Qemu-devel] Guest kernel device compatability auto-detection, Avi Kivity, 2011/08/25
- Re: [Qemu-devel] Guest kernel device compatability auto-detection, Richard W.M. Jones, 2011/08/25
- Re: [Qemu-devel] Guest kernel device compatability auto-detection, Sasha Levin, 2011/08/25
- Re: [Qemu-devel] Guest kernel device compatability auto-detection,
Richard W.M. Jones <=
- Re: [Qemu-devel] Guest kernel device compatability auto-detection, Richard W.M. Jones, 2011/08/25
- Re: [Qemu-devel] Guest kernel device compatability auto-detection, Decker, Schorschi, 2011/08/25
- Re: [Qemu-devel] Guest kernel device compatability auto-detection, Sasha Levin, 2011/08/26
- Re: [Qemu-devel] Guest kernel device compatability auto-detection, Richard W.M. Jones, 2011/08/26
- Re: [Qemu-devel] Guest kernel device compatability auto-detection, Sasha Levin, 2011/08/26
- Re: [Qemu-devel] Guest kernel device compatability auto-detection, Richard W.M. Jones, 2011/08/26
Re: [Qemu-devel] Guest kernel device compatability auto-detection, Anthony Liguori, 2011/08/25