Re: [libvirt-users] Update of libvirt website required. not all information about XML tags

2010-05-21 Thread Jiri Denemark
The problem desribed here: https://bugzilla.redhat.com/show_bug.cgi?id=593266 Please update http://www.libvirt.org/formatdomain.html and describe NEW xml tags, like serial/serial for hard drive and all cpu tags, other if any. What cpu tag are you missing from the

Re: [libvirt-users] libvirt unavailable while a VM is in migration?

2010-12-20 Thread Jiri Denemark
I did some MORE testing. I obtain a domain object to a domain in two separate python processes. I begin migrating the domain in one of these processes, and then I call migrateSetMaxDowntime() on the domain in the other process. Unsurprisingly, the call is blocked and does not return until the

Re: [libvirt-users] Error creating a new vm

2010-12-21 Thread Jiri Denemark
Hi Tony, Well iv installed the default RPMS via Centos (5.5) Hmm, than you should probably ask CentOS guys for help. They apparently left RHEL's libvirt but made their own qemu package. Since libvirt 0.6.3 wasn't very smart, it had to be modified to support machine types provided by RHEL's

Re: [libvirt-users] kvm virtual server boot order

2011-04-21 Thread Jiri Denemark
Given the scenario where the disks of a virtual server are defined in the following order harddisk hda harddisk vda cdrom vdb cdrom hdb Boot device type is crdom. Which cdrom device will be boot attempted? From the above links, I'm guessing that hdb will be

Re: [libvirt-users] cannot perform tunnelled migration without using peer2peer flag

2011-07-18 Thread Jiri Denemark
On Mon, Jul 18, 2011 at 13:11:42 -0600, Eric Blake wrote: On 07/18/2011 04:11 AM, Osier Yang wrote: 于 2011年07月18日 10:07, zhang xintao 写道: Dear All I try to migration a kvm guest os to another host failed server: ubuntu 11.04 server virsh:migrate --live --tunnelled vm1

Re: [libvirt-users] virDomainDefineXml Issue

2011-09-12 Thread Jiri Denemark
On Fri, Sep 09, 2011 at 16:02:45 +0200, Kiran Javaid wrote: Hello Everyone, I am facing a problem in defining the xml for domain creation using libvirt. I am using Xen hypervisor. domPtr = lib.virDomainDefineXML(conPtr, domainXML); I get the following error: libvir: Xen Daemon

Re: [libvirt-users] CPU Model detection with virsh capabilities

2011-09-12 Thread Jiri Denemark
On Mon, Sep 12, 2011 at 16:33:53 +0200, Olivier BONHOMME wrote: Hello, Thanks for your answer. My virsh capabilities is the following : cpu archx86_64/arch modelpentium3/model vendorIntel/vendor topology sockets='1' cores='4' threads='1'/ feature

Re: [libvirt-users] CPU Model detection with virsh capabilities

2011-09-12 Thread Jiri Denemark
On Mon, Sep 12, 2011 at 17:06:06 +0200, Olivier BONHOMME wrote: Le 12/09/2011 16:54, Jiri Denemark a écrit : That's because your CPU doesn't support nx feature, which is included in all models better than pentium3. Jirka Is NX, the NX bit feature ? I think so. In that case, I am

Re: [libvirt-users] boot device

2012-09-06 Thread Jiri Denemark
On Wed, Sep 05, 2012 at 19:22:27 +0530, vivek hari wrote: Hi, I am trying to create a guest machine on xen virtualized environment and install rhel on it by booting from cdrom. I face a issue in booting device. I gave boot order as hd,cdrom. When doing maiden installation, it will find

Re: [libvirt-users] boot device

2012-09-07 Thread Jiri Denemark
On Thu, Sep 06, 2012 at 19:47:27 +0530, vivek hari wrote: Hi, Yes, it failed to boot from hard disk, instead booted from cd. I made a simple modification to the domain xml config file attached before. I replaced target='xvda' with target='hda' and removed per boot option. This time,

Re: [libvirt-users] Migrating fails with Timed out during operation: cannot acquire state change lock

2012-10-17 Thread Jiri Denemark
Hi. On Tue, Oct 16, 2012 at 16:20:59 +0200, Guido Winkelmann wrote: After recently upgrading to 0.9.11 (as shipped with Fedora 17), I was just trying to migrate a qemu domain from one host to another (using virDomainMigrateToURI()), when I got this error message: Unsafe migration:

Re: [libvirt-users] Support for on-demand USB pass through

2012-12-12 Thread Jiri Denemark
On Fri, Dec 07, 2012 at 11:25:49 +0100, Felicitus wrote: Hi, I'm trying to use USB pass through with devices that are not present at the VM startup. However, when starting the machine, libvirt complains that the USB device doesn't exist. I was following the guide at [1], but this doesn't

Re: [libvirt-users] Support for on-demand USB pass through

2012-12-12 Thread Jiri Denemark
On Wed, Dec 12, 2012 at 14:17:38 +0100, Felicitus wrote: On 12/12/2012 02:12 PM, Jiri Denemark wrote: However, such device would not be automatically connected when it becomes available (which seems to be what you are after according to the guide you posted). You'd need to shut the VM

Re: [libvirt-users] error when call migrate function error: invalid argument: qemuDomainMigratePrepare3: unsupported flags (0x200)

2013-02-27 Thread Jiri Denemark
On Mon, Feb 25, 2013 at 15:13:21 +0100, loic.cloa...@orange.com wrote: Hello, Good question: - 0.10.0 build - 0.9.3 on other side (with apt-get). So I download and build 0.10.0 on other side and I don't have error: Unsafe migration: Migration may lead to data corruption if disks use

Re: [libvirt-users] RE : RE : error when call migrate function error: invalid argument: qemuDomainMigratePrepare3: unsupported flags (0x200)

2013-02-27 Thread Jiri Denemark
On Wed, Feb 27, 2013 at 14:26:08 +0100, loic.cloa...@orange.com wrote: These changes are made on both host, and are reboot: I still get loic@ubuntu:~$ virsh --connect qemu:///system migrate --live ubuntuShared5 qemu+ssh://192.168.X.X/system --unsafe loic@192.168.X.X's password: error:

Re: [libvirt-users] libvirt 1.2.1 / lxc : default virtual network not defined after installing/starting Libvirt

2014-02-11 Thread Jiri Denemark
On Mon, Feb 10, 2014 at 15:13:05 +0100, Mohamed Amine Larabi wrote: Hi There, I am using Libvirt 1.2.1 on Fedora 20. So, Libvirt is well installed and started but the weird thing is that the 'default' virtual network is not automatically defined and started, knowing that I can

Re: [libvirt-users] VirtFS accessmode

2014-02-27 Thread Jiri Denemark
On Wed, Feb 26, 2014 at 09:45:53 +, Lanati, Matteo wrote: Hi all, I'm trying to share a folder between a host and a guest using VirtFS. The source is NAS mounted on the host and QEMU runs as unprivileged user. The only way for me to use the folder inside the guest is to set the

Re: [libvirt-users] [libvirt] Libvrt Migrate an Offline VM

2014-05-30 Thread Jiri Denemark
Hi, Please, choose either libvirt-list or libvirt-users when sending questions but not both. On Fri, May 30, 2014 at 11:53:21 +0530, Sijo Jose wrote: Is it possible to migrate an Offline VM using libvirt API ? Yes. See VIR_MIGRATE_OFFLINE flag for virDomainMigrate* APIs. Or using virsh migrate

Re: [libvirt-users] live migration - qemu hook

2015-03-05 Thread Jiri Denemark
On Wed, Mar 04, 2015 at 10:54:21 +0100, Martin Klepáč wrote: Hi, I am using qemu hook script to track status of VM live migration - libvirt 1.2.9 as included in Debian Wheezy backports. I would like to be informed of the fact that VM migration has successfully finished as soon as

