Chen Hanxiao
020957c756
cli: fix a tiny typo
...
s/./:
Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
2014-02-11 22:08:55 +08:00
Cole Robinson
21fb072d4a
virt-install: Default to qcow2 for new images
...
Following along with virt-manager's change. It has all the features and
good enough performace, and is easy enough to override for people that
care.
2014-02-10 18:47:58 -05:00
Cole Robinson
cdd9dbe7fc
cli: Add simple mode --disk size=X
...
Works the same as pool=default, we generate a disk image path and
create it in the default pool.
2014-02-10 18:34:44 -05:00
Cole Robinson
7bff99f853
cli: Use correct file extension for --disk pool=FOO
2014-02-10 18:27:06 -05:00
Cole Robinson
ac6706208d
cli: Shorten some long --help examples
2014-02-10 18:13:42 -05:00
Cole Robinson
d0f44491ff
cli: Warn if disk path isn't searchable by qemu
2014-02-10 18:09:15 -05:00
Cole Robinson
9fe79627c1
support: Clarify docs and some parameter names
2014-02-10 17:12:24 -05:00
Cole Robinson
43bb559a30
support: Break out function checker
2014-02-10 17:02:22 -05:00
Cole Robinson
4788499bbd
support: Take version strings in support declarations
2014-02-10 16:53:47 -05:00
Cole Robinson
a98505e691
support: Error if registered version is too old to confirm
2014-02-10 16:37:17 -05:00
Cole Robinson
19a72a4881
support: Remove negative version handling
...
We can do it in other ways
2014-02-10 16:14:39 -05:00
Cole Robinson
96bbfebe5b
support: Use dictionary for driver version checks
2014-02-10 16:05:17 -05:00
Cole Robinson
cd0ab0d217
virt-image: Print warning that it is planned for removal
2014-02-10 15:24:12 -05:00
Cole Robinson
f6de5331ba
prefs: Disable memory polling by default
...
This path hits the qemu monitor, and leads to the virt-manager UI being
locked up when performing asynchronous tasks like creating a snapshot.
So make it opt in for people that want it.
2014-02-10 15:14:10 -05:00
Cole Robinson
94b7c124f6
details: stats: Report if memory polling is disabled
2014-02-10 15:13:31 -05:00
Cole Robinson
a411a98cc7
man: virt-install: Clarify docs after auto-storage work
2014-02-10 14:50:59 -05:00
Cole Robinson
d76aab264e
tests: Only use one env variable to notify we are running tests
2014-02-10 14:47:20 -05:00
Cole Robinson
82754ddc84
Expose hostdev rombar in UI and cli (bz 768857)
2014-02-10 14:25:23 -05:00
Cole Robinson
2ea6b7e35d
addhw: Make hostdev list a bit wider
2014-02-10 14:04:35 -05:00
Cole Robinson
4a006b5ff8
details: Expose fine grained boot config
...
Basically put an explicit device list in the boot UI, if the hypervisor
supports it. For unsupported hv, use the same old disk/cd/floppy/net UI.
2014-02-10 13:34:17 -05:00
Cole Robinson
8577bdf386
details: Break out icon and label helpers for each device
2014-02-09 15:20:41 -05:00
Cole Robinson
719f23a273
cli: Support per-device <boot order=>
2014-02-09 14:07:27 -05:00
Chen Hanxiao
fcac052cdc
virt-install: add support for user namespace
...
This patch will enable configuring idmap.
It could be used as enable user namespace
for LXC containers.
Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
2014-02-09 13:16:34 -05:00
Chen Hanxiao
e067051287
test: fix some test suites
...
commit:
67743cbe31
c5f6c6852a
and
98ea4cdad2
break some test suites.
Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
2014-02-09 08:38:56 -05:00
Chen Hanxiao
2fee95c704
man: fix typos in virt-xml man page
...
s/unsed/used
s/Propertys/Properties
Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
2014-02-09 21:12:33 +08:00
Cole Robinson
98ea4cdad2
Reduce test suites clear_cache calls
2014-02-08 19:28:56 -05:00
Cole Robinson
c5f6c6852a
VirtualDisk: Always use storage APIs for provisioning
...
This means if we are passed an unmanaged path, we try to create a
storage pool for the parent directory.
We skip directories like /dev where doing this might be problematic.
This makes things much friendlier to use for remote connections, and
means we can always rely on having libvirt's storage APIs to use
for format probing.
2014-02-08 19:24:14 -05:00
Cole Robinson
67743cbe31
storage: Only try lazy_refcounts with format=qcow2
2014-02-08 19:24:13 -05:00
Chen Hanxiao
de21747dbb
virt-convert: fix a small pylint
...
s/desc =_/desc = _/
Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
2014-02-08 23:30:53 +08:00
Kristóf Marussy
256052d389
console: Improve resize-guest when scaling is enabled
2014-02-08 10:14:50 -05:00
Cole Robinson
0b4a72fd77
virt-convert: Reimplement it
...
We totally break CLI compat here, but the previous tool wasn't sustainable.
Instead, repurpose the tool as strictly converting external formats
like ovf/vmx to native libvirt XML, and launch the guest.
So we drop vmx/virt-image output, and virt-image input, and a slew of
command line options. I don't think anyone was depending on this in a
scripted fashion, so in practice I don't think anyone will care.
Add much more comprehensive unit tests while we are at it.
2014-02-07 21:16:09 -05:00
Cole Robinson
2ffd5a66e6
guest: Add single entry point for adding default devices
2014-02-07 16:07:32 -05:00
Chen Hanxiao
96c260199d
man: a proper example for blkiotune
...
Parameter device_path should be block device rather than
files.
Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
2014-02-08 00:00:08 +08:00
Chen Hanxiao
5a097183a9
test: add more test cases for option --blkiotune
...
Add additional test cases for option --blkiotune.
Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
2014-02-07 23:12:54 +08:00
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