1. 29 5月, 2018 2 次提交
    • J
      conf: introduce virDomainDefBootOrderPostParse · 5b75a4a8
      Ján Tomko 提交于
      Move the check for boot elements into a separate function
      and remove its dependency on the parser-supplied bootHash table.
      
      Reconstructing the hash table from the domain definition
      effectively duplicates the check for duplicate boot order
      values, also present in virDomainDeviceBootParseXML.
      
      Now it will also be run on domains created by other means than XML
      parsing, since it will be run even for code paths that did not supply
      the bootHash table before.
      Signed-off-by: NJán Tomko <jtomko@redhat.com>
      5b75a4a8
    • J
      vmx: add VIR_DOMAIN_DEF_FEATURE_NO_BOOT_ORDER · 8e5e5a95
      Ján Tomko 提交于
      Further patches will introduce validation and a default setting
      of def->os.bootDevs in postParse.
      
      Introduce a feature flag to opt out of this and set it in the vmx
      driver, otherwise we would be adding it <boot dev='hd'/> into every
      vmx config despite having no way to change it.
      Signed-off-by: NJán Tomko <jtomko@redhat.com>
      8e5e5a95
  2. 28 5月, 2018 35 次提交
  3. 25 5月, 2018 3 次提交