Re: [libvirt-users] LXCs using Libvirt

2015-06-05 Thread Jiri Denemark
On Thu, Jun 04, 2015 at 16:22:43 -0700, Anu Mercian wrote: Hi all, I am trying to bring up lxc's using Libvirt JAVA API. I do the following: conn = Connect(lxc:\\\) xml_config = domain \domain dom = conn.domainCreateXML(xml_config, 0) dom.create() Using the above code, I am

Re: [libvirt-users] libvirt can't communicate over network while creating VM

2016-06-16 Thread Jiri Denemark
On Wed, Jun 15, 2016 at 14:14:20 +, Mensik, Petr wrote: > Hello guys, > > > we use libvirt for dynamic creation of our VM and we do various modifications > of those VMs in the process. One with I am struggling with is to signing keys > of our custom repository - " > > vm.sh("wget -O - "

Re: [libvirt-users] Proper XML for compareCPU method

2016-08-10 Thread Jiri Denemark
On Sun, Aug 07, 2016 at 14:43:27 -0500, David Ashley wrote: > All - > > What is the proper XML to supply to the Python Connections compareCPU > method? The same XML which can be used in domain XML to describe guest CPU configuration, i.e., http://libvirt.org/formatdomain.html#elementsCPU > I

Re: [libvirt-users] LibVirt query CPU Model support and restore operation

2017-01-25 Thread Jiri Denemark
On Tue, Jan 24, 2017 at 16:21:14 +0530, akhilesh rawat wrote: > hi, > > yes we are talking about same host here. > > You could've just used -cpu host-model-only > >> I dont want to host model ( it is working with host model) . > > AS KVM seems to allow support Haswell with native commands .

Re: [libvirt-users] LibVirt query CPU Model support and restore operation

2017-01-27 Thread Jiri Denemark
On Fri, Jan 27, 2017 at 13:48:44 +0530, akhilesh rawat wrote: > hello , > > thanks for comments . > > I tried now with force options for CPU flag which were not supported . Now > the command with non fully supported CPU model gets executed , But i am > surprised to see that still Guest cpu

Re: [libvirt-users] Determining domain job kind from job stats?

2017-02-22 Thread Jiri Denemark
On Tue, Feb 21, 2017 at 15:38:22 +0100, Milan Zamazal wrote: > [Starting to move to the development list.] > > Milan Zamazal <mzama...@redhat.com> writes: > > > Jiri Denemark <jdene...@redhat.com> writes: > > > >> On Fri, Feb 17

Re: [libvirt-users] Unsafe migration with copy-storage-all (non shared storage) and writeback cache

2017-02-17 Thread Jiri Denemark
On Fri, Feb 17, 2017 at 12:33:28 +0100, Gionatan Danti wrote: > Hi list, > I would like to understand if, and why, the --unsafe flag is needed when > using --copy-storage-all when migrating guests which uses writeback > cache mode. > > Background: I want to live migrate guests with writeback

Re: [libvirt-users] Why Guest does not retain Host CPU flags

2017-02-17 Thread Jiri Denemark
On Fri, Feb 17, 2017 at 11:23:54 +0530, akhilesh rawat wrote: > ok thanks , but then can we know which all list of feature are supported by > QEMU/KVM release. > http://www.linux-kvm.org/page/KVM_Features This page is not really about CPU features. It's not so easy to tell whether a given CPU

Re: [libvirt-users] Determining domain job kind from job stats?

2017-02-17 Thread Jiri Denemark
On Fri, Feb 17, 2017 at 12:38:24 +0100, Milan Zamazal wrote: > Jiri Denemark <jdene...@redhat.com> writes: > > > On Fri, Feb 10, 2017 at 21:50:19 +0100, Milan Zamazal wrote: > >> Hi, is there a reliable way to find out to what kind of job does the >

Re: [libvirt-users] Determining domain job kind from job stats?

