Commit Graph

3631 Commits

Author SHA1 Message Date
Chen Hanxiao dbfa8166b1 virt-xml: fix a terminal_width depends issue
One of virt-xml test case will output logs by
urlgrabber.process, which will get the real width of
terminals.
If we resize terminal, of who is running test, from
80 to other size, test case will fail.
This patch will screen it when running test case.

Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
2014-02-07 23:05:41 +08:00
Giuseppe Scrivano 74463e394e tests: fix tests suite with the last libvirt version
commit 499cb63f65 broke the test suite
with the last version of libvirt.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2014-02-07 00:04:20 +01:00
Giuseppe Scrivano 499cb63f65 doc: remove reference to SDL from virt-install man page
Adjust some tests to not use --graphics sdl.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2014-02-06 16:20:12 +01:00
Chen Hanxiao 3be9dd3eb3 virt-install: Add --blkiotune option
This patch provides the ability to
tune Blkio cgroup tunable parameters for the domain.

Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
2014-02-06 22:41:00 +08:00
Chen Hanxiao c23de0b181 virtinst: drop parameter guest in convert_old_networks
We do not use this paramter any more since commit:
46d3e0041a.
So drop it.

Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
2014-02-06 22:33:00 +08:00
Cole Robinson a8dd7bd213 util: Fix validate_name error reporting 2014-02-05 19:02:42 -05:00
Cole Robinson dff14ea12b tests: Use consistent predictable URIs 2014-02-05 19:02:42 -05:00
Cole Robinson 46d3e0041a deviceinterface: Absorb cli 'default source' logic 2014-02-05 19:02:42 -05:00
Cole Robinson 6fdc2f6d16 details: Tweak label of usb redirdev 2014-02-05 14:27:46 -05:00
Cole Robinson 76ec8680bd netlist: Make sure to disconnect all signal handlers 2014-02-05 14:25:13 -05:00
Cole Robinson 404b5dedc2 create: Don't log inaccurate 'close' message 2014-02-05 14:25:01 -05:00
Cole Robinson c37d0db001 create: Drop unused property 2014-02-05 14:24:44 -05:00
Cole Robinson f5c32063e4 wip 2014-02-05 14:09:05 -05:00
Cole Robinson 7a825d9a28 virt-install: Add usbredir channels by default if using spice
Can be disabled with --redirdev none
2014-02-05 13:07:01 -05:00
Cole Robinson f635187bb8 virt-install: If using spice graphics, add <sound> by default
Can be disabled with --sound none
2014-02-05 12:51:27 -05:00
Cole Robinson e70ab961f9 virt-install: Switch back to using --sound argument
Since argparse allows optional arguments, we can back compat handle the
original boolean --sound option. This is nicer than using an option
named --soundhw
2014-02-05 12:41:34 -05:00
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