From bugtracker-admin at leaf.dragonflybsd.org Sat Sep 25 09:29:51 2021 From: bugtracker-admin at leaf.dragonflybsd.org (bugtracker-admin at leaf.dragonflybsd.org) Date: Sat, 25 Sep 2021 09:29:51 -0700 Subject: [DragonFlyBSD - Bug #3295] (In Progress) Adapt devel/libvirt for nvmm References: Message-ID: 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:
$ 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
* In another:
$ 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"
    }
}
---------------------------------------- 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 From bugtracker-admin at leaf.dragonflybsd.org Sat Sep 25 09:56:28 2021 From: bugtracker-admin at leaf.dragonflybsd.org (bugtracker-admin at leaf.dragonflybsd.org) Date: Sat, 25 Sep 2021 09:56:28 -0700 Subject: [DragonFlyBSD - Bug #3288] (Closed) Dports compilation Issue (make and bmake) References: Message-ID: Issue #3288 has been updated by tuxillo. Status changed from Feedback to Closed Just realised you were using @devel/bmake@ . We have bmake in base as @make@, please use that one when building dports, which is the one those global variables defined. ---------------------------------------- Bug #3288: Dports compilation Issue (make and bmake) http://bugs.dragonflybsd.org/issues/3288#change-14170 * Author: nataraj * Status: Closed * Priority: Normal * Assignee: tuxillo * Category: Other * Target version: 6.2 * Start date: 2021-07-10 ---------------------------------------- DragonFly Dfly.Noy.in 5.8-RELEASE DragonFly v5.8.3-RELEASE #10: Thu Sep 24 19:19:45 EDT 2020 root at www.shiningsilence.com:/usr/obj/home/justin/release/5_8/sys/X86_64_GENERIC x86_64 [root at Dfly /usr/dports/x11-clocks/bclock]# make ===> NOTICE: The bclock port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port set: Illegal option -o pipefail *** Error code 2 Stop. make: stopped in /usr/dports/x11-clocks/bclock [root at Dfly /usr/dports/x11-clocks/bclock]# bmake bmake: "/usr/dports/Mk/bsd.port.mk" line 1172: make(1) is not defining global variable .MAKE.DF.OSREL . This is a DF specific global variable. bmake: stopped in /usr/dports/x11-clocks/bclock ---Files-------------------------------- ktrace.out.tar.gz (11 KB) -- 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 From bugtracker-admin at leaf.dragonflybsd.org Wed Sep 29 17:04:40 2021 From: bugtracker-admin at leaf.dragonflybsd.org (bugtracker-admin at leaf.dragonflybsd.org) Date: Wed, 29 Sep 2021 17:04:40 -0700 Subject: [DragonFlyBSD - Bug #3295] Adapt devel/libvirt for nvmm References: Message-ID: Issue #3295 has been updated by tuxillo. File libvirt01.png added % Done changed from 0 to 70 * Preliminary work done, you can run VMs with libvirt and nvmm accelerated! * It's work in progress, expect unstability

devbox# virsh list
 Id   Name                 State
------------------------------------
 2    ubuntu1804_default   running


devbox# nvmmctl list
Machine ID VCPUs RAM  Owner PID Creation Time           
---------- ----- ---- --------- ------------------------
0          2     2.0G 199725    Thu Sep 30 01:55:03 2021

* virt-manager example: !libvirt01.png! ---------------------------------------- Bug #3295: Adapt devel/libvirt for nvmm http://bugs.dragonflybsd.org/issues/3295#change-14171 * 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. ---Files-------------------------------- libvirt01.png (69.5 KB) -- 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 From bugtracker-admin at leaf.dragonflybsd.org Sat Sep 25 09:29:51 2021 From: bugtracker-admin at leaf.dragonflybsd.org (bugtracker-admin at leaf.dragonflybsd.org) Date: Sat, 25 Sep 2021 09:29:51 -0700 Subject: [DragonFlyBSD - Bug #3295] (In Progress) Adapt devel/libvirt for nvmm References: Message-ID: 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:
$ 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
* In another:
$ 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"
    }
}
---------------------------------------- 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 From bugtracker-admin at leaf.dragonflybsd.org Sat Sep 25 09:56:28 2021 From: bugtracker-admin at leaf.dragonflybsd.org (bugtracker-admin at leaf.dragonflybsd.org) Date: Sat, 25 Sep 2021 09:56:28 -0700 Subject: [DragonFlyBSD - Bug #3288] (Closed) Dports compilation Issue (make and bmake) References: Message-ID: Issue #3288 has been updated by tuxillo. Status changed from Feedback to Closed Just realised you were using @devel/bmake@ . We have bmake in base as @make@, please use that one when building dports, which is the one those global variables defined. ---------------------------------------- Bug #3288: Dports compilation Issue (make and bmake) http://bugs.dragonflybsd.org/issues/3288#change-14170 * Author: nataraj * Status: Closed * Priority: Normal * Assignee: tuxillo * Category: Other * Target version: 6.2 * Start date: 2021-07-10 ---------------------------------------- DragonFly Dfly.Noy.in 5.8-RELEASE DragonFly v5.8.3-RELEASE #10: Thu Sep 24 19:19:45 EDT 2020 root at www.shiningsilence.com:/usr/obj/home/justin/release/5_8/sys/X86_64_GENERIC x86_64 [root at Dfly /usr/dports/x11-clocks/bclock]# make ===> NOTICE: The bclock port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port set: Illegal option -o pipefail *** Error code 2 Stop. make: stopped in /usr/dports/x11-clocks/bclock [root at Dfly /usr/dports/x11-clocks/bclock]# bmake bmake: "/usr/dports/Mk/bsd.port.mk" line 1172: make(1) is not defining global variable .MAKE.DF.OSREL . This is a DF specific global variable. bmake: stopped in /usr/dports/x11-clocks/bclock ---Files-------------------------------- ktrace.out.tar.gz (11 KB) -- 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 From bugtracker-admin at leaf.dragonflybsd.org Wed Sep 29 17:04:40 2021 From: bugtracker-admin at leaf.dragonflybsd.org (bugtracker-admin at leaf.dragonflybsd.org) Date: Wed, 29 Sep 2021 17:04:40 -0700 Subject: [DragonFlyBSD - Bug #3295] Adapt devel/libvirt for nvmm References: Message-ID: Issue #3295 has been updated by tuxillo. File libvirt01.png added % Done changed from 0 to 70 * Preliminary work done, you can run VMs with libvirt and nvmm accelerated! * It's work in progress, expect unstability

devbox# virsh list
 Id   Name                 State
------------------------------------
 2    ubuntu1804_default   running


devbox# nvmmctl list
Machine ID VCPUs RAM  Owner PID Creation Time           
---------- ----- ---- --------- ------------------------
0          2     2.0G 199725    Thu Sep 30 01:55:03 2021

* virt-manager example: !libvirt01.png! ---------------------------------------- Bug #3295: Adapt devel/libvirt for nvmm http://bugs.dragonflybsd.org/issues/3295#change-14171 * 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. ---Files-------------------------------- libvirt01.png (69.5 KB) -- 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 From bugtracker-admin at leaf.dragonflybsd.org Sat Sep 25 09:29:51 2021 From: bugtracker-admin at leaf.dragonflybsd.org (bugtracker-admin at leaf.dragonflybsd.org) Date: Sat, 25 Sep 2021 09:29:51 -0700 Subject: [DragonFlyBSD - Bug #3295] (In Progress) Adapt devel/libvirt for nvmm References: Message-ID: 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:
$ 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
* In another:
$ 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"
    }
}
---------------------------------------- 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 From bugtracker-admin at leaf.dragonflybsd.org Sat Sep 25 09:56:28 2021 From: bugtracker-admin at leaf.dragonflybsd.org (bugtracker-admin at leaf.dragonflybsd.org) Date: Sat, 25 Sep 2021 09:56:28 -0700 Subject: [DragonFlyBSD - Bug #3288] (Closed) Dports compilation Issue (make and bmake) References: Message-ID: Issue #3288 has been updated by tuxillo. Status changed from Feedback to Closed Just realised you were using @devel/bmake@ . We have bmake in base as @make@, please use that one when building dports, which is the one those global variables defined. ---------------------------------------- Bug #3288: Dports compilation Issue (make and bmake) http://bugs.dragonflybsd.org/issues/3288#change-14170 * Author: nataraj * Status: Closed * Priority: Normal * Assignee: tuxillo * Category: Other * Target version: 6.2 * Start date: 2021-07-10 ---------------------------------------- DragonFly Dfly.Noy.in 5.8-RELEASE DragonFly v5.8.3-RELEASE #10: Thu Sep 24 19:19:45 EDT 2020 root at www.shiningsilence.com:/usr/obj/home/justin/release/5_8/sys/X86_64_GENERIC x86_64 [root at Dfly /usr/dports/x11-clocks/bclock]# make ===> NOTICE: The bclock port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port set: Illegal option -o pipefail *** Error code 2 Stop. make: stopped in /usr/dports/x11-clocks/bclock [root at Dfly /usr/dports/x11-clocks/bclock]# bmake bmake: "/usr/dports/Mk/bsd.port.mk" line 1172: make(1) is not defining global variable .MAKE.DF.OSREL . This is a DF specific global variable. bmake: stopped in /usr/dports/x11-clocks/bclock ---Files-------------------------------- ktrace.out.tar.gz (11 KB) -- 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 From bugtracker-admin at leaf.dragonflybsd.org Wed Sep 29 17:04:40 2021 From: bugtracker-admin at leaf.dragonflybsd.org (bugtracker-admin at leaf.dragonflybsd.org) Date: Wed, 29 Sep 2021 17:04:40 -0700 Subject: [DragonFlyBSD - Bug #3295] Adapt devel/libvirt for nvmm References: Message-ID: Issue #3295 has been updated by tuxillo. File libvirt01.png added % Done changed from 0 to 70 * Preliminary work done, you can run VMs with libvirt and nvmm accelerated! * It's work in progress, expect unstability

devbox# virsh list
 Id   Name                 State
------------------------------------
 2    ubuntu1804_default   running


devbox# nvmmctl list
Machine ID VCPUs RAM  Owner PID Creation Time           
---------- ----- ---- --------- ------------------------
0          2     2.0G 199725    Thu Sep 30 01:55:03 2021

* virt-manager example: !libvirt01.png! ---------------------------------------- Bug #3295: Adapt devel/libvirt for nvmm http://bugs.dragonflybsd.org/issues/3295#change-14171 * 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. ---Files-------------------------------- libvirt01.png (69.5 KB) -- 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