xen/console: Simplify domU console handling in guest_console_write
authorJulien Grall <julien.grall@arm.com>
Tue, 2 Apr 2019 14:30:21 +0000 (15:30 +0100)
committerJulien Grall <julien.grall@arm.com>
Fri, 16 Aug 2019 21:44:34 +0000 (22:44 +0100)
commitf7efd9c792738f579e3c7062d8d3e90b21d8a771
tree19a78f37e817feda97ffd3e307360059f5c71f96
parent61f82e8dfd1a37b432ee227caaae354c2abe02b5
xen/console: Simplify domU console handling in guest_console_write

2 paths in the domU console handling are now the same. So they can be
merged to make the code simpler.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Acked-by: Wei Liu <wei.liu2@citrix.com>
xen/drivers/char/console.c