Ok, but since the scsihw: 'virtio-scsi-pci' is set at the generic OSdefault
template and the w2k OSdefaults has a parent generic, doesn't that inherit
all settings from generic? Why else does it need a parent?

As i read the code the 'w2k' OSdefaults are:

busType: 'ide' (from generic parent)
scsihw: 'virtio-scsi-pci' (from generic parent)
networkCard: 'rtl8139' (from w2k template, overriding e1000 from generic)

So creating a w2k VM will use IDE as default for disks so everything works,
BUT when you change IDE to SCSI you have to change the SCSI Controller too
(virtio-scsi-pci is not compatible with W2K). Wouldn't it be better to have
a 'sane' default SCSI controller for w2k?


Kind regards,
Caspar Smit

2016-09-19 10:18 GMT+02:00 Emmanuel Kasper <e.kas...@proxmox.com>:

> On 09/16/2016 03:11 PM, Caspar Smit wrote:
> > Hi,
> >
> > I'm assuming this commit will break the 'w2k' pveOS default (because the
> > scsihw will be inherited from generic):
>
> not really, because presetting a different kind of SCSI controller will
> not impact the _default_ controller which will still be IDE
> for all new VMs except l26
>
>
>
> _______________________________________________
> pve-devel mailing list
> pve-devel@pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
>
_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to