Hi,
Believe you have an error in your repo URI, here is the zypper command with the corrected URI to do what you describe although I strongly recommend never creating labels with spaces in the names unless there is a good reason to do so…
zypper ar -f https://download.opensuse.org/repositories/home:/frispete:/15.2:/kvm/openSUSE_Leap_15.2/ "Current KVM Builds"
As for your modifications to get your desired screen resolution,
I’m pretty sure if you set that resolution in your Guest the first time you run your machine and then poweroff,
The next time you boot up, your settings will be remembered and default settings should automatically re-size your console.
I get an answer from qemu team about “qemu does not take care automatically of the kernel option “vga=1280x960”.
I must in “view” menu of the vm uncheck “zoom to fit” to get a window of size 1290x960.” in case you use 3d accel.
More info about “I want the VM is another PC in my LAN” <=> “I want for the VM a LAN ip address”.
I used “-nic bridge” statement. This work if you launch only one VM. In this case the VM get the mac address of the slave of the bridge, in my case “eth0”. The ip address is associated to this mac address.
If you want to launch several VMs then each one get the same mac address (the one of “eth0”) thus the same ip address !
This leads to problems :
downloading sucks
no ipv6 address, only ipv4 address
Solution :
Each VM must have its own mac address.
Replace “-nic bridge” by “-nic bridge,mac=00:16:3e:09:08:5b”
“00:16:3e:09:08:5b” is an example.
I use macgen.py [FONT=monospace] from Redhat to generate mac addresses.
For some VM for example openSUSE tumbleweed don’t use “zoom-to-fit=off” this leads to screen size problem.
For some VM for example android 7.1-r5 from https://www.android-x86.org/ the graphic acceleration leads to the apps does not detect the webcam then don’t use it. Graphic acceleration was running well with previous version of qemu.
I check that with openSUSE Tumbleweed VM the graphic acceleration works well.
I checked with glxinfo that virgl is well acitvated and the webcam runs well.
Thanks for still keeping this updated.
I configured virtualization using Yast and only needed to add my user to the kvm & libvirt groups, but it’s both gratifying and scary to see all the commands to set it up manually.
@pavinjoseph
Perhaps I will try your solution, if it simplifies my method.
Don’t forget, I use my method because I need to launch automatically a VM at login. I can’t do this using libvirt tools because we need root access to launch a VM.
If with your method I don’t need any root access, then I will overhaul my method.
Today my method runs well, so I am not inclined to change it.