]> xenbits.xensource.com Git - libvirt.git/commitdiff
audit: Fix some comments
authorWang Rui <moon.wangrui@huawei.com>
Thu, 7 Aug 2014 08:12:58 +0000 (16:12 +0800)
committerJán Tomko <jtomko@redhat.com>
Thu, 7 Aug 2014 08:28:32 +0000 (10:28 +0200)
Fix a comment in virDomainAuditNetDevice.
Fix a typo in comment of qemuPhysIfaceConnect which is
the caller of virDomainAuditNetDevice.

Signed-off-by: Wang Rui <moon.wangrui@huawei.com>
src/conf/domain_audit.c
src/qemu/qemu_command.c

index 93625fc19b59b6b6f5fc46f8b26ad3cde2ff7491..fcf9df7bf9c9a604b2d93853d2e263451d074b0d 100644 (file)
@@ -318,8 +318,8 @@ virDomainAuditNet(virDomainObjPtr vm,
 
 /**
  * virDomainAuditNetDevice:
- * @vm: domain opening a network-related device
- * @def: details of network device that fd will be tied to
+ * @vmDef: the definition of the VM
+ * @netDef: details of network device that fd will be tied to
  * @device: device being opened (such as /dev/vhost-net,
  * /dev/net/tun, /dev/tanN). Note that merely opening a device
  * does not mean that virDomain owns it; a followup virDomainAuditNet
index a5ff10aa90f7f8e468fd549f14909a6f1da6291b..033a5a8e1fbed6aefc2c111601cfe7062ee42394 100644 (file)
@@ -160,7 +160,7 @@ VIR_ENUM_IMPL(qemuNumaPolicy, VIR_DOMAIN_NUMATUNE_MEM_LAST,
  * qemuPhysIfaceConnect:
  * @def: the definition of the VM (needed by 802.1Qbh and audit)
  * @driver: pointer to the driver instance
- * @net: pointer to he VM's interface description with direct device type
+ * @net: pointer to the VM's interface description with direct device type
  * @qemuCaps: flags for qemu
  * @vmop: VM operation type
  *