Re: [Qemu-devel] [RFC 6/8] qdev-properties.c: separate core from the code used only by qemu-system-*

2012-12-04 Thread Eduardo Habkost
On Tue, Dec 04, 2012 at 08:05:43PM +0100, Andreas Färber wrote: > Am 04.12.2012 20:01, schrieb Eduardo Habkost: > > On Tue, Dec 04, 2012 at 06:55:17PM +, Blue Swirl wrote: > >> On Tue, Dec 4, 2012 at 1:19 PM, Eduardo Habkost > >> wrote: > >>> +static int parse_drive(DeviceState *dev, const ch

Re: [Qemu-devel] [RFC 6/8] qdev-properties.c: separate core from the code used only by qemu-system-*

2012-12-04 Thread Andreas Färber
Am 04.12.2012 20:01, schrieb Eduardo Habkost: > On Tue, Dec 04, 2012 at 06:55:17PM +, Blue Swirl wrote: >> On Tue, Dec 4, 2012 at 1:19 PM, Eduardo Habkost wrote: >>> +static int parse_drive(DeviceState *dev, const char *str, void **ptr) >>> +{ >>> +BlockDriverState *bs; >>> + >>> +bs =

Re: [Qemu-devel] [RFC 6/8] qdev-properties.c: separate core from the code used only by qemu-system-*

2012-12-04 Thread Blue Swirl
On Tue, Dec 4, 2012 at 7:01 PM, Eduardo Habkost wrote: > On Tue, Dec 04, 2012 at 06:55:17PM +, Blue Swirl wrote: >> On Tue, Dec 4, 2012 at 1:19 PM, Eduardo Habkost wrote: >> > This separates the qdev properties code in two parts: >> > - qdev-properties.c, that contains most of the qdev prope

Re: [Qemu-devel] [RFC 6/8] qdev-properties.c: separate core from the code used only by qemu-system-*

2012-12-04 Thread Eduardo Habkost
On Tue, Dec 04, 2012 at 06:55:17PM +, Blue Swirl wrote: > On Tue, Dec 4, 2012 at 1:19 PM, Eduardo Habkost wrote: > > This separates the qdev properties code in two parts: > > - qdev-properties.c, that contains most of the qdev properties code; > > - qdev-properties-system.c for code specific

Re: [Qemu-devel] [RFC 6/8] qdev-properties.c: separate core from the code used only by qemu-system-*

2012-12-04 Thread Blue Swirl
On Tue, Dec 4, 2012 at 1:19 PM, Eduardo Habkost wrote: > This separates the qdev properties code in two parts: > - qdev-properties.c, that contains most of the qdev properties code; > - qdev-properties-system.c for code specific for qemu-system-*, >containing: >- Property types: drive, c

[Qemu-devel] [RFC 6/8] qdev-properties.c: separate core from the code used only by qemu-system-*

2012-12-04 Thread Eduardo Habkost
This separates the qdev properties code in two parts: - qdev-properties.c, that contains most of the qdev properties code; - qdev-properties-system.c for code specific for qemu-system-*, containing: - Property types: drive, chr, netdev, vlan, that depend on code that won't be included