Displaying 20 results from an estimated 3000 matches similar to: "how to modify virsh vm start script"
2014 Nov 25
0
Re: how to modify virsh vm start script
On Tue, Nov 25, 2014 at 12:46:41PM +0900, Ady Wahyudi Paundu wrote:
>I use libvirt to manage a QEMU/KVM system. Starting a VM only by using
> > virsh start vmname
>What I want to know is how to add an option to virsh vm's start
>script, in my case I want to add QEMU logging option (-d and -D). I
>can see from
> > ps aux | grep qemu
>that current VM started using
2014 Aug 19
2
disable-ticketing
hi...
where usually disable-ticketing is avaliable in vm xml ????
i use this command virsh edit vmname
and i can edit any options and added but when add this option to <graphics>
as example : <graphics disable-ticketing='yes'> or
<graphics>
<disable-ticketing />
</graphics>
nothing happened the file return to first status only this option ...
if i add
2012 Aug 24
1
Does libvirt abstract each and any vm specific command?
Hello,
my project still uses VBoxManage but I am inclined to switch to
libvirt, if possible, because I like the concept.
Some rather unusual commands are used by my project...
VBoxManage modifyvm "$VMNAME" --synthcpu on
VBoxManage setextradata "$VMNAME"
"VBoxInternal/Devices/VMMDev/0/Config/GetHostTimeDisabled" "1"
VBoxManage modifyvm "$VMNAME"
2019 Feb 21
1
Re: virsh confirmed edits do not persist
Thanks Ján!
>What were the exact changes you were trying to make?
I was following this guide:
https://wiki.archlinux.org/index.php/PCI_passthrough_via_OVMF#Passing_keyboard/mouse_via_Evdev
Specifically, I was updating the domain tag to include `xmlns:qemu='
http://libvirt.org/schemas/domain/qemu/1.0'`
>both call virDomainDefineXMLFlags under the hood.
That is good to know,
2009 Nov 13
3
Virsh shutdown all command?
Hello:
Is there a command in virsh to shutdown all domains?
I can do one at a time, but that is untenable for a large
number of domains.
Thanks,
Neil
--
Neil Aggarwal, (281)846-8957, http://UnmeteredVPS.net
CentOS 5.4 VPS with unmetered bandwidth only $25/month!
7 day no risk trial, Google Checkout accepted
2013 Mar 14
1
[virt-tools-list] C'ant migrate with virt-manager or virsh
On 03/14/2013 03:17 AM, Digvijay wrote:
> [root at node0 ~]# virsh migrate --live try1 qemu+ssh://root at 100.100.102.106/system
> --unsafe
> root at 100.100.102.106's password:
> error: operation failed: migration job: unexpectedly failed
> error: Reconnected to the hypervisor
>
CC-ing libvirt-users
I think that virsh command should work. Look at
2019 Oct 22
2
Reg: Adding "edu" device using XML file
Hi Team,
I am exploring "edu" device in QEMU to add my own custom device. I am able
to add the device using the command line. Would it be possible to add the
device using XML file through libvirt?
--
Regards,
Bharath
2011 Oct 07
2
Libvirt newbie, need help with doubts
Hi,
These are my doubts:
1. I tried live migration of Ubuntu 11.04 from the one physical machine to
another using the migrate() function. I connected via tcp in the destination
URI and migrated successfully(lesser than 2 seconds). I tried running virsh
list --all on the destination PM and confirmed that the VM had been migrated
successfully.
When I tried checking ps aux | grep vmname where
2015 Oct 29
2
How to retrieve legacy cgroups location ?
Hi,
As told in "Control Groups Resource Management" libvirt page :
Legacy cgroups layout
Prior to libvirt 1.0.5, the cgroups layout created by libvirt was different from that described above, and did not allow for administrator customization. Libvirt used a fixed, 3-level hierarchy libvirt/{qemu,lxc}/$VMNAME which was rooted at the point in the hierarchy where libvirtd itself was
2019 Oct 23
2
Re: Reg: Adding "edu" device using XML file
Hello Han,
Thanks for the response. The XML option with qemu:commandline works if the
device is added during the VM creation. But I would like to hot-plug the
device to the running VM. I can add the device using the command line
<virsh qemu-monitor-command --hmp VM-Name device_add edu,id=edu0>
But I would like to add the device using the XML file, like <virsh
attach-device VM-Name
2023 Apr 05
1
backup-begin
Den 2023-04-05 kl. 09:47, skrev Peter Krempa:
> The backup operation is quite complex so it is possible.
> Please have a look into /var/log/libvirt/qemu/$VMNAME.log to see whether
> qemu logged something like an assertion failure before crashing.
>
> Additionally you can have a look into 'coredumpctl' whether there are
> any recorded crashes of
2015 Apr 20
4
<qemu:commandline> domain XML tag is not working?
Hi,
I tried to enable virtio-blk data plane feature for VMs in my openstack
environment, the hypervisor is ubuntu 14.04, libvirt 1.2.2 and QEMU 2.0.
As nova doesn't support that parameter yet, I did belows
1. nova boot a VM with raw disk image.
2. nova stop the VM.
3. run "virsh edit <instance-id>" on the hyprvisor node, and adding below
into instance xml just before
2020 Oct 29
2
virsh rights voor normal users
hi,
using the cockpit web ui and with these instructions:
https://libvirt.org/dbus.html#usage
we allow successfully that a group of users can access the console of the
system vms in different kvm hosts.
Oddly enough, in the same cockpit web interface I can use a terminal, and
if I run virsh list --all I get an empty listing.
So using cockpit I can manage the system vms, but I cannot use virsh.
2016 Mar 22
3
(no subject)
How is tunnelled option specified during migratiion different than an
ordinary ssh connection specified as:- virsh migrate vmName
qemu+ssh://user@remotesys/system?
2023 Apr 05
1
backup-begin
The reason given is shut off (crashed).
So something virsh backup-begin does is causing he guest to crash?
Den 2023-04-04 kl. 16:58, skrev Peter Krempa:
> On Tue, Apr 04, 2023 at 16:28:18 +0200, Andr? Malm wrote:
>> Hello,
>>
>> For some vms the virsh backup-begin sometimes shuts off the vm and returns
>> "error: operation failed: domain is not running"
2012 Feb 11
3
9.0-RELEASE PV from scratch on XCP v1.1.0
Title: HOWTO-FreeBSD-on-XCP
Author: John D. "Trix" Farrar
Date: 2012-02-09
* The Challenge - ParaVirtualized FreeBSD 9.0-RELEASE under XCP 1.1.0
The idea here is to create a PV FreeBSD VM under Xen Cloud Platform
(XCP) without starting with an HVM first. The documentation I''''ve
been able to find on-line is at least a year old and is mostly written
for Xen (under
2018 Jun 05
3
[PATCH] qemu: Introduce VIRTIO_NET_F_STANDBY feature bit to virtio_net
On 2018?06?05? 09:41, Samudrala, Sridhar wrote:
> Ping on this patch now that the kernel patches are accepted into
> davem's net-next tree.
> https://patchwork.ozlabs.org/cover/920005/
>
>
> On 5/7/2018 4:09 PM, Sridhar Samudrala wrote:
>> This feature bit can be used by hypervisor to indicate virtio_net
>> device to
>> act as a standby for another device
2018 Jun 05
3
[PATCH] qemu: Introduce VIRTIO_NET_F_STANDBY feature bit to virtio_net
On 2018?06?05? 09:41, Samudrala, Sridhar wrote:
> Ping on this patch now that the kernel patches are accepted into
> davem's net-next tree.
> https://patchwork.ozlabs.org/cover/920005/
>
>
> On 5/7/2018 4:09 PM, Sridhar Samudrala wrote:
>> This feature bit can be used by hypervisor to indicate virtio_net
>> device to
>> act as a standby for another device
2015 Apr 21
1
Re: <qemu:commandline> domain XML tag is not working?
Hi Eric,
Thanks!
You are right, I missed declaring namespace, now, the <qemu:commandline> is
saved after virsh edit.
However, both namespace and <qemu:commandline> tag are lost after I run
"nova start" to launch the VM.
Any idea that how could I make this qemu command take effect ?
Regards,
CY.
On Mon, Apr 20, 2015 at 11:41 PM, Eric Blake <eblake@redhat.com> wrote:
2009 Feb 04
2
Best way to migrate Xen Disk IMG w/LVM''s to a block-device? (e.g. DRBD)
Hi All,
I was hoping to pick someone''s brain about the best way of moving a Xen
disk image (which has LVM''s inside of it) to a new block-device? I
have the target DRBD device ready but unsure what''s the best &
safest way to do it.
I was actually tempted to mount the Xen disk image in a dom0, and make
it visible via loop devices and promote that DRBD node for