KVM on Preempt-RT

  • garrettmin
  • garrettmin's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
02 Sep 2024 19:43 - 02 Sep 2024 20:05 #309223 by garrettmin
KVM on Preempt-RT was created by garrettmin
Can we install KVM Kernel Virtual Machine on Debian 12 Bookworm PREEMPT-RT ISO?

 
Last edit: 02 Sep 2024 20:05 by garrettmin.

Please Log in or Create an account to join the conversation.

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
02 Sep 2024 21:19 #309229 by tommylight
Replied by tommylight on topic KVM on Preempt-RT
That is a Debian question, not LinuxCNC question, so yes you can install it, but it will most probably ruin latency or might replace the real time kernel. Then again, it might just work.
wiki.debian.org/KVM

Please Log in or Create an account to join the conversation.

More
18 Feb 2025 14:49 #321920 by TangentAudio
Replied by TangentAudio on topic KVM on Preempt-RT
I know this is an older thread, but I recently had success doing this.  I wanted to run the Windows-based configuration/tuning utilities for my EtherCAT servo drives without hauling a laptop to my shop.  I installed QEMU/KVM on my LinuxCNC development machine, installed Windows 10 in a virtual machine, and it works fine.  I'm able to redirect the USB-serial devices into the guest OS so the software is able to communicate with the drives.

I've tested this with the software for the LeadShine EL7 series (Motion Studio) as well as the software for the StepperOnline A6 servos.

I have not done extensive testing in terms of the impact on realtime performance, but if there is any effect I haven't noticed it.  LinuxCNC runs fine even while the guest OS is running, and there are no realtime warnings or unexpected behavior when operating the machine.  When this conversion is completed, it will be running on a less capable processor with less RAM, so I won't be doing this for "production" use, but it's great for development purposes.
 

Please Log in or Create an account to join the conversation.

Time to create page: 0.047 seconds
Powered by Kunena Forum