Re: [Qemu-devel] [RFC PATCH] hw/s390x: Allow to configure the consoles with the "-serial" parameter

2018-04-30 Thread Paolo Bonzini
On 27/04/2018 01:55, Eduardo Habkost wrote: >>> >>> ... the sclpconsole now shows up under /unattached instead of >>> /peripheral-anon ... does that matter? (I don't have a clue) >> If the devices are created in the same order, before and after the >> patch, it should be okay. > Is there a way to

Re: [Qemu-devel] [RFC PATCH] hw/s390x: Allow to configure the consoles with the "-serial" parameter

2018-04-26 Thread Eduardo Habkost
On Tue, Apr 24, 2018 at 06:19:35PM +0200, Paolo Bonzini wrote: > On 24/04/2018 16:22, Thomas Huth wrote: > > $ diff -u sclp-qom-tree-before.txt sclp-qom-tree-after.txt > > --- sclp-qom-tree-before.txt2018-04-24 16:17:48.462849585 +0200 > > +++ sclp-qom-tree-after.txt 2018-04-24

Re: [Qemu-devel] [RFC PATCH] hw/s390x: Allow to configure the consoles with the "-serial" parameter

2018-04-24 Thread David Hildenbrand
On 24.04.2018 13:44, Thomas Huth wrote: > The consoles ("sclpconsole" and "sclplmconsole") can only be configured > with "-device" and "-chardev" so far. Other machines use the convenience > option "-serial" to configure the default consoles, too, even for virtual > consoles like spapr-vty on the

Re: [Qemu-devel] [RFC PATCH] hw/s390x: Allow to configure the consoles with the "-serial" parameter

2018-04-24 Thread Paolo Bonzini
On 24/04/2018 16:22, Thomas Huth wrote: > $ diff -u sclp-qom-tree-before.txt sclp-qom-tree-after.txt > --- sclp-qom-tree-before.txt 2018-04-24 16:17:48.462849585 +0200 > +++ sclp-qom-tree-after.txt 2018-04-24 16:18:02.222820256 +0200 > @@ -1,13 +1,14 @@ > -(qemu) info qom-tree > +(qemu) info

Re: [Qemu-devel] [RFC PATCH] hw/s390x: Allow to configure the consoles with the "-serial" parameter

2018-04-24 Thread Cornelia Huck
On Tue, 24 Apr 2018 16:22:26 +0200 Thomas Huth wrote: > On 24.04.2018 16:09, Cornelia Huck wrote: > > On Tue, 24 Apr 2018 16:02:59 +0200 > > Thomas Huth wrote: > > > >> On 24.04.2018 13:49, Christian Borntraeger wrote: > >>> > >>> > >>> On 04/24/2018

Re: [Qemu-devel] [RFC PATCH] hw/s390x: Allow to configure the consoles with the "-serial" parameter

2018-04-24 Thread Thomas Huth
On 24.04.2018 16:09, Cornelia Huck wrote: > On Tue, 24 Apr 2018 16:02:59 +0200 > Thomas Huth wrote: > >> On 24.04.2018 13:49, Christian Borntraeger wrote: >>> >>> >>> On 04/24/2018 01:44 PM, Thomas Huth wrote: The consoles ("sclpconsole" and "sclplmconsole") can only be

Re: [Qemu-devel] [RFC PATCH] hw/s390x: Allow to configure the consoles with the "-serial" parameter

2018-04-24 Thread Cornelia Huck
On Tue, 24 Apr 2018 16:02:59 +0200 Thomas Huth wrote: > On 24.04.2018 13:49, Christian Borntraeger wrote: > > > > > > On 04/24/2018 01:44 PM, Thomas Huth wrote: > >> The consoles ("sclpconsole" and "sclplmconsole") can only be configured > >> with "-device" and "-chardev"

Re: [Qemu-devel] [RFC PATCH] hw/s390x: Allow to configure the consoles with the "-serial" parameter

2018-04-24 Thread Thomas Huth
On 24.04.2018 13:49, Christian Borntraeger wrote: > > > On 04/24/2018 01:44 PM, Thomas Huth wrote: >> The consoles ("sclpconsole" and "sclplmconsole") can only be configured >> with "-device" and "-chardev" so far. Other machines use the convenience >> option "-serial" to configure the default

Re: [Qemu-devel] [RFC PATCH] hw/s390x: Allow to configure the consoles with the "-serial" parameter

2018-04-24 Thread Christian Borntraeger
On 04/24/2018 01:44 PM, Thomas Huth wrote: > The consoles ("sclpconsole" and "sclplmconsole") can only be configured > with "-device" and "-chardev" so far. Other machines use the convenience > option "-serial" to configure the default consoles, too, even for virtual > consoles like spapr-vty on

[Qemu-devel] [RFC PATCH] hw/s390x: Allow to configure the consoles with the "-serial" parameter

2018-04-24 Thread Thomas Huth
The consoles ("sclpconsole" and "sclplmconsole") can only be configured with "-device" and "-chardev" so far. Other machines use the convenience option "-serial" to configure the default consoles, too, even for virtual consoles like spapr-vty on the pseries machine. So let's support this option on