I have a small home server used to virtualize a few machines. It's headless and sits in my living room. Before virtualizing, I used to utilize the pcspkr via beep for simple communication; e.g. a lost network connection, or to signal a completed backup to a offline drive. Most of these things can be accomplished via more sophisticated messages, but I like the simplicity of plugging in a drive and waiting for a chime to signal the completed backup. There are no soundcards / other speaker attached to the machine.
So, I'm trying to use the pcspkr from my VM. My current idea involves ssh'ing from the VM to the host to run the 'beep'-command here. This results in some delay, however, as there's authentication to do each time a sound is played. As such, I've been toying with the idea to directly offer the pcspkr as a device to the VM according to the QEMU manual. I haven't had any success, yet, as I am unsure what to select as audio backend -- there's nothing on the machine so far.
Any help with this would be greatly appreciated, as would be other ideas to offer the functionality to the VM without the ssh-authentication indulged delays.
So, I'm trying to use the pcspkr from my VM. My current idea involves ssh'ing from the VM to the host to run the 'beep'-command here. This results in some delay, however, as there's authentication to do each time a sound is played. As such, I've been toying with the idea to directly offer the pcspkr as a device to the VM according to the QEMU manual. I haven't had any success, yet, as I am unsure what to select as audio backend -- there's nothing on the machine so far.
Any help with this would be greatly appreciated, as would be other ideas to offer the functionality to the VM without the ssh-authentication indulged delays.
Last edited: