[DragonFlyBSD - Bug #3295] (In Progress) Adapt devel/libvirt for nvmm

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Sat Sep 25 09:29:51 PDT 2021


Issue #3295 has been updated by tuxillo.

Status changed from New to In Progress

* Added support for a new QMP command 'query-nvmm', based on the already existing 'query-kvm' command.
* This allows libvirt to communicate with the VM and see if the accel method is supported and enabled.
* DeltaPorts commit: https://github.com/DragonFlyBSD/DeltaPorts/commit/8a2cf8882

Test:

* In one terminal:

<pre>
$ qemu-system-x86_64 -display curses -accel nvmm -chardev socket,id=qmp,port=4444,host=localhost,server=on -mon chardev=qmp,mode=control,pretty=on
</pre>

* In another:

<pre>
$ telnet localhost 4444
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
{
    "QMP": {
        "version": {
            "qemu": {
                "micro": 0,
                "minor": 0,
                "major": 6
            },
            "package": ""
        },
        "capabilities": [
            "oob"
        ]
    }
}
{ "execute": "qmp_capabilities" }
{
    "return": {
    }
}
{ "execute": "query-nvmm" }
{
    "return": {
        "enabled": true,
        "present": true
    }
}
{ "execute": "quit" }
{
    "return": {
    }
}
{
    "timestamp": {
        "seconds": 1632586250,
        "microseconds": 956109
    },
    "event": "SHUTDOWN",
    "data": {
        "guest": false,
        "reason": "host-qmp-quit"
    }
}
</pre>

----------------------------------------
Bug #3295: Adapt devel/libvirt for nvmm
http://bugs.dragonflybsd.org/issues/3295#change-14169

* Author: tuxillo
* Status: In Progress
* Priority: Normal
* Assignee: tuxillo
* Category: nvmm
* Target version: 6.2
* Start date: 2021-09-01
----------------------------------------
With the recent addition of nvmm, it would be interesting to have something that eases the VM lifecycle, like @devel/libvirt@ . This is a feature request to myself to, at least try to, make @devel/libvirt@ usable with nvmm under DragonFly.



-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account



More information about the Bugs mailing list