On Wed, 8 May 2019 at 18:48, Radoslaw Biernacki <radoslaw.bierna...@linaro.org> wrote: > > > > On Wed, 8 May 2019 at 13:30, Hongbo Zhang <hongbo.zh...@linaro.org> wrote: >> >> On Tue, 30 Apr 2019 at 22:17, Peter Maydell <peter.mayd...@linaro.org> wrote: >> > I don't think we should automatically create the usb keyboard >> > and mouse devices. The user can do it on the command line if they >> > want them. >> > >> OK. > > > Actually I need to rise an objection to this one. > As we trying to make SBSA machine as close as possible to real machine, we > should have keyboard and mouse. > Those have the same requirement as for VGA. It's just an expected piece of HW > when you for e.g. installing a server. > We also do a lot of FW work so it is expected to have keyboard (and even > mouse) in UEFI.
Real hardware doesn't have the keyboard and mouse built in -- when you unpack the machine from the box you have to plug in the keyboard and mouse yourself (and often you have to buy the keyboard and mouse and monitor and maybe the PCI video card separately). But more seriously, the philosophy of the QEMU command line is not "do what the user probably wants automatically". It is "provide the user with full manual control of everything, using a complicated but orthogonal set of options". We expect that if users want a more "friendly" interface to setting up VMs then they will use a "management layer" on top of QEMU (such as libvirt). thanks -- PMM