Using the KVM API
Using the KVM API
Posted Sep 30, 2015 13:46 UTC (Wed) by pbonzini (subscriber, #60935)In reply to: Using the KVM API by eru
Parent article: Using the KVM API
Posted Sep 30, 2015 15:28 UTC (Wed)
by eru (subscriber, #2753)
[Link] (5 responses)
Posted Sep 30, 2015 17:15 UTC (Wed)
by felix.s (guest, #104710)
[Link] (4 responses)
Also, funnily enough, some time ago I've been working on a DOS/BIOS ABI layer based on KVM (I tried to make backends interchangeable, but I'm not sure how well I've succeeded), and I think it would be ideal for the use case you describe. I even managed to include a simplistic packet driver, so I can use the FDNPKG package manager to download programs to test. However, the code is currently such a mess that I'm too embarrassed to publish it. Maybe some day...
Posted Sep 30, 2015 17:34 UTC (Wed)
by josh (subscriber, #17465)
[Link] (3 responses)
Posted Sep 30, 2015 17:49 UTC (Wed)
by kvaneesh (subscriber, #45646)
[Link] (2 responses)
Posted Oct 1, 2015 6:29 UTC (Thu)
by kleptog (subscriber, #1183)
[Link] (1 responses)
Now, I get that it's probably a configuration issue since it clearly wasn't caching anything, but I found it really hard to find documentation about qemu that explained this behaviour. On top of that I'm managing them via libvirt, so even if I find a command-line option to deal with something, if libvirt doesn't support it I'm still SOL.
Overall, it hasn't been a great experience, next time I'll probably do what other people do, use VirtualBox or VMWare.
But back to the article, it's a pretty nice interface actually. Hopefully I'll find some reason to use it sometime :)
Posted Oct 8, 2015 16:48 UTC (Thu)
by LightDot (guest, #73140)
[Link]
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
The VNC option doesn't need to be presented as a command line, I just left it as an example.
I probably should look into qemu again some day. One problem is file system access. As noted, I want the MS-DOS compilers to transparently compile sources in the Linux file system and write the objects there, and preferably without having to install any network support in the emulated MS-DOS or FreeDOS, so to leave maximum "real" memory for the compilers. Both dosemu and dosbox handle this requirement.
Using the KVM API
Using the KVM API
Using the KVM API
Using the KVM API
Using the KVM API
Using the KVM API
...
<qemu:commandline>
<qemu:arg value='-vnc'/>
<qemu:arg value=':30,tls'/>
<qemu:arg value='-k'/>
<qemu:arg value='fr'/>
<qemu:arg value='-no-fd-bootchk'/>
</qemu:commandline>
</domain>