From patchwork Tue Oct 14 10:03:59 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cole Robinson X-Patchwork-Id: 38704 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f200.google.com (mail-lb0-f200.google.com [209.85.217.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 4E4B120973 for ; Tue, 14 Oct 2014 10:07:04 +0000 (UTC) Received: by mail-lb0-f200.google.com with SMTP id b6sf4998367lbj.11 for ; Tue, 14 Oct 2014 03:07:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:cc:subject :precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:mime-version:sender:errors-to :x-original-sender:x-original-authentication-results:mailing-list :content-type:content-transfer-encoding; bh=+MCXWYs1HphjzcDX2ZWKHMxg+Puj40SDjEuUm/Z0FkY=; b=LjgQ4heSEsZvXJGKNkCQpO1E8dU98rgMxnrK0i4zRXAjQegED8PoLYc2PM1w0rnPXK dS5ut41dgSfRnyQLts8zXpjH241n/FvMKYVAQctTRb0S6x9zSz8Cx1mTk9on5/86jF9q u4WK8BVAxM5wjYM52NWWNcQ2K+SrvL0P7ZeuTxJnn6m8F5uJcMtmYPXZDjj+wBJv+8Hu Kl3E11gaWYBEL5AbMM3+lsqwtFhlQbIS77irkbt7mT7SV1nK6slR//uPxQpsD6N7Hmnv cTsI4J+d1QVMdGdVaAGTFbiVp57r+KAVZ8QRZnIJcZCGQFucuuHjJmdV04FyStR6MBWv 7Stw== X-Gm-Message-State: ALoCoQkJecVBRMpF7ZhuXH+i6CzOv21Bc/OdmKJNjeteLgfvTPicyedsPIUx+EaS6mfMCh4qOo3D X-Received: by 10.112.190.5 with SMTP id gm5mr13075lbc.18.1413281222772; Tue, 14 Oct 2014 03:07:02 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.7.169 with SMTP id k9ls571601laa.91.gmail; Tue, 14 Oct 2014 03:07:02 -0700 (PDT) X-Received: by 10.152.203.231 with SMTP id kt7mr2238110lac.84.1413281222503; Tue, 14 Oct 2014 03:07:02 -0700 (PDT) Received: from mail-lb0-f177.google.com (mail-lb0-f177.google.com [209.85.217.177]) by mx.google.com with ESMTPS id p7si25788996lbr.56.2014.10.14.03.07.02 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 14 Oct 2014 03:07:02 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.177 as permitted sender) client-ip=209.85.217.177; Received: by mail-lb0-f177.google.com with SMTP id w7so7948935lbi.36 for ; Tue, 14 Oct 2014 03:07:02 -0700 (PDT) X-Received: by 10.112.122.78 with SMTP id lq14mr4275346lbb.80.1413281222360; Tue, 14 Oct 2014 03:07:02 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.84.229 with SMTP id c5csp365247lbz; Tue, 14 Oct 2014 03:07:01 -0700 (PDT) X-Received: by 10.140.102.43 with SMTP id v40mr7101115qge.36.1413281221109; Tue, 14 Oct 2014 03:07:01 -0700 (PDT) Received: from mx3-phx2.redhat.com (mx3-phx2.redhat.com. [209.132.183.24]) by mx.google.com with ESMTPS id m79si29207482qgm.19.2014.10.14.03.06.59 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 14 Oct 2014 03:07:01 -0700 (PDT) Received-SPF: pass (google.com: domain of libvir-list-bounces@redhat.com designates 209.132.183.24 as permitted sender) client-ip=209.132.183.24; Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id s9EA43kt021624; Tue, 14 Oct 2014 06:04:03 -0400 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id s9EA426e002578 for ; Tue, 14 Oct 2014 06:04:02 -0400 Received: from worklaptop.redhat.com (ovpn-113-107.phx2.redhat.com [10.3.113.107]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s9EA40Nc018399; Tue, 14 Oct 2014 06:04:01 -0400 From: Cole Robinson To: libvir-list@redhat.com Date: Tue, 14 Oct 2014 12:03:59 +0200 Message-Id: X-Scanned-By: MIMEDefang 2.68 on 10.5.11.27 X-loop: libvir-list@redhat.com Cc: Michal Privoznik Subject: [libvirt] [PATCH] libvirt: Document UNDEFINE_NVRAM in UndefineFlags doc X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: crobinso@redhat.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.177 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 --- src/libvirt.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/libvirt.c b/src/libvirt.c index caacc2e..dfca4f6 100644 --- a/src/libvirt.c +++ b/src/libvirt.c @@ -8760,6 +8760,10 @@ virDomainUndefine(virDomainPtr domain) * whether this flag is present. On hypervisors where snapshots do * not use libvirt metadata, this flag has no effect. * + * If the domain has any nvram specified, then including + * VIR_DOMAIN_UNDEFINE_NVRAM will also remove that file, and omitting the flag + * will cause the undefine process to fail. + * * Returns 0 in case of success, -1 in case of error */ int