Re: [libvirt] [PATCH v7 1/2] bhyve: add a basic driver

2014-02-11 Thread Roman Bogorodskiy
Daniel P. Berrange wrote: > > +virCommandAddArg(cmd, "-S"); > > +virCommandAddArg(cmd, "31,uart"); > > Hmm, this is enabling a serial port right ? If so, you only want > todo this if you have def->nserials == 1 I reckon. What is the > string '31' saying ? 31 is pcislot here. Anyway, I'

Re: [libvirt] [PATCH v7 1/2] bhyve: add a basic driver

2014-02-11 Thread Daniel P. Berrange
On Sun, Feb 09, 2014 at 06:46:12PM +0400, Roman Bogorodskiy wrote: > +static int > +bhyveBuildDiskArgStr(const virDomainDef *def, virCommandPtr cmd) > +{ > +virDomainDiskDefPtr disk; > + > +if (def->ndisks != 1) { > +virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s", > +

[libvirt] [PATCH v7 1/2] bhyve: add a basic driver

2014-02-09 Thread Roman Bogorodskiy
At this point it has a limited functionality and is highly experimental. Supported domain operations are: * define * start * destroy * dumpxml * dominfo It's only possible to have only one disk device and only one network, which should be of type bridge. --- configure.ac