Re: [Qemu-devel] qemu sources and makefile system

2015-01-09 Thread Vasile Catalin-B50542
Thanks. It will be helpful in the future. I managed to make it work. The code was included, but I forgot to register the device type on the virtio-pci bus. static void virtio_pci_register_types(void) { /* ... */ type_register_static(&virtio_src_pci_info); /* ... */ } On 07.01.2015

Re: [Qemu-devel] qemu sources and makefile system

2015-01-07 Thread Stefan Hajnoczi
On Tue, Jan 06, 2015 at 11:44:34AM +0200, Catalin Vasile wrote: > I'm new to qemu-devel and I'm trying to add a ".c" source to qemu. > To be more specific, I'm trying to add a file into /hw/virtio/. > I've added "common-obj-y += virtio-src.o" to the Makefile.objs in that > folder > and when I'm com

Re: [Qemu-devel] qemu sources and makefile system

2015-01-06 Thread Paolo Bonzini
On 06/01/2015 13:25, Vasile Catalin-B50542 wrote: > I'm new to qemu-devel and I'm trying to add a ".c" source to qemu. > To be more specific, I'm trying to add a file into src>/hw/virtio/. I've added "common-obj-y += virtio-src.o" to the > src>Makefile.objs in that folder > and when I'm compilin

[Qemu-devel] qemu sources and makefile system

2015-01-06 Thread Vasile Catalin-B50542
Hi, I'm new to qemu-devel and I'm trying to add a ".c" source to qemu. To be more specific, I'm trying to add a file into /hw/virtio/. I've added "common-obj-y += virtio-src.o" to the src>Makefile.objs in that folder and when I'm compiling qemu it seems to compile the sources, but I don't know if

[Qemu-devel] qemu sources and makefile system

2015-01-06 Thread Catalin Vasile
Hi, I'm new to qemu-devel and I'm trying to add a ".c" source to qemu. To be more specific, I'm trying to add a file into /hw/virtio/. I've added "common-obj-y += virtio-src.o" to the Makefile.objs in that folder and when I'm compiling qemu it seems to compile the sources, but I don't know if they

[Qemu-devel] qemu sources and makefile system

2015-01-06 Thread Vasile Catalin-B50542
Hi, I'm new to qemu-devel and I'm trying to add a ".c" source to qemu. To be more specific, I'm trying to add a file into /hw/virtio/. I've added "common-obj-y += virtio-src.o" to the Makefile.objs in that folder and when I'm compiling qemu it seems to compile the sources, but I don't know if

[Qemu-devel] qemu sources and makefile system

2015-01-06 Thread Catalin Vasile
Hi, I'm new to qemu-devel and I'm trying to add a ".c" source to qemu. To be more specific, I'm trying to add a file into /hw/virtio/. I've added "common-obj-y += virtio-src.o" to the Makefile.objs in that folder and when I'm compiling qemu it seems to compile the sources, but I don't know if they