Thomas Mueller wrote:
> Hi Anthony
>
>   
>>> has anybody out there a minimalistic .config to build a minimal guest 
>>> kernel image with virtio enabled?
>>>   
>>>       
>> I usually do a make defconfig, enable the CONFIG_VIRTIO_* options in 
>> .config, then do a make oldconfig and answer 'y' to all of the questions.
>>     
>
> ok, i'll give it a try. But "make defconfig" will make a new .config. So 
> i think there won't ever be any 'y' to give to "make oldconfig"?
>
> anyhow. after "make defconfig" there was no "CONFIG_VIRTIO_BLK" in it. 
> But in "make menuconfig" i found and enabled it (also 
> CONFIG_VIRTIO_NIC). (maybe some issues of -rc2)
>
>
>   
>>> all my tries with virtio ended up with a kernel panic not finding the 
>>> harddisk... Is virtio for the disk supported by kvm-60 and do i need to 
>>> enable it on the command line? Without my own virtio enabled kernel 
>>> things work just fine.
>>>   
>>>       
>> Please post your command line for launching KVM.  Make sure you have a 
>> root parameter like "root=/dev/vda1".
>>     
>
> the "vda1" thing i didn't know. thanks. will also give it a try - tomorrow.
>
> Is "virtio" block device replacing SATA/SCSI  - are the  SCSI/SATA 
> drivers needed on guest?
>   

The virtio block driver should be the only block driver you need in the 
guest unless you want to give the guest a cdrom (which requires IDE).  
The virtio block protocol should support everything needed to expose a 
CDROM to a guest but we haven't implemented backend support for it yet.

Regards,

Anthony Liguori

> thanks
> - Thomas
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> kvm-devel mailing list
> kvm-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/kvm-devel
>   


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to