On 12/08/2011 04:31 AM, Ben wrote:
My questions are:

1) Is it a bad idea to patch the host's libvirtd while guests are running?
2) Should libvirtd have killed the guests like that?
3) With this update to KVM/qemu/libvird are "address type='pci'" now
unnecessary and removable from /etc/libvirt/qemu/<domain>.xml files as
PCI IDs are now dynamically assigned?

Ben,

Sorry to hear your upgrade was a PITA.  :(

1) With any patching or upgrading for a KVM host or non-KVM host should be done in a maintenance window. I normally stop all of my guests before I fully upgrade my host KVM. I did this yesterday. All guests were off and then I brought up my host machine to RHEL6.2. From there I brought up my RHEL6.1 guest to RHEL6.2.

2) I am not sure what the results would be if I was to upgrade all the packages with running guests. Sounds like your scenario is what would happen. Have you ever upgraded Firefox while running the older instance and never relaunching the browser? I have done this before and Firefox starts acting crazy. I now close the browser, update (patch) FF and relaunch. I would expect libvirtd it act in a similar fashion towards it's running guests.

3) Not sure? I didn't notice. FWIW, here is some snips from my guests XML configurations:

[root@x200 ~]# virsh dumpxml RHEL5 | grep address
<address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
      <mac address='52:54:00:5f:41:cf'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>

[root@x200 ~]# virsh dumpxml RHEL6 | grep address
<address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
      <mac address='52:54:00:a2:b0:a2'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>


HTHs,

~rp

--
+-----------------------------[ [email protected] ]----+
| Robin Price II - RHCE,RHCDS,RHCVA                   |
| Technical Account Manager                           |
| Red Hat, Inc.                                       |
| w: +1 (919) 754 4412                                |
| c: +1 (252) 474 3525                                |
|                                                     |
+---------[ Dissenters will inevitably abhor. ]-------+

_______________________________________________
rhelv6-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv6-list

Reply via email to