ide: Improve error messages
commitf597627ff5eb683501d65cf169f467bb4e894626
authorMarkus Armbruster <armbru@redhat.com>
Mon, 28 Jun 2010 06:36:53 +0000 (28 08:36 +0200)
committerKevin Wolf <kwolf@redhat.com>
Tue, 6 Jul 2010 15:05:49 +0000 (6 17:05 +0200)
treeb826e3ac4b8b77f6c57c181241f9830be6bab500
parent42e766a24b53ff5042576449dd526f734ca8f659
ide: Improve error messages

Use error_report(), because it points to the error location.

Reword "tried to assign twice" messages to make it clear that we're
complaining about the unit property.

Report invalid unit property instead of failing silently.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/ide/qdev.c