How can I use the hostctl command on Xen virtual machine?

The hostctl command doesn't work on my Ubuntu (bear metal PC) + Xen + 
OpenBSD 6.9 release as follows:
$ hostctl device
hostctl: open: /dev/pvbus0: Operation not supported by device
$ doas hostctl device
doas ([email protected]) password: 
hostctl: open: /dev/pvbus0: Operation not supported by device
$ ls -l /dev/pvbus0
crw-r-----  1 root  wheel   95,   0 Oct  7 04:21 /dev/pvbus0
$

Could not found pvbus as follows:
$ dmesg | grep pvbus
$


On the other hand, hostctl command works correctly for OpenBSD 6.9
release on ESXi and Hyper-V.

On ESXi as follows:
$ hostctl guestinfo.ip
192.168.10.113
$ dmesg | egrep '(pvbus|vmt)'
pvbus0 at mainbus0: VMware
vmt0 at pvbus0
$

On Hyper-V as follows:
$ hostctl GUest/Parameters/HostName
DESKTOP-4AL1JIR
$ dmesg | egrep '(pvbus|hyperv)'
pvbus0 at mainbus0: Hyper-V 10.0
hyperv0 at pvbus0: protocol 4.0, features 0x2e7f
hyperv0: heartbeat, kvp, shutdown, timesync
hvs0 at hyperv0 channel 2: ide, protocol 6.2
hvs1 at hyperv0 channel 15: scsi, protocol 6.2
hvn0 at hyperv0 channel 14: NVS 5.0 NDIS 6.30, address
00:15:5d:0a:80:00
$ 
--
ASOU Masato

Reply via email to