* Adding VIRTIO to the multi_v7_defconfig
@ 2015-11-29 22:18 Peter Crosthwaite
2015-11-29 22:31 ` Arnd Bergmann
0 siblings, 1 reply; 4+ messages in thread
From: Peter Crosthwaite @ 2015-11-29 22:18 UTC (permalink / raw)
To: Guenter Roeck, linux-kernel, Peter Maydell, linux-arm-kernel
Hi,
I started a small project to test as many QEMU emulated ARM boards
using the multi_v7 defconfig:
https://lists.gnu.org/archive/html/qemu-devel/2015-10/msg00755.html
One thing that came up was we cannot use the virt board as it relies
on virtio hotplug and drivers to get block and network support. The
defconfig is missing the drivers. Should we add the VIRTIO drivers to
the defconfig to bring this into play?
Regards,
Peter
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Adding VIRTIO to the multi_v7_defconfig
2015-11-29 22:18 Adding VIRTIO to the multi_v7_defconfig Peter Crosthwaite
@ 2015-11-29 22:31 ` Arnd Bergmann
2015-11-29 22:56 ` Peter Crosthwaite
0 siblings, 1 reply; 4+ messages in thread
From: Arnd Bergmann @ 2015-11-29 22:31 UTC (permalink / raw)
To: linux-arm-kernel
Cc: Peter Crosthwaite, Guenter Roeck, linux-kernel, Peter Maydell
On Sunday 29 November 2015 14:18:24 Peter Crosthwaite wrote:
>
> I started a small project to test as many QEMU emulated ARM boards
> using the multi_v7 defconfig:
>
> https://lists.gnu.org/archive/html/qemu-devel/2015-10/msg00755.html
>
> One thing that came up was we cannot use the virt board as it relies
> on virtio hotplug and drivers to get block and network support. The
> defconfig is missing the drivers. Should we add the VIRTIO drivers to
> the defconfig to bring this into play?
Yes, please send a patch, this is definitely useful. We normally ask
everyone to use loadable modules for newly enabled device drivers
in multi_v7_defconfig, but we might actually use built-in drivers
here if that would otherwise be the only module needed for booting.
Arnd
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Adding VIRTIO to the multi_v7_defconfig
2015-11-29 22:31 ` Arnd Bergmann
@ 2015-11-29 22:56 ` Peter Crosthwaite
2015-11-29 23:15 ` Arnd Bergmann
0 siblings, 1 reply; 4+ messages in thread
From: Peter Crosthwaite @ 2015-11-29 22:56 UTC (permalink / raw)
To: Arnd Bergmann
Cc: linux-arm-kernel, Guenter Roeck, linux-kernel, Peter Maydell
On Sun, Nov 29, 2015 at 2:31 PM, Arnd Bergmann <arnd@arndb.de> wrote:
> On Sunday 29 November 2015 14:18:24 Peter Crosthwaite wrote:
>>
>> I started a small project to test as many QEMU emulated ARM boards
>> using the multi_v7 defconfig:
>>
>> https://lists.gnu.org/archive/html/qemu-devel/2015-10/msg00755.html
>>
>> One thing that came up was we cannot use the virt board as it relies
>> on virtio hotplug and drivers to get block and network support. The
>> defconfig is missing the drivers. Should we add the VIRTIO drivers to
>> the defconfig to bring this into play?
>
> Yes, please send a patch, this is definitely useful. We normally ask
> everyone to use loadable modules for newly enabled device drivers
> in multi_v7_defconfig, but we might actually use built-in drivers
> here if that would otherwise be the only module needed for booting.
>
So minimally I am looking for:
CONFIG_VIRTIO_PCI=y"
CONFIG_VIRTIO_BLK=y"
CONFIG_VIRTIO_NET=y"
As that gets you booted with network without needing initrd. I guess
the rest of VIRTIO makes more sense as modules as follow up work?
Regards,
Peter
> Arnd
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Adding VIRTIO to the multi_v7_defconfig
2015-11-29 22:56 ` Peter Crosthwaite
@ 2015-11-29 23:15 ` Arnd Bergmann
0 siblings, 0 replies; 4+ messages in thread
From: Arnd Bergmann @ 2015-11-29 23:15 UTC (permalink / raw)
To: Peter Crosthwaite
Cc: linux-arm-kernel, Guenter Roeck, linux-kernel, Peter Maydell
On Sunday 29 November 2015 14:56:53 Peter Crosthwaite wrote:
>
> So minimally I am looking for:
>
> CONFIG_VIRTIO_PCI=y"
> CONFIG_VIRTIO_BLK=y"
> CONFIG_VIRTIO_NET=y"
>
> As that gets you booted with network without needing initrd. I guess
> the rest of VIRTIO makes more sense as modules as follow up work?
Sounds reasonable to me, though we could debate about VIRTIO_NET.
If nobody else objects, just make it built-in.
Arnd
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-11-29 23:15 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-29 22:18 Adding VIRTIO to the multi_v7_defconfig Peter Crosthwaite
2015-11-29 22:31 ` Arnd Bergmann
2015-11-29 22:56 ` Peter Crosthwaite
2015-11-29 23:15 ` Arnd Bergmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox