Dietmar Maurer
f73de1699c
bump version to 3.1-30
2014-08-06 09:41:43 +02:00
Alexandre Derumier
5cffb2d2f2
bump max hostpci to 4
...
user need to passthough 3 devices here
http://forum.proxmox.com/threads/19134-KVM-passtrought-PciExpress-3-card
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2014-08-06 09:40:32 +02:00
Alexandre Derumier
137483c053
vga=none if x-vga passthrough is enabled
...
we need to disable virtual vga card if we passthrough a physical gpu
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2014-08-06 09:39:38 +02:00
Dietmar Maurer
c4722d9641
bump version to 3.1-29
2014-07-29 06:53:27 +02:00
Dietmar Maurer
debe88829e
vm_stop: do not use ha commands if $migratedfrom is set
2014-07-29 06:51:02 +02:00
Dietmar Maurer
0a2da90b8b
bump version to 3.1-28
2014-07-24 06:52:43 +02:00
Alexandre Derumier
9040435417
disable kvm cpu signature if x-vga is enabled
...
see
http://git.qemu.org/?p=qemu.git;a=commit;h=f522d2acc549dd11f495048330aa5f3f424a7dfa
last nvdia drivers don't install in kvm machine if they detect kvm signature.
This patch hide kvm signature in cpuflags (but don't disable kvm)
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2014-07-24 06:51:55 +02:00
Dietmar Maurer
42d9f10b67
bump version to 3.1-27
2014-07-23 06:12:40 +02:00
Kamil Trzciński
8f3e88af00
Reset device only if has_fl_reset is defined
...
Signed-off-by: Kamil Trzciński <ayufan@ayufan.eu>
2014-07-23 06:11:15 +02:00
Dietmar Maurer
cba2311f72
bump version to 3.1-26
2014-07-17 09:29:01 +02:00
Stefan Priebe
8fd882a42b
snapshot_delete: reorder parent "connection" after prepare
...
Signed-off-by: Stefan Priebe <s.priebe@profihost.ag>
2014-07-17 09:23:40 +02:00
Stefan Priebe
64ff6fe44c
API2: remove require full parameter for snapshot cloning
...
Signed-off-by: Stefan Priebe <s.priebe@profihost.ag>
2014-07-17 09:22:37 +02:00
Stefan Priebe
258e646c57
pass snapname to PVE::Storage::vdisk_clone
...
Signed-off-by: Stefan Priebe <s.priebe@profihost.ag>
2014-07-17 09:21:37 +02:00
Dietmar Maurer
c0298a21f0
bump version to 3.1-25
2014-07-16 12:48:10 +02:00
Alexandre Derumier
e5e3ccbbc2
allow resize of virtio windows boot disk
...
virtio-win-0.1-74 have fixed the resize bug of virtio boot disk
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2014-07-16 12:47:04 +02:00
Dietmar Maurer
47314bf5e2
auto generate uuid on VM create
...
Other VM environments also generates an UUID by default.
2014-06-26 11:51:52 +02:00
Dietmar Maurer
d7fd6a445b
require 'VM.Config.HWType' priviledge to change new smbios1 option
2014-06-26 11:17:10 +02:00
Dietmar Maurer
fbbb287fa3
bump version to 3.1-24
2014-06-26 11:13:50 +02:00
Dietmar Maurer
2796e7d542
new option smbios1: specify SMBIOS type 1 fields (uuid, ...)
2014-06-26 11:12:25 +02:00
Dietmar Maurer
a29f410963
bump version to 3.1-23
2014-06-25 09:56:24 +02:00
Dietmar Maurer
12a1e0f4e8
vncproxy: remove check if VM is running
...
Because this does not work when VM is on other cluster node.
2014-06-25 09:54:23 +02:00
Dietmar Maurer
57a5429d73
bump version to 3.1-22
2014-06-25 09:31:59 +02:00
Alexandre Derumier
b1f72af6d4
add pci multifunction unbind support
...
we need to unbind each functions of a multifunction pci device
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2014-06-25 09:30:01 +02:00
Alexandre Derumier
4543ecf07f
add pci multifunction support
...
multifunction device should be define without the .function
hostpci0: 00:00
example
-------
if 00:00.0
00:00.1
00:00.2
exists,
then we generate the multifunction devices
-device (pci-assign|vfio-pci),host=00:00.0,id=hostpci0.0,bus=...,addr=0x0.0,multifunction=on
-device (pci-assign|vfio-pci),host=00:00.1,id=hostpci0.1,bus=...,addr=0x0.1
-device (pci-assign|vfio-pci),host=00:00.2,id=hostpci0.2,bus=...,addr=0x0.2
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2014-06-25 09:29:53 +02:00
Alexandre Derumier
2e3b7e2a3a
add pcie and x-vga passthrough
...
hostpci0: .....,x-vga=on,pcie=1
x-vga require kernel 3.10 with vfio-vga support enable
if x-vga=on, we force vfio-pci device
pcie=1 choose the pciexpress bus (need q35 machine model)
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2014-06-25 09:29:10 +02:00
Dietmar Maurer
7786f1b0b4
vncproxy: add check if VM is running
...
To provide better eror message for console task.
2014-06-25 07:20:23 +02:00
Dietmar Maurer
6e0d60e4e0
bump version to 3.1-21
2014-06-24 17:43:54 +02:00
Dietmar Maurer
c422ce9347
protect websocket API with vncticket
2014-06-24 16:10:30 +02:00
Dietmar Maurer
4d00f52fbb
fix a typo
2014-06-24 07:44:17 +02:00
Dietmar Maurer
86888ff388
bump version to 3.1-20
2014-06-18 12:46:02 +02:00
Dietmar Maurer
5b25afb0b7
vncwebsocket: do not proxy connection
2014-06-18 12:44:46 +02:00
Dietmar Maurer
d7b10d8819
bump version to 3.1-19
2014-06-18 11:05:05 +02:00
Dietmar Maurer
3e7567e05e
do not use novnc wsproxy
...
Instead, we use new HTTPServer features.
2014-06-18 11:02:57 +02:00
Stefan Priebe
000fc0a254
added support for vfio-pci passthrough
...
Signed-off-by: Stefan Priebe <s.priebe@profihost.ag>
2014-06-18 07:03:09 +02:00
Dietmar Maurer
db656e5f24
cleanup previous patch
2014-06-18 06:54:45 +02:00
Alexandre Derumier
f8e83f0548
enable q35 machine support
...
q35 use pcie.0 root by default. so currently we can't start machine model q35.
we need to add 3 pci-bridge pci.0, pci.1, pci.2, to handle our devices.
pcie.0 does not support hotplug. so pci-bridge are defined at startup.
I use an pve-q35.cfg (mostly the same than q35-chipset.cfg from qemu docs).
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2014-06-18 06:03:53 +02:00
Dietmar Maurer
6d33c863b4
bump version to 3.1-18
2014-06-17 09:00:24 +02:00
Alexandre Derumier
985a5f483d
migration : add setup state
...
since qemu 1.5, they are a new migration state : "setup"
it's mainly use for rdma migration, but slow vm can it see and hang on migration
http://git.qemu.org/?p=qemu.git;a=commit;h=3b6959506831193f37cc830c8e111b437c0d1380
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2014-06-17 08:57:31 +02:00
Dietmar Maurer
53fc9f1e98
depend on novnc-pve
2014-06-17 08:54:23 +02:00
Dietmar Maurer
983d458216
cleanup VNC websocket patch
...
Pass ticket via ENV{LC_PVE_TICKET} to vncproxy. Also remove 'unsecure' option, because
this is implied if we want a websocket connection.
2014-06-17 08:06:32 +02:00
Stefan Priebe
b4d5c00063
API2/Qemu: add unsecure and websocket options to vncpoxy also set qemu vnc server properties on the fly
...
Signed-off-by: Stefan Priebe <s.priebe@profihost.ag>
2014-06-17 08:05:28 +02:00
Alexandre Derumier
a9410357d2
add virtio-net multiqueue support
...
this a new option queue=(\d+) to net interface
Allow to use more than 1 cpu for network stream, so this can improve network bandwidth,
when vhost-net cpu is the bottleneck
http://www.linux-kvm.org/page/Multiqueue#Enable_MQ_feature
-netdev tap,vhost=on,queues=N -device virtio-net-pci,mq=on,vectors=2N+2
host requirement
----------------
this require host kernel >= 3.8 (or qemu die at start)
linux guest requirement
-----------------------
kernel >= 3.8
manual enabling multiqueue
windows guest requierement
--------------------------
recent virtio-net driver
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2014-06-11 09:22:01 +02:00
Dietmar Maurer
5881b913c0
add option iscsi only once
...
We simply add option iscsi if we have an initiator name. So we
never add this option multiple times, and it works with hotplug
in case someone plugs an 'iscsi:' drive later.
2014-05-17 09:14:58 +02:00
Dietmar Maurer
46f58b5f03
cleanup previous commit - use IO::File
2014-05-17 09:07:18 +02:00
Michael Rasmussen
15b21acc0d
add initiator-name to iscsi drives if configured
...
Signed-off-by: Michael Rasmussen <mir@datanom.net>
2014-05-17 08:42:54 +02:00
Alexandre Derumier
28138e9a1b
print_net : add firewall option
...
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2014-05-09 11:52:15 +02:00
Dietmar Maurer
8cd00f4b24
do not ignore errors on tap_unplug
2014-05-08 15:45:25 +02:00
Alexandre Derumier
011c581720
add pve-bridgedown script
...
This allow to delete fwbr bridge, link interfaces, cleanup ovs
when vm is shutdown
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2014-05-08 08:37:04 +02:00
Alexandre Derumier
2dd4aa4c95
add firewall option to qemu network interface
...
this allow to disable firewall for a specific interface
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2014-05-08 08:35:37 +02:00
Dietmar Maurer
cb33e6d6ba
bump version to 3.1-17
2014-05-06 11:28:42 +02:00