Commit Graph

3815 Commits

Author SHA1 Message Date
Cole Robinson
69015c048f addstorage: Fix check VM path collision 2014-02-04 17:39:44 -05:00
Cole Robinson
b2b0ac0cc2 details: Fix regression in 'customize before install'
char target_port isn't available before we've installed the guest
2014-02-04 17:32:46 -05:00
Cole Robinson
6f93d3decf Use .qcow2 extension when creating qcow2 files
Seems the be the practice these days
2014-02-04 17:30:24 -05:00
Cole Robinson
4e4fb15a2f virt-*: Drop all --prompt handling
This stuff is not very helpful and a pain to maintain. Let's drop it once
and for all. We still accept the CLI options and log a warning so people
hopefully take the hint.
2014-02-04 17:01:27 -05:00
Cole Robinson
fadc47449c details: Simplify 'Redirect USB device' tooltip 2014-02-04 15:27:56 -05:00
Cole Robinson
8618a3abd7 prefs: Add 'Add SPICE USB redirection' option, enable it
For qemu guests that are using spice, add 4 redirdevs so USB redirection
happens for free. This can be disabled in the preferences dialog.
2014-02-04 15:27:56 -05:00
Cole Robinson
2cf1901286 virt-manager: Don't make --spice-disable-auto-usbredir permanent
Not sure why it worked this way, but it shouldn't touch gsettings
2014-02-04 15:27:56 -05:00
Chen Hanxiao
163bcf4ff3 man: add virt-xml examples for changing startup policy and IO mode of disks
Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
2014-02-05 00:24:32 +08:00
Chen Hanxiao
d0001cff89 details: fix a small typo
s/editted/edited

Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
2014-02-04 20:03:52 +08:00
Chen Hanxiao
f0fb4ca204 details: show port number for console device in hwlist
We could see more than one console devices
in hwlist because of multi console support.
This patch will show port number of console device
in hwlist.

Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
2014-02-04 10:30:12 +08:00
Cole Robinson
e0103286bd devicedisk: Short circuit path_exists(None) 2014-02-03 16:43:25 -05:00
Cole Robinson
8917445e32 Fix tests with latest libvirt 2014-02-03 16:08:34 -05:00
Cole Robinson
02402fcc0a Fix some pylint 2014-02-03 16:00:03 -05:00
Cole Robinson
35d06e668a setup: Add tests --regenerate-output
Static variable is too dangerous (notice I forgot to unset it with a
recent commit)
2014-02-03 15:55:20 -05:00
Cole Robinson
cac593da8f storage: Use qcow2 lazy_refcounts if supported 2014-02-03 15:55:20 -05:00
Cole Robinson
1ab206a3eb virt-manager: create: Disable s3/s4 by default (bz 1044145)
I don't think most virt-manager users want this enabled, since it can
make the shutdown button cause a VM suspend. If people complain we can
provide a Preference or UI in the boot screen to undo it.
2014-02-03 14:22:15 -05:00
Cole Robinson
156a2a1dcb cli: Clarify a translation string 2014-02-03 11:21:16 -05:00
Cole Robinson
0654784643 virt-install: Add --pm option 2014-02-03 11:11:38 -05:00
Cole Robinson
4fbee9aa41 cli: Make --cpu host-model and --cpu host-passthrough work 2014-02-03 11:11:38 -05:00
Chen Hanxiao
48eece46a7 man: fix a typo in virt-manager man page
s/backround/background

Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
2014-02-03 21:50:35 +08:00
Chen Hanxiao
ad05b19f20 If we use "--boot init=INITPATH" style to set
container's init, virt-install will complain:

"ERROR    Install methods (--location URL,
--cdrom CD/ISO, --pxe, --import, --boot hd|cdrom|...)
cannot be specified for container guests"

This patch will fix this bug.

Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
2014-02-03 19:03:21 +08:00
Cole Robinson
4ade419002 virt-clone: Fix typo 2014-02-02 15:36:33 -05:00
Cole Robinson
95575aa5c7 virt-install: Add lots of warnings if --nographics won't work 2014-02-02 15:34:32 -05:00
Cole Robinson
66d9cdbe22 tests: Strip beginning lines from diff output to not conflict so much 2014-02-02 13:44:20 -05:00
Cole Robinson
bce8ee942d Fix some pylint 2014-02-01 19:47:31 -05:00
Cole Robinson
5bff23758c connect: Add an option for qemu:///session (bz 557103)
But warn that it may not function like users expect.
2014-02-01 19:44:27 -05:00
Cole Robinson
032dd0cf21 clone: Show destination host if on a remote connection (bz 881099) 2014-02-01 18:59:10 -05:00
Cole Robinson
d3bd70daca migrate: Remove misleading 'offline' option (bz 881092)
We acted like it would migrate a shutoff VM, but it just toggled
the LIVE flag. We should support true 'offline' migration, but
the UI will be different.
2014-02-01 18:17:17 -05:00
Cole Robinson
99d80ccdb2 details: Fix cpu model sorting 2014-02-01 16:36:40 -05:00
Cole Robinson
37122dbc20 clone: Mention virt-sysprep everywhere (bz 878170, bz 912993) 2014-02-01 15:20:37 -05:00
Cole Robinson
6638587077 clitest: Don't needlessly deviate default_bridge from test infra 2014-02-01 14:19:37 -05:00
Cole Robinson
184fe3fdb1 clitest: Make it easier to filter prompt tests 2014-02-01 14:17:03 -05:00
Cole Robinson
7057afba56 manager: Add File->New Virtual Machine (bz 871682) 2014-02-01 13:36:02 -05:00
Cole Robinson
ba0c84ec76 storagebrowse: Add pool refresh and vol delete options (bz 841715) 2014-02-01 13:31:29 -05:00
Cole Robinson
09390b8151 snapshots: Show indication of the 'current' snapshot (bz 1017385) 2014-02-01 11:25:35 -05:00
Cole Robinson
fa6fedd959 engine: Serialize connection autostart (bz 749750)
So polkit/openssh-askpass doesn't spam us
2014-02-01 10:44:45 -05:00
Cole Robinson
a0bcaf55d9 testdriver: Add startupPolicy example 2014-02-01 09:51:08 -05:00
Cole Robinson
85aa1e744b connect: Only connect to avahi once (bz 789907) 2014-02-01 09:39:52 -05:00
Cole Robinson
f4bc4a35a2 details: enforce relationship between cpu topology and maxvcpus (bz 708892) 2014-02-01 09:14:55 -05:00
Cole Robinson
4ce356985a util: Relax name validation (bz 917444)
Warn about common cases like spaces in name, and let libvirt error on
the rest.
2014-02-01 08:37:28 -05:00
Cole Robinson
17c0ae3a3c domain: Reset net/disk skip lists when VM is inactive (bz 796092)
Racey shutdown can mean we try to poll disk stats at a time when
it won't work. Resetting the lists give things a chance to work
correctly when the VM is rebooted.
2014-02-01 08:15:24 -05:00
Cole Robinson
24c1c5a2bd cli: --network: Support driver_queues option 2014-02-01 07:48:04 -05:00
Cole Robinson
34e2ca8389 cli: --network: Wire up virtualport options 2014-01-31 16:51:02 -05:00
Cole Robinson
b12f06b84b cli: --disk: Add iotune paramters 2014-01-31 15:38:39 -05:00
Cole Robinson
427400d3f3 virtinst: cpu: Reorder feature bits to match libvirt XML order 2014-01-31 13:44:50 -05:00
Cole Robinson
90c9b3ca2e details: Reword the CPU model UI a bit more
- Add options in the model drop down for clear, hvdefault, and app default
- Make 'copy host' a check box, when enabled it hides the model dropdown
- Detect if the VM CPU is a copy of the host CPU
- Undocumented bit that allows passing in host-model/host-passthrough
    to the model field for people that really want those settings.
2014-01-31 13:40:09 -05:00
Cole Robinson
021ffd17e2 domain: Stop using UPDATE_CPU xml flag
Now that feature UI is gone, it doesn't do us any good. And actually
can cause issues if changing from host-model to a static model.
2014-01-31 10:48:45 -05:00
Cole Robinson
c85e8d84d0 details: Remove explicit CPU feature UI
Not too useful, and makes things difficult for us.
2014-01-31 10:43:56 -05:00
Cole Robinson
bff94f2365 console: Support spice 'resize-guest' (bz 754559)
This will auto change the guest resolution to match the window size.
Off by default, can be enabled like scaling preferences.
2014-01-31 10:08:18 -05:00
Cole Robinson
382543e15f console: Clean up scaling function names 2014-01-30 19:15:02 -05:00