Re: [PATCH-for-6.0 2/3] hw/virtio: Build most of virtio devices as arch-independent objects

2020-11-05 Thread Greg Kurz
On Thu, 5 Nov 2020 13:43:52 +0100 Philippe Mathieu-Daudé wrote: > VirtIO devices shouldn't be arch-specific. Some device have to > use PAGE_SIZE definition or access to CPUState. Keep building > them as arch-specific objects. Move all we can to libcommon.fa. > This patch breaks build: $ ./con

Re: [PATCH-for-6.0 2/3] hw/virtio: Build most of virtio devices as arch-independent objects

2020-11-05 Thread Paolo Bonzini
On 05/11/20 13:43, Philippe Mathieu-Daudé wrote: VirtIO devices shouldn't be arch-specific. Some device have to use PAGE_SIZE definition or access to CPUState. Keep building them as arch-specific objects. Move all we can to libcommon.fa. Suggested-by: Stefan Hajnoczi Signed-off-by: Philippe Mat

[PATCH-for-6.0 2/3] hw/virtio: Build most of virtio devices as arch-independent objects

2020-11-05 Thread Philippe Mathieu-Daudé
VirtIO devices shouldn't be arch-specific. Some device have to use PAGE_SIZE definition or access to CPUState. Keep building them as arch-specific objects. Move all we can to libcommon.fa. Suggested-by: Stefan Hajnoczi Signed-off-by: Philippe Mathieu-Daudé --- hw/9pfs/meson.build|