Replies: 3 comments 2 replies
-
I bet the same mechanisms exists also in Linux |
Beta Was this translation helpful? Give feedback.
-
Something like that is implemented in VirtualBox and probably many other VMs. |
Beta Was this translation helpful? Give feedback.
-
In the' vnet' networking module I have added a small FTP server that can exchange files with the host. We could use this technique for such a project. A small program on the guest opens a network connection with the VNET server that can access the host clipboard. Adding a PCI pseudo device for this task would require to write a driver for the guest. |
Beta Was this translation helpful? Give feedback.
-
Hi,
Some idea came into my mind. We could have a application running under guest Windows could share clipboard with the host.
Once smth is copied into Clipboard on the guest, it could mirror the clipboard of the guest to clipboard of the host.
So paste on the host would paste the same thing.
I had a brief ChatGPR consultation about it it came up with 2 prototypes.
1st one monitors clipboard of Windows and does smth with everything found (specifically prints on screen and add to a file).
It is pretty dump because it dumps the same clipboard content over and over again and not once per change but I bet it is fixable.
2nd is prototype of ability to copy stuff into host Windows clipboard
Of course there is a need for some guest2host communication interface, smth like a methods to do memcpy from guest memory to host memory but this also doable with inventing some Bochs API. May be you could suggest smth.
I know some used magic CPUID operations. The CPUID can be called with some crazy leaf number like 0x48000000 and EBX, ECX, EDX will be parameters. Bochs can intercept the magic CPUID call and use it as guest2host memcpy command.
Now remains only to hide the clipboard program on guest windows so it won't bother but be kept as service.
Any suggestions ?
Beta Was this translation helpful? Give feedback.
All reactions