RE: QEMU for Qualcomm Hexagon - KVM Forum talk and code available

2019-11-03 Thread Taylor Simpson
That is correct. Once you register on developer.qualcomm.com, you can download the Hexagon SDK version 3.4.3. Note that there are different downloads for Linux and Windows hosts. Once you have installed the SDK, look for the document bundle in the following location /tools/HEXAGON_Tools/8.3.0

Re: [PATCH v2] q800: fix I/O memory map

2019-11-03 Thread Philippe Mathieu-Daudé
On 11/2/19 10:42 PM, Laurent Vivier wrote: Linux kernel 5.4 will introduce a new memory map for SWIM device. (aee6bff1c325 ("m68k: mac: Revisit floppy disc controller base addresses")) Until this release all MMIO are mapped between 0x50f0 and 0x50f4, but it appears that for real hardware

[PULL 2/2] tests/fw_cfg: Test 'reboot-timeout=-1' special value

2019-11-03 Thread Philippe Mathieu-Daudé
The special value -1 means "don't reboot" for QEMU/libvirt. Add a trivial test. Reviewed-by: Dr. David Alan Gilbert Reviewed-by: Laszlo Ersek Signed-off-by: Philippe Mathieu-Daudé --- tests/fw_cfg-test.c | 21 + 1 file changed, 21 insertions(+) diff --git a/tests/fw_cfg-te

[PULL 0/2] fw_cfg for-4.2-soft-freeze patches

2019-11-03 Thread Philippe Mathieu-Daudé
Hi Peter, One fw_cfg fix from David Gilbert. The following changes since commit f3cad9c6dbd4b9877232c44bf2dd877353a73209: iotests: Remove 130 from the "auto" group (2019-10-31 11:04:10 +) are available in the Git repository at: https://gitlab.com/philmd/qemu.git tags/fw_cfg-next-pull-r

[PULL 1/2] fw_cfg: Allow reboot-timeout=-1 again

2019-11-03 Thread Philippe Mathieu-Daudé
From: "Dr. David Alan Gilbert" Commit ee5d0f89de3e53cdb0dc added range checking on reboot-timeout to only allow the range 0..65535; however both qemu and libvirt document the special value -1 to mean don't reboot. Allow it again. Fixes: ee5d0f89de3e53cdb0dc ("fw_cfg: Fix -boot reboot-timeout er

Re: [PATCH v3] fdc/i8257: implement verify transfer mode

2019-11-03 Thread Hervé Poussineau
Le 01/11/2019 à 17:55, Sven Schnelle a écrit : While working on the Tulip driver i tried to write some Teledisk images to a floppy image which didn't work. Turned out that Teledisk checks the written data by issuing a READ command to the FDC but running the DMA controller in VERIFY mode. As we ig

Re: [PATCH v3 5/6] hppa: Add emulation of Artist graphics

2019-11-03 Thread Mark Cave-Ayland
On 01/11/2019 21:59, Sven Schnelle wrote: > On Sat, Oct 26, 2019 at 07:54:40PM +0200, Sven Schnelle wrote: >> Hi Mark, >> >> On Sat, Oct 26, 2019 at 10:35:20AM +0100, Mark Cave-Ayland wrote: >> However, the VRAM in Artist is not really exposed to the Host. Instead, there's the Chipset in

Re: Sparc Solaris 10

2019-11-03 Thread Mark Cave-Ayland
On 02/11/2019 19:56, Philippe Mathieu-Daudé wrote: > Cc'ing the SPARC maintainers. > > On 11/1/19 4:49 AM, Zainuddin AR wrote: >> Hi, >> >> I like to find to find out if you have a working qemu on solaris 10 or 11. I >> have >> tried the qemu-sun4vniagara but without networking. Is the networkin

Re: [PATCH v3 5/6] hppa: Add emulation of Artist graphics

