Commit Graph

20 Commits

Author SHA1 Message Date
Emmanuel Kasper
2a2dce7037 Change the SCSI controller type when editing a harddisk only when creating a VM.
If not, the following could happen:
 * user has a VM with two disks attached to a LSI controller
 * adding a third disk, he notices the iothread option, and clicks it
 * the scsihw type for all disks is changed now to virtio-scsi-single
 * on next cold restart, STOP 0x0000007B INACCESSABLE_BOOT_DEVICE for a Windows VM

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2017-09-01 11:07:43 +02:00
Thomas Lamprecht
2d06e72392 HDEdit: push more items in the same call
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2017-09-01 11:07:43 +02:00
Thomas Lamprecht
9a8a573568 qemu/create: use 'virtio-scsi-single' if 'iothread' is set
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reported-by: Nils <gismo3303@gmail.com>
2017-08-22 10:49:57 +02:00
Thomas Lamprecht
7a6e0635cf qemu/HDEdit: whitespace cleanup
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2017-08-22 10:42:42 +02:00
Emmanuel Kasper
85806e47d1 Use camel case for InputPanels aliases
Camel Case names for component alias follow Ext recommended practises
and are used otherwise everyelse in the code base.

No functionnal changes, aliases for these components were not used
anyway.
2017-07-11 13:23:38 +02:00
Emmanuel Kasper
1b6f87ab1d Add a Skip replication option on Disk Panel
This will allow to disable replication, when for instance we
add a disk on a non-replicatable storage.
The option is hidden in the wizard, because at that time no VM
replication has been set.
2017-06-27 10:49:35 +02:00
Emmanuel Kasper
d5e771ce51 Rename 'create' to 'isCreate' in pveWindowEdit and subclasses
This fixes around 20 jslint type confusion warnings.
Also reduce the scope and document jslint warnings along the way.
No functional changes.
2017-03-02 10:36:35 +01:00
Dietmar Maurer
c8802a60b7 use auto-generated block IDs to reference online docu. 2016-10-13 11:26:06 +02:00
Emmanuel Kasper
c149681d61 fix #1113: preserve LSI controller for legacy Oses
The SCSI HW type handling will be made in the Wizard class, removing from here.
2016-09-20 17:18:19 +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
42902182c0 Rename Wizard Component aliases using camelCase
this is ExtJS recommended practise, follows most of our
conventions and is necessary for querying
components with Ext.ComponentQuery.query() without escaping the
dots in the component widget name.
2016-07-21 12:44:13 +02:00
Emmanuel Kasper
8aa37826e7 Add online help for some complex Qemu InputPanels 2016-06-01 12:39:11 +02:00
Dietmar Maurer
9cac6b7594 HDEdit: cleanup, move logic to view controller 2016-05-04 13:06:13 +02:00
Dietmar Maurer
180d7ef5b4 fix #973: disable iothread for non-virtio drives
this patch disables the iothread field, whenever the disk
is not a virtio disk, or the selected controller is not
virtio
2016-05-04 12:48:18 +02:00
Dietmar Maurer
6a0b8c26c9 GUI: use raw format for DRBD images 2016-04-15 08:23:32 +02:00
Dietmar Maurer
185a77e555 reduce translation overhead 2016-04-05 11:10:52 +02:00
Dominik Csapak
ac7db8f761 ext6migrate: change default values
since KVCombobox expects __default__ as default value
change to this in

DisplayEdit
HDEdit
KeyboardEdit
ProcessorEdit

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-21 11:16:27 +01:00
Dominik Csapak
2e52404d05 ext6migrate: fix HDEdit, HDMove, HDResize
the StorageSelector fires the change event one time before data is there,
this patch catches that

also make the hdresize window wider because of the bigger font

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-18 16:09:42 +01:00
Dominik Csapak
ca6372bda7 ext6migrate: fix KVCombobox behaviour in qemu
for details see commit:
f2782813cd

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-18 16:08:50 +01:00
Dietmar Maurer
df15b3da37 copy qemu/HDEdit.js from manager to manager6 2016-03-16 09:12:22 +01:00