Re: OSX Homebrew support note ;)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  Justin Clift wrote:

> On 24 Jan 2017, at 10:33, Daniel P. Berrange <berrange@xxxxxxxxxx> 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

I was able to get through this error by doing 'brew unlink qemu' and
then creating a symlink only for

$(brew --prefix qemu)/bin/qemu-system-x86_64

This allows me to start libvirtd, but then it fails when I try to define
a domain:

virsh # uri
qemu:///system

virsh # nodeinfo
CPU model:           x86_64
CPU(s):              4
CPU frequency:       2700 MHz
CPU socket(s):       1
Core(s) per socket:  4
Thread(s) per core:  1
NUMA cell(s):        1
Memory size:         16777216 KiB

virsh # define /Users/rbogorodskiy/qemudomain.xml
error: Failed to define domain from /Users/rbogorodskiy/qemudomain.xml
error: invalid connection pointer in virGetDomain

virsh #

I haven't yet looked further.

Roman Bogorodskiy

Attachment: signature.asc
Description: PGP signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux