On 24 Jan 2017, at 10:33, Daniel P. Berrange <berrange(a)redhat.com> wrote:
So lets enable QEMU in libvirt and for OS-X and just let people file
bugs if they find bits that don't work.
Just compiled Libvirt (3.0.0 release) on OSX, using "--with-qemu" on
the configure line. QEMU 2.8.0 is installed (through Homebrew).
Trying to start libvirtd itself seems to barf:
*********************************************
$ sudo libvirtd
2017-01-24 18:35:16.272+0000: 18446744073709551615: info : libvirt version: 3.0.0
2017-01-24 18:35:16.272+0000: 18446744073709551615: info : hostname: justinsmac.local
2017-01-24 18:35:16.272+0000: 18446744073709551615: warning : virProcessGetStartTime:1056
: Process start time of pid 56028 not available on this platform
2017-01-24 18:35:16.273+0000: 18446744073709551615: error : virSysinfoRead:1022 : internal
error: Failed to find path for dmidecode binary
2017-01-24 18:35:16.273+0000: 18446744073709551615: error : virFileFindHugeTLBFS:3550 :
this function is not supported by the connection driver: virFileFindHugeTLBFS
2017-01-24 18:35:16.285+0000: 18446744073709551615: error : virExec:494 : Cannot find
'pm-is-supported' in path: No such file or directory
2017-01-24 18:35:16.285+0000: 18446744073709551615: warning : virQEMUCapsInit:1148 :
Failed to get host power management capabilities
2017-01-24 18:35:16.285+0000: 18446744073709551615: error : virNumaGetPages:954 :
Operation not supported: page info is not supported on this platform
2017-01-24 18:35:16.285+0000: 18446744073709551615: warning : virQEMUCapsInit:1152 :
Failed to get pages info
2017-01-24 18:35:16.370+0000: 18446744073709551615: error : qemuMonitorJSONCheckError:387
: internal error: unable to execute QEMU command 'query-cpu-definitions': The
command query-cpu-definitions has not been found
2017-01-24 18:35:16.370+0000: 18446744073709551615: error : virEventPollRunOnce:647 :
Unable to poll on file handles: Bad file descriptor
2017-01-24 18:35:16.370+0000: 18446744073709551615: warning :
virQEMUCapsLogProbeFailure:4624 : Failed to probe capabilities for
/usr/local/bin/qemu-system-alpha: internal error: unable to execute QEMU command
'query-cpu-definitions': The command query-cpu-definitions has not been found
$
*********************************************
Do we need libvirtd to run on OSX properly first, for QEMU to be
reachable? (as mentioned, it's been a few years ;>)
+ Justin
--
"My grandfather once told me that there are two kinds of people: those
who work and those who take the credit. He told me to try to be in the
first group; there was less competition there."
- Indira Gandhi