2019-11-03 Thread Sven Schnelle
Hi Mark, On Sun, Nov 03, 2019 at 08:56:43PM +, Mark Cave-Ayland wrote: > On 01/11/2019 21:59, Sven Schnelle wrote: > > > On Sat, Oct 26, 2019 at 07:54:40PM +0200, Sven Schnelle wrote: > >> Hi Mark, > >> > >> On Sat, Oct 26, 2019 at 10:35:20AM +0100, Mark Cave-Ayland wrote: > >> > However

[PATCH v4 2/6] hppa: Add support for LASI chip with i82596 NIC

2019-11-03 Thread Sven Schnelle
From: Helge Deller LASI is a built-in multi-I/O chip which supports serial, parallel, network (Intel i82596 Apricot), sound and other functionalities. LASI has been used in many HP PARISC machines. This patch adds the necessary parts to allow Linux and HP-UX to detect LASI and the network card.

[PATCH v4 3/6] ps2: accept 'Set Key Make and Break' commands

2019-11-03 Thread Sven Schnelle
HP-UX sends both the 'Set key make and break (0xfc) and 'Set all key typematic make and break' (0xfa). QEMU response with 'Resend' as it doesn't handle these commands. HP-UX than reports an PS/2 max retransmission exceeded error. Add these commands and just reply with ACK. Signed-off-by: Sven Schn

[PATCH v4 0/6] HPPA: i82596, PS/2 and graphics emulation

2019-11-03 Thread Sven Schnelle
Hi, these series adds quite a lot to the HPPA emulation in QEMU: i82596 emulation from Helge, PS/2 and Artist graphics emulation. See https://parisc.wiki.kernel.org/index.php/Qemu for a few screenshots of QEMU running a X11/CDE session in HP-UX. changes in v4: - introduce Artist-internal addres

[PATCH v4 5/6] hppa: Add emulation of Artist graphics

2019-11-03 Thread Sven Schnelle
This adds emulation of Artist graphics good enough to get a Text console on both Linux and HP-UX. The X11 server from HP-UX also works. Signed-off-by: Sven Schnelle --- hw/display/Kconfig |4 + hw/display/Makefile.objs |1 + hw/display/artist.c | 1449 +

[PATCH v4 1/6] hw/hppa/dino.c: Improve emulation of Dino PCI chip

2019-11-03 Thread Sven Schnelle
From: Helge Deller The tests of the dino chip with the Online-diagnostics CD ("ODE DINOTEST") now succeeds. Additionally add some qemu trace events. Signed-off-by: Helge Deller Signed-off-by: Sven Schnelle Reviewed-by: Philippe Mathieu-Daudé --- MAINTAINERS | 2 +- hw/hppa/dino.c

[PATCH v4 4/6] hppa: add emulation of LASI PS2 controllers

2019-11-03 Thread Sven Schnelle
Signed-off-by: Sven Schnelle --- hw/hppa/Kconfig| 1 + hw/hppa/lasi.c | 10 +- hw/input/Kconfig | 3 + hw/input/Makefile.objs | 1 + hw/input/lasips2.c | 289 + hw/input/ps2.c | 5 + hw/input/tr

Re: [PATCH] mos6522: fix T1 and T2 timers

