On Mon, 30 Mar 2015, Wei Liu wrote:
> No functional change introduced.
>
> Signed-off-by: Wei Liu
Acked-by: Stefano Stabellini
> hw/xen_console.c | 14 +++---
> 1 file changed, 7 insertions(+), 7 deletions(-)
>
> diff --git a/hw/xen_console.c b/hw/xen_console.c
> index 80beb31..ef6dfab 100644
> --- a/hw/xen_console.c
> +++ b/hw/xen_console.c
> @@ -201,13 +201,13 @@ static int con_init(struct XenDevice *xendev)
> }
> qemu_free(type);
>
> - output = xenstore_read_str(con->console, "output");
> - /* output is a pty by default */
> - if (output == NULL)
> - output = "pty";
> - snprintf(label, sizeof(label), "xencons%d", con->xendev.dev);
> - con->chr = qemu_chr_open(label, output, NULL);
> - xenstore_store_pv_console_info(con->xendev.dev, con->chr, output);
> +output = xenstore_read_str(con->console, "output");
> +/* output is a pty by default */
> +if (output == NULL)
> +output = "pty";
> +snprintf(label, sizeof(label), "xencons%d", con->xendev.dev);
> +con->chr = qemu_chr_open(label, output, NULL);
> +xenstore_store_pv_console_info(con->xendev.dev, con->chr, output);
>
> return 0;
> }
> --
> 1.9.1
>
___
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel