jbjohnso
e24032c284
Have kvm update vm.memory if chvm is called
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16536 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-04 18:45:33 +00:00
jbjohnso
235e3e9d7f
Recognize some common variants on chvm
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16535 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-04 18:36:04 +00:00
jbjohnso
bbfe35a452
Serial console and vdagent support
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16507 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-31 18:47:53 +00:00
jbjohnso
5c3e7c96e7
Should someone decide to switch from generated to static password on vm(s), remove expiry if present
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16341 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-16 19:52:08 +00:00
jbjohnso
715e42d86c
Actually fix LVM with 6.4
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16144 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-30 19:48:57 +00:00
jbjohnso
ac4206007d
Fix problem with certain versions of libvirt and lvm storage
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16139 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-30 19:27:58 +00:00
jbjohnso
aca5b290c2
Correct syntax error
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15835 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-04 20:16:40 +00:00
jbjohnso
4a30157492
Apply methodology from previous commit to a number of other places
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15831 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-04 20:11:28 +00:00
jbjohnso
4337554e71
Correct Sys::Virt version check
...
Fix broken LVM behavior when faced with a pre-built LVM VG/PV (as reported by Michael Fenn)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15535 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-15 19:42:25 +00:00
jbjohnso
4b09b8f926
Fix bug with optional persistence where reset no longer survives
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15489 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-13 19:59:45 +00:00
jbjohnso
651e259871
Support site key "persistkvmguests"
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15272 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-27 19:14:36 +00:00
jbjohnso
f060cd13cf
Have kvm tolerate trailing / on vm.storage dir:// urls
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15040 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-01 21:31:08 +00:00
jbjohnso
625bbecc44
On rmvm, do not destroy CDs
...
On storage block device creation, disable cache for new disks but enable cache for non-detached qcow2 for read cache benefit at the host layer
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15022 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-30 19:37:33 +00:00
jbjohnso
ea6d9f7081
Have KVM storage support default to cache=none for now
...
Fix lvm to use raw rather than qcow2, since qcow2 makes no sense for LVM
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15019 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-30 16:09:18 +00:00
jbjohnso
4807663ce6
Have KVM support LVM volumes
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15018 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-30 16:02:09 +00:00
linggao
4ea6bae9a0
fixed a defect for chvm -a
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13874 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-21 16:52:13 +00:00
linggao
014006e510
multi vlan support for kvm
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13622 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-27 20:28:24 +00:00
zhaoertao
40e144b4cc
for item: clean up Utils.pm, the code in xCAT-server/lib/xcat/plugin/
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13467 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 04:07:40 +00:00
jbjohnso
1104bc50ca
Feed UUID little-endian style into libvirt so that it emerges on the other end consistent with SMBIOS 2.6/MS behavior
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11770 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-06 20:00:09 +00:00
jbjohnso
9d1f05f889
Fix kvm.pm not pulling in xCAT::Usage on its own
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11617 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-18 19:44:11 +00:00
jbjohnso
c74a8f5469
Allow admins to use more traditional passwords for vnc/spice if they so desire
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11579 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-15 14:47:14 +00:00
jbjohnso
6a7b71378e
Update kvm plugin to handle issues with later spice protocol and video ram
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11438 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-01-30 22:10:23 +00:00
daniceexi
652775d195
create vm will ignore to create network device when vm.nics is null
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10947 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-11-01 06:24:06 +00:00
jbjohnso
418a3b22f2
Have kvm rmigrate implement rmigrate -f in a way resembling vmware support
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10682 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-29 20:44:06 +00:00
jbjohnso
347b5878d2
Take opportunity of power reset to change virtual clock behavior if applicable
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10677 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-29 17:58:47 +00:00
jbjohnso
d56a999b4a
Dramatically speed up rmvm for lots of KVM virtual machines
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9915 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-23 13:58:40 +00:00
jbjohnso
ad93e349d9
Speed up mass-scale KVM VM adoption
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9914 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-23 13:44:24 +00:00
jbjohnso
f506499ae1
Strip out expensive cached XML data rettrieval if doing lsvm
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9900 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-22 19:07:40 +00:00
jbjohnso
8c14e5967d
Skip expensive table lookup for trivial lsvm case
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9898 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-22 17:44:07 +00:00
jbjohnso
6856e705db
Use XCATSITEVALS instead of slower table lookup
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9897 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-22 17:29:43 +00:00
jbjohnso
8a04a0ce40
-Reduce kvm supervisory process load by stopping what amounts to a busy wait when child is done sending messages up
...
-Eliminate call to create a new vm table object in kvm.pm, when it's usually not needed, move to create only when needed.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9896 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-22 15:23:06 +00:00
jbjohnso
0d60102d35
Better handle clonevm storage conflicts
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9723 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-31 20:52:03 +00:00
jbjohnso
a37ef4e722
Fix problem where storage conflict could hang mkvm
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9722 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-31 20:37:54 +00:00
jbjohnso
23699c150c
-Prevent emptical virtual optical drive from messing up rinv
...
-Honor vm.memory/vm.cpus changes on reset
-Implement chvm --mem to shrink memory on KVM guests (not guaranteed to be effective)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9721 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-31 20:29:59 +00:00
jbjohnso
d6174432d2
Fix remote video protocol fixup to work
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9596 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-13 14:28:19 +00:00
jbjohnso
cf27a3ae8d
Shorten validity of temporary video tokens for KVM
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9581 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-12 14:06:14 +00:00
jbjohnso
a6f4e35bb3
Fix wvid hang on KVM guests if guest is off
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9522 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-09 16:32:39 +00:00
jbjohnso
42b155260c
Fix kvm issues seen in 2.6.0 testing
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9504 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-06 14:22:18 +00:00
jbjohnso
f52224c4bb
Default to open ended listen with the password protection
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9483 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-03 19:54:08 +00:00
jbjohnso
18d4a1b0bc
ensure that video is never wide open
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9472 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-03 13:24:11 +00:00
jbjohnso
9b44d29b50
Copy in existing graphics device info as much as possible to avoid config
...
mismatch on temporary password change
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9471 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-03 13:21:18 +00:00
jbjohnso
2b5f46f583
Lengthen the password a tad
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9466 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-02 19:18:16 +00:00
jbjohnso
346557fb7c
Specify autoport on update to avoid angering the libvirt gods with kvm
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9465 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-02 19:14:39 +00:00
jbjohnso
0ecfd253eb
Don't try changing listen parameters on getrvidparms
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9464 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-02 19:10:54 +00:00
jbjohnso
279ab6c075
Stop updating vm table for now, data unusably instable
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9463 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-02 19:09:24 +00:00
jbjohnso
6ce2f057cb
Attempt to have a kvm VM protected from start by password on wvid
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9462 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-02 19:08:22 +00:00
jbjohnso
568137b2ca
Attempt to secure wvid with temporary passwords
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9461 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-02 19:06:50 +00:00
jbjohnso
efa0d66e71
Add audio and autoport to KVM guests
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9458 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-02 18:11:00 +00:00
jbjohnso
3e9de10d4a
Correct syntax error
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9456 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-02 15:06:16 +00:00
jbjohnso
539282a4d2
Fix offline update of optical media in KVM
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9455 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-02 15:02:34 +00:00