Skip to contentSkip to conversation

qdev "SUNW,fdtwo" is unusable with -device

Qemu-devel Markus Armbruster 3 participants 4 messages Oct 9, 2010 – Oct 12, 2010

lore
Share & tools
lore
#0 lore raw

Commit 12a71a02 created qdev "SUNW,fdtwo". It can't be named in -device, because the name contains a comma: "-device SUNW,fdtwo" gets parsed as driver SUNW with property fdtwo.

Is this device user-configurable? Or should no_user be set?

Regardless, can we have a more user-friendly name?

#1 lore raw
Quoted 5 lines · Markus Armbruster

Commit 12a71a02 created qdev "SUNW,fdtwo".  It can't be named in -device, because the name contains a comma: "-device SUNW,fdtwo" gets parsed as driver SUNW with property fdtwo.

Is this device user-configurable?  Or should no_user be set?

There can be only zero or one floppy controllers. I think no_user should be added.

Quoted 1 line

Regardless, can we have a more user-friendly name?

This is the OF tree name, I've tried to use those when possible. I tried to anticipate future machines created with a device tree and the device tree also passed to the OpenBIOS or guest. If that happens one day, it would be nice to use same names in QEMU, OF and Linux.

#3 lore raw
In reply to Markus Armbruster

Am 09.10.2010 um 12:09 schrieb Markus Armbruster:

Quoted 3 lines

Commit 12a71a02 created qdev "SUNW,fdtwo". It can't be named in -device, because the name contains a comma: "-device SUNW,fdtwo" gets parsed as driver SUNW with property fdtwo.

Calls for an escape mechanism then. :)

Andreas

Quoted 3 lines

Is this device user-configurable? Or should no_user be set?

Regardless, can we have a more user-friendly name?

#2 lore raw
In reply to Blue Swirl
Quoted 9 lines · Blue Swirl
Quoted 5 lines · Markus Armbruster

Commit 12a71a02 created qdev "SUNW,fdtwo".  It can't be named in -device, because the name contains a comma: "-device SUNW,fdtwo" gets parsed as driver SUNW with property fdtwo.

Is this device user-configurable?  Or should no_user be set?

There can be only zero or one floppy controllers. I think no_user should be added.

Okay. What about "sysbus-fdc"? Only user appears to be mips_jazz.c.

[...]