Re: qemu and Unicode characters on serial console

2021-03-16 Thread Peter Maydell
On Tue, 16 Mar 2021 at 21:08, Francois wrote: > It really looks like it has nothing to do with qemu, it is just the > way it was coded :D Yep; in general QEMU's serial and similar character-device functionality is just a raw stream-of-bytes -- it's up to the guest software what it puts in there

Re: qemu and Unicode characters on serial console

2021-03-16 Thread Francois
Thanks for your reply! I tee-ed the output into a file and it is really a "?" character coming out of the serial port. Now, checking the code: https://github.com/tianocore/edk2/blob/master/EmbeddedPkg/SimpleTextInOutSerial/SimpleTextInOut.c#L484 ``` CHAR8 * EFIAPI SafeUnicodeStrToAsciiStr ( ...

Re: qemu and Unicode characters on serial console

2021-03-16 Thread Jakob Bohm
On 2021-03-14 11:10, Francois wrote: Hi qemu! I am wondering if it is possible to get Unicode support through a stdio, or pty, serial console. I am running qemu from CentOS stream qemu-kvm-core-4.2.0-35.module_el8.4.0+547+a85d02ba.x86_64 My terminal and locale use UTF-8. I am booting into the

Re: Connection of a qemu guest to the 'net.

2021-03-16 Thread peter
Hello Berto, Thanks for the reply. In the following, joule is the qemu host. From: Berto Furth Date: Tue, 16 Mar 2021 21:18:08 +1100 > I'm assuming you're also using dynamically created "tap" interfaces in your > setup. tap0 is created in the qemu host when it boots, by a line in

Re: Connection of a qemu guest to the 'net.

2021-03-16 Thread Jeremy Payne
sriov is another option.. of course supporting host NICs are required. On Tue, Mar 16, 2021 at 5:36 AM Peter Maydell wrote: > > On Tue, 16 Mar 2021 at 10:19, Berto Furth wrote: > > If you just want QEMU to do simple NAT between the guest and the "real" > > network then just use "SLIRP" as per

Re: Connection of a qemu guest to the 'net.

2021-03-16 Thread Peter Maydell
On Tue, 16 Mar 2021 at 10:19, Berto Furth wrote: > If you just want QEMU to do simple NAT between the guest and the "real" > network then just use "SLIRP" as per > > https://wiki.qemu.org/Documentation/Networking#User_Networking_.28SLIRP.29 > > (I haven't tested it...I always use tap and

Re: Connection of a qemu guest to the 'net.

2021-03-16 Thread Berto Furth
Hi Peter, I'm assuming you're also using dynamically created "tap" interfaces in your setup. That is, when QEMU starts it's creating a tap interface to funnel Ethernet traffic to and from the guest...so a command line something like -netdev