On Wed, Mar 10, 2010 at 05:30:29PM +0100, Gerd Hoffmann wrote:
> Fix the floppy controller init wrappers to set the drive properties
> only in case the DriveInfo pointers passed in are non NULL. This allows
> to set the properties using -global.
>
> [ v2: fix code style issues pointed out by Aure
Fix the floppy controller init wrappers to set the drive properties
only in case the DriveInfo pointers passed in are non NULL. This allows
to set the properties using -global.
[ v2: fix code style issues pointed out by Aurelien Jarno ]
Signed-off-by: Gerd Hoffmann
---
hw/fdc.c | 20
Gerd Hoffmann writes:
> On 12/16/09 11:03, Markus Armbruster wrote:
>> This fixes "-global isa-fdc,driveB=DRIVE-ID" for me, but problems
>> remain:
>>
>> * -drive if=none,id=fd,file=fd.img -global isa-fdc.driveA=fd
>>
>>dev: isa-fdc, id ""
>> dev-prop: driveA = floppy0
>>
On 12/16/09 11:03, Markus Armbruster wrote:
This fixes "-global isa-fdc,driveB=DRIVE-ID" for me, but problems
remain:
* -drive if=none,id=fd,file=fd.img -global isa-fdc.driveA=fd
dev: isa-fdc, id ""
dev-prop: driveA = floppy0
dev-prop: driveB =
Gerd Hoffmann writes:
> Fix the floppy controller init wrappers to set the drive properties
> only in case the DriveInfo pointers passed in are non NULL. This allows
> to set the properties using -global.
>
> Signed-off-by: Gerd Hoffmann
This fixes "-global isa-fdc,driveB=DRIVE-ID" for me, but
Fix the floppy controller init wrappers to set the drive properties
only in case the DriveInfo pointers passed in are non NULL. This allows
to set the properties using -global.
Signed-off-by: Gerd Hoffmann
---
hw/fdc.c | 15 ++-
1 files changed, 10 insertions(+), 5 deletions(-)
d