IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an
email to Administrator. User accounts are meant only to access repo
and report issues and/or generate pull requests.
This is a purpose-specific Git hosting for
BaseALT
projects. Thank you for your understanding!
Только зарегистрированные пользователи имеют доступ к сервису!
Для получения аккаунта, обратитесь к администратору.
This patch adds and fixes test cases for cpu mode attribute.
Signed-off-by: Ken ICHIKAWA <ichikawa.ken@jp.fujitsu.com>
Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
(crobinso: Minor rebase tweaks)
With this patch, users can use cpu host-passthrough like this:
virt-install --cpu host-passthrough ...
Signed-off-by: Ken ICHIKAWA <ichikawa.ken@jp.fujitsu.com>
Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
(crobinso: Add Hu Tao to AUTHORS)
Triggered with virt-manager: new vm -> customize before install with a
non qemu. Guest.get_xml_config copies each device so it can set defaults
in a non persistent way. Unfortunately VirtualGraphics was copied before
a keymap lookup was ever done. End result was that we called
util.default_keymap over and over which is slow and floods the logs.
There a some problems with autobuild.sh and this patch addresses
them:
1. "python setup.py install" needs to use --root= instead
of --prefix=
2. For the rpmbuild, use dist/*.tar.gz instead of *.tar.gz
3. Add "export AUTOBUILD_OVERRIDE_VERSION=y" so that if
the version-id changes are applied, a simpler version-id
is used for autobuild.
4. Assume tests are fixed and enable running
"python setup.py test"
.
Signed-off-by: Gene Czarcinski <gene@czarc.net>
With no MANIFEST.in, distutils/setup/sdist gets the filelist
mostly correct except that it adds in whatever is in the
top directory. Using git-ls-files is not a good solution
either because a number of additional files (not git
managed) will be needed.
The solution is to use a MANIFEST.in. All of the
toplevel files which are to be included will need to be
specified. Also, each directory will need to be specified
and unwanted files (e.g., *.pyc) excluded. Other (non-specified)
files and directories will be ignored.
.
Signed-off-by: Gene Czarcinski <gene@czarc.net>
In order to fix last tests that fail for me, I had to modify the
output xml, both modified machines will fit in the first numa node, so
the cpus from that node should be mentioned in the xml and that lead
me to the fact that the problem was in the test xml and not the code.
Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
For <hostdev> element, mode="capabilities" is used only for
block/character device passthrough and thus it fails with pci
passthrough.
Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
After commit 590c8dbebfddb71874de7a98e579264ebae6859f, the tests got
broken due to the fact that the commit broke something that was
working. I'm changing the error to warning and fixing the tests.
Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
Notice the missing - in -vcpus. It maps to
--hvm --cdrom pus
If the user also specifies --paravirt, they get an error that hvm and
paravirt conflict, which is very confusing.
There isn't a nice way to catch this issue which isn't back compatible,
so scrape the raw argv and try to figure it out.