Commit Graph

6 Commits

Author SHA1 Message Date
Emmanuel Kasper
e2d725633e Move bus priority list to OSDefaults
So a field container does not need to know if Linux likes SCSI.
2016-10-11 07:02:33 +02:00
Emmanuel Kasper
78a5e21e4c make Win XP and Win 2003 use the same defaults as Win 2000
(this means: rtl8139 as nic and lsi as hardware controller)

XP & 2003 ISO E1000 drivers are missing or do not work with Qemu
(source: https://pve.proxmox.com/wiki/Windows_2003_guest_best_practices)
(source: https://pve.proxmox.com/wiki/Windows_XP_Guest_Notes)

The lsi SCSI controller was the default SCSI controller until recently and works with Win2003.
(NB: An IDE controller is still selected during installation for these OSes)

The aim is to provide an out-of-the box besser experience when using the Create Wizard.

NB: we have a distinct OS type between wxp and w2k3 in QemuServer.pm but since they
use the same defaults we can still wxp for both of those.
2016-10-11 06:47:40 +02:00
Emmanuel Kasper
2c0e2890e0 fix #1113 use a LSI controller for legacy OSes
instead of setting virtio-scsi for all newly created VMs, pass the
OS Optimal SCSI Controller to pveQemuCreateWizard which will
add it as an hidden paramater just before POSTing the wizard data
to the API.
2016-09-20 17:21:34 +02:00
Emmanuel Kasper
9daa22a630 Use SCSI controller as default for l26 guests fix #1105
NB: This is only for new created VMs.
2016-09-15 11:40:12 +02:00
Emmanuel Kasper
eca87c69bc virtio-scsi-pci as default SCSI for new VMS fix #1106 2016-09-15 11:36:35 +02:00
Emmanuel Kasper
b70e9ef5c8 Add PVE.qemu.OSDefaults class to hold OS-dependant wizard defaults 2016-07-21 12:46:52 +02:00