On 2011年12月06日 18:52, Daniel P. Berrange wrote:
On Tue, Dec 06, 2011 at 06:52:54PM +0800, Osier Yang wrote:
> To not change the old API behavior (if no WWNs is specified, error
> is throwed and the device creation quits), this patch introduce
> an new flag (VIR_NODE_DEVICE_CREATE_XML_GENERATE_WWN), which indicates
> the WWNs will be generated automatically by libvirt if they are not
> specified, and it's ignored if the the WWNs are specified.
IMHO we don't need to add a new flag here. It is perfectly acceptable
if scenarios which used to throw an error, now start working due to
new functionality being implemented.
Hmm, agreed, will post a v2. Thanks
Osier