Re: My qemu error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

The thing is, I already have a configured Windows VM for qemu. I would prefer not to have to set it up again from scratch.

Sent from my iPhone

> On 02 Dec 2021, at 02:34, Linux for blind general discussion <blinux-list@xxxxxxxxxx> wrote:
> 
> As an alternative there's the quickemu project too, https://github.com/quickemu-project/quickemu which comes with several options out of the box and sets up the config for you, including Win10/11.
> 
> All you need is qemu and its dependancies installed and to do (for instance for Fedora 34) ./quickget Fedora 34
> 
> 
> That'll download Fedora 34, it works the same for Win10/Win11 as well but for that you need jd installed
> 
>> On 12/2/21 01:20, Linux for blind general discussion wrote:
>> Hi Ibrahim,
>> 
>> this is the script I use to run Windows-10/11 in a Qemu VM:
>> 
>> qemu-system-x86_64 \
>> -cpu host \
>> -enable-kvm \
>> -smp $(nproc) \
>> -m 4G \
>> -k fr \
>> -boot order=c \
>> -boot menu=on \
>> -device intel-hda \
>> -device hda-duplex \
>> -display gtk \
>> -vga std \
>> -device usb-ehci,id=ehci  \
>> -drive file=~/qemu/windows.qcow2,format=qcow2,media=disk
>> 
>> No idea if it will have sound in Fedora, though.
>> 
>> Cheers,
>> Didier
>> 
>>> Le 01/12/2021 à 10:54, Linux for blind general discussion a écrit :
>>> Hi Didier,
>>> 
>>> 
>>> There were some packages missing, which I have now installed. I installed qemu-kvm, virt-manager and virt-viewer, which didn't install along with the main qemu package.
>>> 
>>> 
>>> I am still having issues with the sound thing however. I am hesitant to try and fix the script myself.
>>> 
>>> 
>>> Warm regards,
>>> 
>>> Brandt Steenkamp
>>> 
>>> Sent from the Fedora machine, using Thunderbird
>>> 
>>> On 2021/11/30 23:12, Linux for blind general discussion wrote:
>>>> Ho Brandt,
>>>> 
>>>> This does tell if the support for KVM is properly configured in this kernel.
>>>> 
>>>> to check, you can do this:
>>>> 
>>>> cp /proc/config.gz /tmp
>>>> cd /tmp
>>>> gunzip config.gz
>>>> you will get a file named config with configuration settings of the kernel
>>>> 
>>>> You can do the same with Slint and compare.
>>>> 
>>>> And/or use a Fedora support channel.
>>>> 
>>>> Cheers,
>>>> 
>>>> Didier
>>>> 
>>>> 
>>>> Le 30/11/2021 à 21:43, Linux for blind general discussion a écrit :
>>>>> As I stated, I'm running Fedora Mate Compiz 35 at the moment, and
>>>>> 
>>>>> $uname -r
>>>>> 
>>>>> gives me the following.
>>>>> 
>>>>> 5.15.5-200.fc35.x86_64
>>>>> 
>>>>> 
>>>>> Warm regards,
>>>>> 
>>>>> Brandt Steenkamp
>>>>> 
>>>>> Sent from the Fedora machine, using Thunderbird
>>>>> 
>>>>> On 2021/11/30 20:03, Linux for blind general discussion wrote:
>>>>>> PS instead of:
>>>>>> /boot/config-generic-5.14.13
>>>>>> please read:
>>>>>> /boot/config-generic-5.13.13
>>>>>> 
>>>>>> OT Both the 5.13 and 5.14 have been declared End of Life, I will provide a
>>>>>> 5.15.z when I will think this branch is stable enough.
>>>>>> 
>>>>>> Didier
>>>>>> 
>>>>>> Le 30/11/2021 à 18:49, Linux for blind general discussion a écrit :
>>>>>>> Hi Brandt,
>>>>>>> answers inline
>>>>>>> 
>>>>>>> Le 30/11/2021 à 13:55, Linux for blind general discussion a écrit :
>>>>>>>> qemu-system-x86_64: warning: '-soundhw hda' is deprecated, please use '-device intel-hda -device hda-duplex' instead
>>>>>>>> audio: Device hda: audiodev default parameter is deprecated, please specify audiodev=pa
>>>>>>>> audio: Device hda: audiodev default parameter is deprecated, please specify audiodev=pa
>>>>>>>> 
>>>>>>> In the command remove
>>>>>>> -soundhw hda
>>>>>>> which is redundant with
>>>>>>> -device intel-hda -device hda-duplex
>>>>>>> and probaly repcace
>>>>>>> --audiodev pa
>>>>>>> by:
>>>>>>> --audiodev=pahowever, maybe this whole stuff is not necessary:-audiodev pa,id=pa,out.mixing-engine=off,out.latency=20000
>>>>>>> I don't have it.
>>>>>>> 
>>>>>>>  >  know it does work under Slint, but not under Fedora, Arch or Ubuntu.
>>>>>>> 
>>>>>>> Maybe the kernel you are running in Fedora, Arch or Ubuntu does not have a
>>>>>>> proper configuration for KVM, read:
>>>>>>> https://www.linux-kvm.org/page/Tuning_Kernel
>>>>>>> 
>>>>>>> In Slint the kernel configuration is found in one of these files:
>>>>>>> /boot/config-generic-5.14.14.x64
>>>>>>> /boot/config-generic-5.14.13
>>>>>>> These commands:
>>>>>>> cat /proc/cmdline
>>>>>>> uname -r
>>>>>>> tell you which kernel is running, so you know how it is configured.
>>>>>>> 
>>>>>>> Also, there could be an issue with your qemu version.
>>>>>>> 
>>>>>>> In Slint at time of writing:
>>>>>>> dance[~]$ qemu-system-x86_64 --version
>>>>>>> QEMU emulator version 6.0.0
>>>>>>> Copyright (c) 2003-2021 Fabrice Bellard and the QEMU Project developers
>>>>>>> 
>>>>>>> Cheers,
>>>>>>> Didier
>> 
>> 
>> _______________________________________________
>> Blinux-list mailing list
>> Blinux-list@xxxxxxxxxx
>> https://listman.redhat.com/mailman/listinfo/blinux-list
> 
> _______________________________________________
> Blinux-list mailing list
> Blinux-list@xxxxxxxxxx
> https://listman.redhat.com/mailman/listinfo/blinux-list


_______________________________________________
Blinux-list mailing list
Blinux-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/blinux-list




[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]