Re: CURRENT: Operation not supported by device

From: Evilham <contact_at_evilham.com>
Date: Mon, 03 Apr 2023 09:59:01 UTC
Hey!

On dc., març 29 2023, Corvin Köhne wrote:

> [[PGP Signed Part:Undecided]]
> On Wed, 2023-03-29 at 12:44 +0200, Evilham wrote:
>> Hello,
>>
>> I've been using bhyve for a while now and in the past couple 
>> days
>> (though I'm not sure when it started, certainly less than two
>> weeks ago), I've been getting this message when trying to start 
>> a
>> VM on CURRENT:
>>
>> # # This is after unloading vmm
>> # sh /usr/share/examples/bhyve/vmrun.sh -E -I null.iso -d
>>   disk0.img test
>> *** vmm.ko is not loaded
>> # kldload vmm
>> # sh /usr/share/examples/bhyve/vmrun.sh -E -I null.iso -d
>>   disk0.img test
>> Launching virtual machine "test" ...
>> device emulation initialization error: Operation not supported 
>> by
>> device
>> # bhyvectl --vm=test --destroy
>> # kldunload vmm
[...]
>
> Hi Evilham,
>
> I've already seen this issue on one of my AMD devices too. Could 
> you
> please test the following patch:
> https://reviews.freebsd.org/D39310

Just managed to manually test the patch, it works nicely!

I also just noticed that it got merged, so thank you and sorry for 
the delay in testing :-).

Cheers,
--
Evilham