Re: [PATCH] qemu: Check duplicate WWNs also for hotplugged disks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jul 10, 2015 at 08:29:18 +0200, Martin Kletzander wrote:
> On Thu, Jul 09, 2015 at 07:56:33PM +0200, Peter Krempa wrote:
> >In commit 714b38cb232bcbbd7487af4c058fa6d0999b3326 I tried to avoid
> >having two disks with the same WWN in a VM. I forgot to check the
> >hotplug paths though which make it possible bypass that check. Reinforce
> >the fix by checking the wwn when attaching the disk.
> >
> >Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1208009
> >---
> > src/conf/domain_conf.c | 37 +++++++++++++++++++++++++++++++++++++
> > 1 file changed, 37 insertions(+)
> >
> >diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
> >index 1f7862b..5a9a88d 100644
> >--- a/src/conf/domain_conf.c
> >+++ b/src/conf/domain_conf.c
> >@@ -22135,6 +22135,34 @@ virDomainDeviceInfoCheckBootIndex(virDomainDefPtr def ATTRIBUTE_UNUSED,
> >     return 0;
> > }
> >
> >+
> 
> We should reach some consensus with spacing between functions because
> every second patch is changing it.  Not your fault, though, just a
> random rant.

The problem with that is that it would need to be enforced by a script
since otherwise reviewers would feel bad for pointing out just
whitespace discrepancies.

> 
> ACK

Pushed; thanks.

Peter

Attachment: signature.asc
Description: Digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]