ide: Improve error messages
authorMarkus Armbruster <armbru@redhat.com>
Mon, 28 Jun 2010 06:36:53 +0000 (08:36 +0200)
committerKevin Wolf <kwolf@redhat.com>
Tue, 6 Jul 2010 15:05:49 +0000 (17:05 +0200)
commita7d31febb9beac46731a99825dcdd1d9f8bfcbbc
treeb826e3ac4b8b77f6c57c181241f9830be6bab500
parentb9f0c1f7d944cd0263b6f94c8ea80172c9081bb8
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