search for: maxvcpus

Displaying 20 results from an estimated 34 matches for "maxvcpus".

Did you mean: max_cpus
2014 Nov 20
2
maxvcpus
...t. I looked into the implementation and now I understand that each driver returns different values, but I do not understand the constants. Can you guys give me some hints how should I understand the output of the command? Best regards, Laszlo [1] : http://libvirt.org/sources/virshcmdref/html/sect-maxvcpus.html -- EOF
2012 May 04
1
maxvcpu
hi, i am trying to find out the max vcpus supported for any domain by my hypervisor, however i am having some trouble with the below: vcpu=5 maxvcpus=libvirt.virConnect.getMaxVcpus(conn,'kqemu') if maxvcpus <= vcpu: logging.debug('checkmaxvcpus: max vcpus on hypervisor %i is less than requested vcpu of %i' % (maxvcpus, vcpu)) return 0 else: return 1 http://libvirt.org/html/libvirt-libvirt.html#virConnectGetMaxVcpus says that...
2010 Sep 02
0
[PATCH] xl: parse the maxvcpus config file parameter
xl: parse the maxvcpus config file parameter Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> diff -r 6d605ec6bcd8 tools/libxl/xl_cmdimpl.c --- a/tools/libxl/xl_cmdimpl.c Thu Sep 02 12:38:13 2010 +0100 +++ b/tools/libxl/xl_cmdimpl.c Thu Sep 02 14:15:08 2010 +0100 @@ -687,6 +687,9 @@ static voi...
2014 Nov 20
0
Re: maxvcpus
...mer involves KVM in kernel and thus has some limitation on maximal number of machines (inherited from KVM limitation). So, unless you specify which virt type you want to use, libvirt blindly returns 16 (arbitrary meaningless value). But if you specify kvm you'll get sensible value: virsh # maxvcpus 16 virsh # maxvcpus --type kvm 255 Hope this shed more light in. Michal
2012 Nov 16
3
How to activate all VPCUS for a domU?
Hi, I have set maxvcpus and vcpus options in my domU configuration file, and I can see that X number of vcpu are set for the domU. I tried to activate all the vpcus by using vpcu_avail option (using decimal to represent vpcu bitmask e.g. 24=11000) but it doesn''t seem to work, and only the first vpcu is activated...
2012 Nov 16
3
How to activate all VPCUS for a domU?
Hi, I have set maxvcpus and vcpus options in my domU configuration file, and I can see that X number of vcpu are set for the domU. I tried to activate all the vpcus by using vpcu_avail option (using decimal to represent vpcu bitmask e.g. 24=11000) but it doesn''t seem to work, and only the first vpcu is activated...
2013 May 13
11
[PATCH] Fix QEMU HVM hotplug race in QEMU traditional (Xen 4.1, Xen 4.2, and Xen 4.3) (v1).
...ase see this thread: http://lists.xen.org/archives/html/xen-devel/2013-05/msg01053.html for the debug patches and some of the discussion. These three patches fix an race that has been in QEMU traditional for a long time. The guts of the bug is that if you have a guest with these options: vcpus=1 maxvcpus=32 and do ''xl vcpu-set <guest> 32'' the guest OS only seems to hotplug 13 or 14 of the vCPUs. To hotplug the rest I have to play games by offlining/onlining arbitrary number of them. Or I can do ''xl vcpu-set <guest> 8'', then ''16'',...
2012 Jun 28
2
How does libvirt interaction with KVM to create a VM?
All, These days I am trying to understand the interaction relationship between the libvirt and KVM kernel module, eg. kvm_intel.ko. We know that KVM kernel module expose an entry in form of device file "/dev/kvm" which can be accessed by user space application to control, for example, create a VM using KVM_CREATE_VM with help of ioctl. Now let's say the tool virsh based upon
2012 Nov 06
1
virt-install kickstart local file
...the basic command: virt-install \ --accelerate \ --cdrom /tools/iso/CentOS-6.3-x86_64-bin-DVD1.iso \ --disk device=disk,path="/var/lib/libvirt/images/myguest.img" \ --graphics vnc \ --name myguest \ --os-type linux \ --os-variant rhel6 \ --ram 2048 \ --vpcus 1,maxvcpus=4 \ --initrd-inject "/tmp" \ --extra-args "ks=file:/myks.cfg" Why do I need the location? I thought that was only used when installatiing from a distribution tree. I am using a DVD ISO image. If I have to use it, how would I specify it? If this approach won't work, I...
2010 May 09
2
/usr/lib/xen/bin/qemu-dm: invalid option -- ''-vcpu_avail''
Hi, I''m trying to build a xen-qemu-dm-4.0 package to support the HVM part of the Xen 4.0 package that will be soon in Debian experimental. When I start an HVM domain, I have the following subject line of this thread in my /var/log/xen/qemu-dm-XXXX.log file, and then it stops here. Any idea what I should do to fix? Thomas P.S: my build is using a clone of
2012 Dec 24
3
(updated) test report for xen-unstable tree with upstream QEMU
..._Upstream test tree: xen-unstable-tree.hg: C/S 26193 (about 20 days ago) qemu.git: commit e9bff10f8db (about 20 days ago) Dom0: Linux 3.6.9 release version. test machine: Intel Westmere-EP and SandyBridge-EP systems. new bugs (which don''t exist with qemu-xen-unstable tree): 1. ''maxvcpus=NUM'' item is not supported in upstream QEMU http://bugzilla.xen.org/bugzilla/show_bug.cgi?id=1837 -- This blocked vCPU hot-plug for HVM guest. 2. Guest console hangs after save/restore or live-migration when setting ''hpet=0'' in guest config file http://bugzilla.xen....
2012 Aug 06
1
Xen4.2-rc1 test result
...T, IVB new features, HSW new features. We covered many cases for HVM guests (both Redhat Linux and MS Windows guest). We tested on Westmere-EP, SandyBridge-EP, IvyBridge desktop, and Haswell hardware platforms. We found no new issues, and verified 1 fixed bug. Fixed bug (1): 1. parameter ''maxvcpus'' causes hvm guest boots up with wrong vcpu number http://bugzilla.xen.org/bugzilla/show_bug.cgi?id=1825 -- Fixed by Yang from Intel. The following are some of the old issues which we guess are something important. Some of the old issues: 1. long stop during the guest boot process (too slo...
2011 Aug 10
1
Problems setting up a VM ....
...e command line. I had a couple of abortive attempts at setup, which got as far as initializing my disk storage for the VM, then the following: [root at Q6600:/etc, Sun Aug 07, 05:08 PM] 1339 # virt-install -n CentOS-5.6-64bitVM -r 2048 --arch=x86_64 --cpu core2duo,disable=vmx --vcpus=1,maxvcpus=1,sockets=1,cores=2,threads=1 --os-type=linux --os-variant=rhel5 --disk path=/home/VMs/CentOS.5.6-64bit-VM/disk.img,size=50 --cdrom /home/ISOs/CentOS-5.6/64bit/CentOS-5.6-x86_64-bin-DVD-1of2.iso --autostart --prompt This will overwrite the existing path '/home/VMs/CentOS.5.6-64bit-VM...
2013 May 14
4
[PATCH] qemu-traditional - ACPI vCPU hotplug fixes for Xen 4.3 (v2).
Please see the three patches that fix the ACPI AML and QEMU race. They have been Ack-ed by both George (for inclusion in Xen 4.3) and by Stefano. They should be candidates for back-port in older hypervisors. Konrad Rzeszutek Wilk (3): piix4acpi, xen, vcpu hotplug: Split the notification from the changes. piix4acpi, xen: Clarify that the qemu_set_irq calls just do an IRQ pulse.
2011 Jan 03
1
availability of snapshots functionality via Python bindings
...dule__', '_conn', '_o', 'attachDevice', 'autostart', 'blockPeek', 'blockStats', 'connect', 'coreDump', 'create', 'destroy', 'detachDevice', 'info', 'interfaceStats', 'maxMemory', 'maxVcpus', 'memoryPeek', 'migrate', 'name', 'pinVcpu', 'reboot', 'resume', 'save', 'schedulerParameters', 'schedulerType', 'setAutostart', 'setMaxMemory', 'setMemory', 'setSchedulerParameters', 's...
2011 Feb 14
1
Use libvirt-python to attach cdrom
Hi all, I want to attach cdrom by libvirt.py .But can't find a func in libvirt.py can finish this work. Who can help me ? Regard -- Seven Ling E-mail: jiejie.ling at qq.com
2011 Aug 15
0
The saga continues ....
...has been undefined [root at Q6600:/etc, Mon Aug 15, 04:30 PM] 1167 # virsh list Id Name State ---------------------------------- [root at Q6600:/etc, Mon Aug 15, 04:31 PM] 1169 # virt-install -n CentOS-5.6-64bitVM -r 2048 --arch=x86_64 --cpu core2duo,disable=vmx --vcpus=2,maxvcpus=2,sockets=1,cores=2,threads=1 --os-type=linux --os-variant=rhel5 --import --disk path=/home/VMs/CentOS.5.6-64bit-VM/disk.img,format=raw --autostart --prompt This will overwrite the existing path '/home/VMs/CentOS.5.6-64bit-VM/disk.img' Do you really want to use this disk (yes or n...
2012 Nov 06
0
No driver found during virt-install / kickstart
...=================== virt-install \ --accelerate \ --location "/opt/mnt" \ --disk device=disk,path="/var/lib/libvirt/images/guest1.img" \ --graphics vnc \ --name "guest1" \ --os-type linux \ --os-variant rhel6 \ --ram 2048 \ --vcpus 2,maxvcpus=2 \ -v \ -w bridge:br0 \ -x 'ks=nfs:192.168.2.140:/export/tools/vm/guests/guest1-ks.cfg ksdevice=eth0 ip=192.168.2.82 netmask=255.255.255.0 dns=192.168.2.71,8.8.8.8 gateway=192.168.2.1' Regards, Joe
2017 Dec 14
1
Xen PV DomU running Kernel 4.14.5-1.el7.elrepo.x86_64: xl -v vcpu-set <domU> <val> triggers domU kernel WARNING, then domU becomes unresponsive
...p] RSP: ffffc90040387e10 [ 5.020854] CR2: 0000000000000010 [ 5.020856] ---[ end trace 9ce91afe6b362317 ]--- [ 5.020858] Kernel panic - not syncing: Fatal exception [ 5.020861] Kernel Offset: disabled -----CentOS 7----- For CentOS 7 I've also tried booting it using vcpus = 1 and no maxvcpus with the same outcome. Looks like 4.15-rc is a no go for me :) Cheers, --- Adi Pircalabu
2020 Oct 12
0
Re: Encrypting boot partition Libvirt not showing the OS booting up
...installation >>> >>> The domain xml file was created by virt-install with the following >>> command: >>> $ virsh destroy try01; virsh undefine try01; time virt-install >>> --name=try01 --ram=1024 --noreboot --cpuset=auto --cpu host >>> --vcpus=1,maxvcpus=4 --disk=path=/mnt/usbkey01/machines/try/try01,size=6 >>> --graphic none --pxe --os-variant=debian10 --network >>> bridge=br0,mac=0e:35:32:84:c3:f3 --filesystem >>> type=mount,mode=mapped,source=/mnt/usbkey01/public,target=public_dir >>> >>>>       b)...