[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Invalid accelerator kvm / error: kvm run failed Function not impleme
From: |
Peter Maydell |
Subject: |
Re: Invalid accelerator kvm / error: kvm run failed Function not implemented ERRORS trying to virtualize a guest OS on the ARM Chromebook running with a relatively recent kernel version and KVM enabled |
Date: |
Fri, 11 Aug 2023 17:17:42 +0100 |
On Fri, 11 Aug 2023 at 17:05, Mario Marietto <marietto2008@gmail.com> wrote:
>
> I made some progress,but unfortunately I've got an error :
>
> root@devuan:~/Desktop/qemu-v5.1.0# ./configure --target-list=arm-softmmu
> --enable-opengl --enable-gtk --enable-kvm --enable-guest-agent --enable-spice
> --audio-drv-list="oss pa" --enable-libusb
>
> no errors here.
>
> root@devuan:~/Desktop/qemu-v5.1.0# make
>
> .......
>
> CC hw/usb/hcd-xhci.o
> hw/usb/hcd-xhci.c: In function ‘usb_xhci_realize’:
> hw/usb/hcd-xhci.c:3358:66: error: ‘%d’ directive output may be truncated
> writing between 1 and 8 bytes into a region of size 5
> [-Werror=format-truncation=]
> 3358 | snprintf(port->name, sizeof(port->name), "usb2 port #%d",
> i+1);
> | ^~
> hw/usb/hcd-xhci.c:3358:54: note: directive argument in the range [1, 89478486]
> 3358 | snprintf(port->name, sizeof(port->name), "usb2 port #%d",
> i+1)
> | ^~~~~~~~~~~~~~~
> In file included from /usr/include/stdio.h:867,
> from /root/Desktop/qemu-v5.1.0/include/qemu/osdep.h:85,
> from hw/usb/hcd-xhci.c:22:
> /usr/include/arm-linux-gnueabihf/bits/stdio2.h:67:10: note:
> ‘__builtin___snprintf_chk’ output between 13 and 20 bytes into a destination
> of size 16
This is the kind of thing you get when you try to build an
old QEMU on a newer compiler -- the new compiler complains about
more things, and we fix them in new QEMU.
Pass configure '--disable-werror', which will mean that these
are all just warnings, not errors. Then see if there are
any problems still remaining that are real compile failures.
-- PMM
- Re: Invalid accelerator kvm / error: kvm run failed Function not implemented ERRORS trying to virtualize a guest OS on the ARM Chromebook running with a relatively recent kernel version and KVM enabled, (continued)
Re: Invalid accelerator kvm / error: kvm run failed Function not implemented ERRORS trying to virtualize a guest OS on the ARM Chromebook running with a relatively recent kernel version and KVM enabled, Валентин, 2023/08/11
Re: Invalid accelerator kvm / error: kvm run failed Function not implemented ERRORS trying to virtualize a guest OS on the ARM Chromebook running with a relatively recent kernel version and KVM enabled, Валентин, 2023/08/11
- Re: Invalid accelerator kvm / error: kvm run failed Function not implemented ERRORS trying to virtualize a guest OS on the ARM Chromebook running with a relatively recent kernel version and KVM enabled, Peter Maydell, 2023/08/11
- Re: Invalid accelerator kvm / error: kvm run failed Function not implemented ERRORS trying to virtualize a guest OS on the ARM Chromebook running with a relatively recent kernel version and KVM enabled, Mario Marietto, 2023/08/11
- Re: Invalid accelerator kvm / error: kvm run failed Function not implemented ERRORS trying to virtualize a guest OS on the ARM Chromebook running with a relatively recent kernel version and KVM enabled, Mario Marietto, 2023/08/11
- Re: Invalid accelerator kvm / error: kvm run failed Function not implemented ERRORS trying to virtualize a guest OS on the ARM Chromebook running with a relatively recent kernel version and KVM enabled,
Peter Maydell <=
- Re: Invalid accelerator kvm / error: kvm run failed Function not implemented ERRORS trying to virtualize a guest OS on the ARM Chromebook running with a relatively recent kernel version and KVM enabled, Mario Marietto, 2023/08/11
- Re: Invalid accelerator kvm / error: kvm run failed Function not implemented ERRORS trying to virtualize a guest OS on the ARM Chromebook running with a relatively recent kernel version and KVM enabled, Peter Maydell, 2023/08/11
- Re: Invalid accelerator kvm / error: kvm run failed Function not implemented ERRORS trying to virtualize a guest OS on the ARM Chromebook running with a relatively recent kernel version and KVM enabled, Mario Marietto, 2023/08/11
- Re: Invalid accelerator kvm / error: kvm run failed Function not implemented ERRORS trying to virtualize a guest OS on the ARM Chromebook running with a relatively recent kernel version and KVM enabled, Peter Maydell, 2023/08/11
Re: Invalid accelerator kvm / error: kvm run failed Function not implemented ERRORS trying to virtualize a guest OS on the ARM Chromebook running with a relatively recent kernel version and KVM enabled, Валентин, 2023/08/11
Re: Invalid accelerator kvm / error: kvm run failed Function not implemented ERRORS trying to virtualize a guest OS on the ARM Chromebook running with a relatively recent kernel version and KVM enabled, Валентин, 2023/08/11