Re: Looking for a Libvirt example xml file

2014-10-26 Thread Conrad Meyer
On Sun, Oct 26, 2014 at 10:11 AM, Willem Jan Withagen w...@digiware.nl wrote:
 Are there any FBSD directions online to actually get libvirt to build
 after you did git clone??


See README-hacking[0] and checkout pkgng poudriere logs[1] for options
to ./configure. After that it's just gmake -jN and gmake
install.

Best,
Conrad

[0]: 
http://libvirt.org/git/?p=libvirt.git;a=blob;f=README-hacking;h=4e02fd854c4cdbdd40bfc2e29382342419645aae;hb=HEAD
[1]: 
http://beefy4.isc.freebsd.org/data/head-amd64-default-ssp/2014-10-22_14h32m42s/logs/libvirt-1.2.6_3.log
___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
freebsd-virtualization-unsubscr...@freebsd.org


Re: Looking for a Libvirt example xml file

2014-10-26 Thread Willem Jan Withagen
On 26-10-2014 15:27, Conrad Meyer wrote:
 On Sun, Oct 26, 2014 at 10:11 AM, Willem Jan Withagen w...@digiware.nl 
 wrote:
 Are there any FBSD directions online to actually get libvirt to build
 after you did git clone??
 
 
 See README-hacking[0] and checkout pkgng poudriere logs[1] for options
 to ./configure. After that it's just gmake -jN and gmake
 install.

Following another path, but that may very well bomb:
next to the requirements from the ports/libvirt/Makefile also installed
form ports:
gnulib
git-merge-changelog 

And running autogen.sh
and then went: gmake
And it is still building.

But I'm certainly going to take a look at your links as well.

Thanx,
--WjW

 
 Best,
 Conrad
 
 [0]: 
 http://libvirt.org/git/?p=libvirt.git;a=blob;f=README-hacking;h=4e02fd854c4cdbdd40bfc2e29382342419645aae;hb=HEAD
 [1]: 
 http://beefy4.isc.freebsd.org/data/head-amd64-default-ssp/2014-10-22_14h32m42s/logs/libvirt-1.2.6_3.log

___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
freebsd-virtualization-unsubscr...@freebsd.org


Re: Looking for a Libvirt example xml file

2014-10-26 Thread Conrad Meyer
On Sun, Oct 26, 2014 at 5:45 PM, Willem Jan Withagen w...@digiware.nl wrote:
 On 26-10-2014 0:48, Willem Jan Withagen wrote:
 Hoi

 I tried the version on the libvirt.org/bhyve page.
 But that returns:

 freetest# virsh -c bhyve:///system  domxml-to-native \\
   --format bhyve-argv --xml /root/libvirt-example.xml
 error: unsupported configuration: unsupported disk device

 So I was wondering if somebody would like to share his working example?

 After building libvirt 1.2.10

 I was able to load this XML:
 /usr/sbin/bhyveload -m 214 -d /home/bhyve/FreeBSD/freebsd-head.disk bhyveCD
 /usr/sbin/bhyve -c 1 -m 214 -A -I -H -P -s 0:0,hostbridge -s
 2:0,virtio-net,tap0,mac=52:54:00:63:43:69 -s
 3:0,virtio-blk,/home/bhyve/FreeBSD/freebsd-head.disk -s
 4:0,ahci-cd,/home/bhyve/FreeBSD/freebsd-head.iso bhyveCD

Hi Willem,

It appears 1.2.6 is too old. Please chime in on
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192441 , let's get
this updated to 1.2.9 (latest release). And then we should figure out
if the port maintainer needs a comaintainer to help keep this up to
date. I've got some patches pending upstream that should really
improve libvirt-bhyve integration when they land (which will be in
1.2.10 or later).

Thanks,
Conrad
___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
freebsd-virtualization-unsubscr...@freebsd.org


Re: Looking for a Libvirt example xml file

2014-10-25 Thread Craig Rodrigues
On Sat, Oct 25, 2014 at 3:48 PM, Willem Jan Withagen w...@digiware.nl
wrote:


 So I was wondering if somebody would like to share his working example?


Hi,

Take a look at these slides:
http://www.slideshare.net/CraigRodrigues1/libvirt-bhyve

on slide 8, I have a pointer to a working libvirt xml example.


--
Craig
___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
freebsd-virtualization-unsubscr...@freebsd.org


Re: Looking for a Libvirt example xml file

2014-10-25 Thread Conrad Meyer
On Sat, Oct 25, 2014 at 9:42 PM, Willem Jan Withagen w...@digiware.nl wrote:
 Seems that my CDrom block was a problem.
 But the disk is already build, so I just skipped that.

Yes, even in git libvirt-bhyve doesn't work well with 1 disk :-(.

 But thing do not generate a lot of logging. :(
 Not even with debug on 4

Log-level in libvirtd is backwards, you probably want 2. 1 is very very spammy.

From libvirtd.conf.sample: # Logging level: 4 errors, 3 warnings, 2
information, 1 debug

Best,
Conrad
___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
freebsd-virtualization-unsubscr...@freebsd.org