2017-02-16 Thread Jiri Denemark
On Fri, Feb 10, 2017 at 21:50:19 +0100, Milan Zamazal wrote: > Hi, is there a reliable way to find out to what kind of job does the > information returned from virDomainGetJobStats or provided in > VIR_DOMAIN_EVENT_ID_JOB_COMPLETED event callback belong to? No, libvirt expects that the caller

Re: [libvirt-users] Why Guest does not retain Host CPU flags

2017-02-16 Thread Jiri Denemark
On Mon, Feb 06, 2017 at 09:51:06 +0530, akhilesh rawat wrote: > hi , > > I am creating Guest by Libvirt tool " virt-install" with cpu model as > host. > > After Guest creation i see Guest Missing quite no of flags which Host was > having . > > What could be the reason for this ? I am

Re: [libvirt-users] Regarding Migration Statistics

2017-01-10 Thread Jiri Denemark
Please, do not post to several libvirt lists at once. > I am writing a code using libvirt API to migrate VM between two physical > hosts *(QEMU/KVM) , *say some *n *number of times. > > *1)* I am using right now* virDomainPtr virDomainMigrate (...) *and to > calculate the total migration

Re: [libvirt-users] Usable and non-usable CPU models in nested virtualization

2018-12-11 Thread Jiri Denemark
On Tue, Dec 11, 2018 at 10:45:12 +0100, Milan Zamazal wrote: > Jiri Denemark writes: > > > On Fri, Dec 07, 2018 at 11:52:38 +0100, Milan Zamazal wrote: > >> Hi, some custom CPU models are reported from > >> virConnectGetDomainCapabilities as usable='yes' on a p

Re: [libvirt-users] "virsh list --all" is intermittently causing a shutdown client to boot?

2018-12-11 Thread Jiri Denemark
On Tue, Dec 11, 2018 at 14:39:40 +, Peter Kukla wrote: > Hello, > I have a CentOS 7 client running on a CentOS 7 server.  "virsh --version" > reports that 3.9.0 is being used. > I'm issuing a "virsh shutdown" command to shutdown the client.  I then > confirm that the client has actually

Re: [libvirt-users] Usable and non-usable CPU models in nested virtualization

2018-12-11 Thread Jiri Denemark
On Fri, Dec 07, 2018 at 11:52:38 +0100, Milan Zamazal wrote: > Hi, some custom CPU models are reported from > virConnectGetDomainCapabilities as usable='yes' on a physical machine > while as usable='no' inside a VM running on the same machine. That's > not completely surprising. > > But what

Re: [libvirt-users] Remote and local connections at the same time (Centos 7)

2018-11-22 Thread Jiri Denemark
On Thu, Nov 22, 2018 at 09:58:41 +0300, Anastasiya Ruzhanskaya wrote: > Hello! > I was investigating libvirt a year ago regarding it's remote control. I > figured out necessary settings for configuring remote control in ubuntu > (setting flags in libvirt setting files). Now I have several

Re: [libvirt-users] live migration and config

2018-09-13 Thread Jiri Denemark
On Thu, Sep 13, 2018 at 10:35:09 +0400, Dmitry Melekhov wrote: > After some mistakes yesterday we ( me and my colleague ) think that it > will be wise for libvirt to check config file existence on remote side Which config file? > and through error if not, > > before migrating, otherwise

Re: [libvirt-users] live migration and config

2018-09-13 Thread Jiri Denemark
On Thu, Sep 13, 2018 at 18:38:57 +0400, Dmitry Melekhov wrote: > > > 13.09.2018 17:47, Jiri Denemark пишет: > > On Thu, Sep 13, 2018 at 10:35:09 +0400, Dmitry Melekhov wrote: > >> After some mistakes yesterday we ( me and my colleague ) think that it > >> will be

Re: [libvirt-users] live migration and config

