Re: [Qemu-devel] [PATCH] Support for loading devices as dynamic libraries

2012-08-25 Thread Anthony Liguori
Dominik Żeromski writes: > Adding support for loading DSO with -device option. Hi, A few things: 1) Out of tree modules are boring and there's very little support/sympathy for supporting out of tree modules. That said, if you implemented support for in tree modules and the build system

Re: [Qemu-devel] [PATCH] Support for loading devices as dynamic libraries

2012-08-25 Thread Stefan Hajnoczi
On Sat, Aug 25, 2012 at 6:06 PM, Dominik Żeromski wrote: > 2012/8/25 Stefan Hajnoczi >> >> On Sat, Aug 25, 2012 at 12:10 PM, Dominik Żeromski >> wrote: >> > Adding support for loading DSO with -device option. >> > >> > Example Makefile for out of tree modules: >> >> QEMU does not have a stable A

Re: [Qemu-devel] [PATCH] Support for loading devices as dynamic libraries

2012-08-25 Thread Dominik Żeromski
2012/8/25 Stefan Hajnoczi > > On Sat, Aug 25, 2012 at 12:10 PM, Dominik Żeromski > wrote: > > Adding support for loading DSO with -device option. > > > > Example Makefile for out of tree modules: > > QEMU does not have a stable ABI for devices. There is a lot of device > model refactoring happen

Re: [Qemu-devel] [PATCH] Support for loading devices as dynamic libraries

2012-08-25 Thread Stefan Hajnoczi
On Sat, Aug 25, 2012 at 12:10 PM, Dominik Żeromski wrote: > Adding support for loading DSO with -device option. > > Example Makefile for out of tree modules: QEMU does not have a stable ABI for devices. There is a lot of device model refactoring happening right now for multithreaded MMIO/PIO dis

[Qemu-devel] [PATCH] Support for loading devices as dynamic libraries

2012-08-25 Thread Dominik Żeromski
Adding support for loading DSO with -device option. Example Makefile for out of tree modules: #v+ DEVICENAME=pcnet2 hw-obj-y=pcnet-pci.o hw-obj-y+=pcnet.o include rules.mak .PHONY: all QEMU_CFLAGS=-I../qemu-kvm -I../qemu-kvm/hw QEMU_CFLAGS+=-I../qemu-kvm/fpu -I../qemu-kvm/include QEMU_CFLAGS+