2019-11-03 Thread Mark Cave-Ayland
On 02/11/2019 15:49, Laurent Vivier wrote: > With the Quadra 800 emulation, mos6522 timers processing can consume > until 70% of the host CPU time with an idle guest (I guess the problem > should also happen with PowerMac emulation). > > On a recent system, it can be painless (except if you look

Re: [PATCH] mos6522: fix T1 and T2 timers

2019-11-03 Thread David Gibson
On Sat, Nov 02, 2019 at 04:49:19PM +0100, Laurent Vivier wrote: > With the Quadra 800 emulation, mos6522 timers processing can consume > until 70% of the host CPU time with an idle guest (I guess the problem > should also happen with PowerMac emulation). > > On a recent system, it can be painless

[Bug 1851095] Re: [feature request] awareness of instructions that are well emulated

2019-11-03 Thread Shawn Landden
ok, here is a double precision exponent implementation that works on arm32 hardware, but fails in qemu with the wrong checksum. https://github.com/shawnl/zig-libmvec/blob/master/exp.zig You need to build zig with the above patch-set. I guess I am starting from a pessimistic perspective, where I h

Re: RFC: New device for zero-copy VM memory access

2019-11-03 Thread geoff
On 2019-11-03 21:10, ge...@hostfission.com wrote: On 2019-11-01 02:52, Dr. David Alan Gilbert wrote: * ge...@hostfission.com (ge...@hostfission.com) wrote: On 2019-11-01 01:52, Peter Maydell wrote: > On Thu, 31 Oct 2019 at 14:26, wrote: > > As the author of Looking Glass, I also have to c

Feature Recommendations?

2019-11-03 Thread Dinah A Baum
Hello all, I am a university student whose Virtualization course has tasked me with contributing to an open source, virtualization related project. I have a little more than a month to complete this. I was wondering if you could recommend a feature you'd like added that could be done in this time

Wiki account

2019-11-03 Thread Esteban Bosse
Hello, I would like to have an wiki account. Preferred user: estebanb Thank you, Esteban Bosse

Re: RFC: New device for zero-copy VM memory access

2019-11-03 Thread geoff
On 2019-11-01 02:52, Dr. David Alan Gilbert wrote: * ge...@hostfission.com (ge...@hostfission.com) wrote: On 2019-11-01 01:52, Peter Maydell wrote: > On Thu, 31 Oct 2019 at 14:26, wrote: > > As the author of Looking Glass, I also have to consider the > > maintenance > > and the complexity

Re: [Bug 1851095] [NEW] [feature request] awareness of instructions that are well emulated

2019-11-03 Thread Peter Maydell
On Sun, 3 Nov 2019 at 04:41, Shawn Landden <1851...@bugs.launchpad.net> wrote: > While qemu's scalar emulation tends to be excellent, qemu's SIMD > emulation tends to be incorrect (except for arm64 from x86_64)--i have > found this both for mipsel and arm32. Until these code paths are > audited, wh

[PATCH v6 2/3] riscv: virt: Use Goldfish RTC device

2019-11-03 Thread Anup Patel
We extend QEMU RISC-V virt machine by adding Goldfish RTC device to it. This will allow Guest Linux to sync it's local date/time with Host date/time via RTC device. Signed-off-by: Anup Patel Reviewed-by: Palmer Dabbelt Acked-by: Palmer Dabbelt Reviewed-by: Alistair Francis --- hw/riscv/Kconfi

[PATCH v6 3/3] MAINTAINERS: Add maintainer entry for Goldfish RTC

2019-11-03 Thread Anup Patel
Add myself as Goldfish RTC maintainer until someone else is willing to maintain it. Signed-off-by: Anup Patel --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index c2a68555ae..f200e985da 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -558,6 +55

[PATCH v6 1/3] hw: rtc: Add Goldfish RTC device

2019-11-03 Thread Anup Patel
This patch adds model for Google Goldfish virtual platform RTC device. We will be adding Goldfish RTC device to the QEMU RISC-V virt machine for providing real date-time to Guest Linux. The corresponding Linux driver for Goldfish RTC device is already available in upstream Linux. For now, VM migr

[PATCH v6 0/3] RTC support for QEMU RISC-V virt machine

2019-11-03 Thread Anup Patel
This series adds RTC device to QEMU RISC-V virt machine. We have selected Goldfish RTC device model for this. It's a pretty simple synthetic device with few MMIO registers and no dependency external clock. The driver for Goldfish RTC is already available in Linux so we just need to enable it in Kco

Re: [PATCH v5 0/2] RTC support for QEMU RISC-V virt machine

2019-11-03 Thread Anup Patel
On Sat, Nov 2, 2019 at 4:44 AM Palmer Dabbelt wrote: > > On Fri, 01 Nov 2019 08:40:24 PDT (-0700), a...@brainfault.org wrote: > > On Tue, Oct 29, 2019 at 6:55 PM Alistair Francis > > wrote: > >> > >> On Fri, Oct 25, 2019 at 6:28 AM Anup Patel wrote: > >> > > >> > This series adds RTC device to