hw/serial: don't create a char device if none is specified
authorAurelien Jarno <aurelien@aurel32.net>
Mon, 14 Sep 2009 23:16:28 +0000 (01:16 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Mon, 14 Sep 2009 23:16:28 +0000 (01:16 +0200)
commit387f4a5a7193e8f8df17d2cfc360a4067dd2d675
tree4c8d89bf875bd6bc9502787bb14a2fe95221e36f
parente09fdfaf32231cf300534bfb8061f4244dd5c545
hw/serial: don't create a char device if none is specified

When creating null devices, there is no way to ensure the unicity of
the labels. Bail out with an error message instead.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
hw/serial.c