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 enable

2023-08-13 Thread Mario Marietto
I tried a different set of parameters :

/mnt/./monta-fisso
sleep 2

UEFICODE=/usr/share/AAVMF/AAVMF32_CODE.fd
UEFIVARS=/usr/share/AAVMF/AAVMF32_VARS.fd
CD1=/mnt/fisso/OS/ISO/BSD/FreeBSD-13.2-RELEASE-arm-armv7-GENERICSD.img
CD2=/mnt/fisso/OS/ISO/Linux/bookworm_mini_armhf.iso
DISK=/mnt/fisso/bhyve/img/FreeBSD/FreeBSD.img

qemu-system-arm \
   -enable-kvm -serial stdio \
   -m 512 -M virt -cpu cortex-a15 \
   -drive if=pflash,format=raw,unit=0,file=$UEFICODE \
   -drive if=pflash,format=raw,unit=1,file=$UEFIVARS \
   -cdrom $CD2 \
   -drive file=$DISK,format=raw \
   -device virtio-net,netdev=net0,mac="52:54:00:12:34:55" \
   -netdev type=user,id=net0 \
   -device virtio-gpu-pci \
   -usb -device nec-usb-xhci \
   -device usb-kbd -device usb-mouse \
   -device vmware-svga,id=video0,vgamem_mb=16

but the error is always there.

On Sun, Aug 13, 2023 at 2:54 PM Mario Marietto 
wrote:

> Thanks. It's good as a try,but my final goal is to virtualize FreeBSD.
>
> On Sun, Aug 13, 2023 at 8:13 AM Валентин  wrote:
>
>> > Which version of qemu are you using ?
>>
>> Try Debian Armhf distribution:
>>
>> https://deb.debian.org/debian/dists/bookworm/main/installer-armhf/current/images/netboot/
>>
>> For example, mini.iso (minimal size, network boot) boots with:
>> 1) machine virt;
>> 2) cpu cortex-a15;
>> 3) efi bios AAVMF32_CODE.fd.
>>
>>
>> With best regards,
>> Valentine.
>>
>>
>
> --
> Mario.
>


-- 
Mario.


QEMU linux host windows 10 guest: how to pass through cp210x or C-Media type chipsets

2023-08-13 Thread wf5w
I have a specific question here:

 

I am a amateur radio user, and in the radios I have are a combination chipset that when plugged in produce a serial device AND an audio IN/OUT device.

 

So when plugged in, I get a dmesg such as this:

 

ttyACM0 and ttyACM1 from C-Media (or cp210x) ...

and also arecord -l gives a card/device# as well.

 


using this in the linux host is straightforward with the applications that use it, but to use it in a windows 10 guest is another matter. I am not much of a windows user, but I would expect an audio device and something in the COM ports section of the device manager.

 


I am using Virtual Manager, and would like to know how to proceed with passing through a cp210x or C-Media device (both audio and serial ports)

 

Thank you in advance for your help.
 

Jerry


Extra Ham Operator: WF5W
Registered Linux User: 275424
3D designer

The most exciting phrase to hear in science - the one that heralds new discoveries - is not "Eureka!" but "That's funny...". - Isaac. Asimov



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 enable

2023-08-13 Thread Mario Marietto
Thanks. It's good as a try,but my final goal is to virtualize FreeBSD.

On Sun, Aug 13, 2023 at 8:13 AM Валентин  wrote:

> > Which version of qemu are you using ?
>
> Try Debian Armhf distribution:
>
> https://deb.debian.org/debian/dists/bookworm/main/installer-armhf/current/images/netboot/
>
> For example, mini.iso (minimal size, network boot) boots with:
> 1) machine virt;
> 2) cpu cortex-a15;
> 3) efi bios AAVMF32_CODE.fd.
>
>
> With best regards,
> Valentine.
>
>

-- 
Mario.