2018-09-14 Thread Jiri Denemark
On Thu, Sep 13, 2018 at 19:37:00 +0400, Dmitry Melekhov wrote: > > > 13.09.2018 18:57, Jiri Denemark пишет: > > On Thu, Sep 13, 2018 at 18:38:57 +0400, Dmitry Melekhov wrote: > >> > >> 13.09.2018 17:47, Jiri Denemark пишет: > >>> On Thu, Sep 13,

Re: [libvirt-users] live migration and config

2018-09-14 Thread Jiri Denemark
On Fri, Sep 14, 2018 at 16:00:43 +0400, Dmitry Melekhov wrote: > 14.09.2018 15:43, Jiri Denemark пишет: > > On Thu, Sep 13, 2018 at 19:37:00 +0400, Dmitry Melekhov wrote: > >> > >> 13.09.2018 18:57, Jiri Denemark пишет: > >>> On Thu, Sep 13, 2018 a

Re: [libvirt-users] [libvirt] Some questions about live migration

2019-10-18 Thread Jiri Denemark
On Fri, Oct 18, 2019 at 15:00:19 +0800, Luyao Zhong wrote: > Hi libvirt experts, > > I have some questions about live migration. I'm assuming you are not asking about post-copy migration, since it is a bit more complicated as the current state if split between the source and destination hosts

Re: usb-hdmi-cec-adapter usb pass-through experiences

2020-09-03 Thread Jiri Denemark
On Thu, Sep 03, 2020 at 11:25:36 +0200, daggs wrote: > Greetings, > > I need to get a device like this: > https://www.pulse-eight.com/p/104/usb-hdmi-cec-adapter > I have usb pass-through experiences with some usb devices such as dtv, > wireless network, thumbsticks and wireless keyboards. > I

Re: image works in native but not in vm when cpu mode='host-passthrough' is set

2020-11-24 Thread Jiri Denemark
On Tue, Nov 24, 2020 at 08:21:52 +0100, daggs wrote: > Greetings Martin, > > > Sent: Monday, November 23, 2020 at 4:08 PM > > From: "Martin Kletzander" > > To: "daggs" > > Cc: "libvirt-usersredhat.com" > > Subject: Re: image works in native but not in vm when cpu > > mode='host-passthrough'

Re: Upgrading the host

2021-02-19 Thread Jiri Denemark
On Wed, Feb 17, 2021 at 07:15:03 -0800, Marcin Struzak wrote: > On 2/17/2021 12:23 AM, Michal Privoznik wrote: > > On 2/17/21 2:45 AM, Marcin Struzak wrote: > >> On 2/16/2021 12:51 AM, Michal Privoznik wrote: > >>> On 2/12/21 2:10 AM, Marcin Struzak wrote: > >>> [...] > >>> >  3. Anything

Re: qemu+ssh connections to a remote libvirt fail as ssh banner configured

2022-02-10 Thread Jiri Denemark
On Thu, Feb 10, 2022 at 17:47:43 +0800, Yalan Zhang wrote: > Thank you! I tried /etc/motd, and it does not impact the libvirt connection. > Happy to learn something new! Alternatively if you really need to run commands in .bashrc which can potentially print some output, you can put them after a

Re: After restarted libvirtd service, live migration VM hit an issue 'Target CPU check default does not match source none'

2022-06-15 Thread Jiri Denemark
On Mon, Jun 13, 2022 at 05:06:50 +, liang chaojun wrote: > Thanks Han for your quick response. > > 1. Virsh dumpxml VM from source host machine. > [cid:fd7f5b1f-8551-4bf8-ae1a-30c7b95065db@jpnprd01.prod.outlook.com] Next time, please, paste text as text rather than attaching a screenshot of

Re: Memory locking limit and zero-copy migrations

2022-08-23 Thread Jiri Denemark
On Fri, Aug 19, 2022 at 08:01:58 +0200, Milan Zamazal wrote: > Fangge Jin writes: > > > On Fri, Aug 19, 2022 at 4:08 AM Milan Zamazal wrote: > > > >> > Not sure whether you already know this, but I had a hard time > >> > differentiating the two concepts: > >> > 1. memlock hard limit(shown by