提交 ace06985 编写于 作者: W Wang Rui 提交者: Ján Tomko

audit: Fix some comments

Fix a comment in virDomainAuditNetDevice.
Fix a typo in comment of qemuPhysIfaceConnect which is
the caller of virDomainAuditNetDevice.
Signed-off-by: NWang Rui <moon.wangrui@huawei.com>
上级 29bb0669
...@@ -318,8 +318,8 @@ virDomainAuditNet(virDomainObjPtr vm, ...@@ -318,8 +318,8 @@ virDomainAuditNet(virDomainObjPtr vm,
/** /**
* virDomainAuditNetDevice: * virDomainAuditNetDevice:
* @vm: domain opening a network-related device * @vmDef: the definition of the VM
* @def: details of network device that fd will be tied to * @netDef: details of network device that fd will be tied to
* @device: device being opened (such as /dev/vhost-net, * @device: device being opened (such as /dev/vhost-net,
* /dev/net/tun, /dev/tanN). Note that merely opening a device * /dev/net/tun, /dev/tanN). Note that merely opening a device
* does not mean that virDomain owns it; a followup virDomainAuditNet * does not mean that virDomain owns it; a followup virDomainAuditNet
......
...@@ -160,7 +160,7 @@ VIR_ENUM_IMPL(qemuNumaPolicy, VIR_DOMAIN_NUMATUNE_MEM_LAST, ...@@ -160,7 +160,7 @@ VIR_ENUM_IMPL(qemuNumaPolicy, VIR_DOMAIN_NUMATUNE_MEM_LAST,
* qemuPhysIfaceConnect: * qemuPhysIfaceConnect:
* @def: the definition of the VM (needed by 802.1Qbh and audit) * @def: the definition of the VM (needed by 802.1Qbh and audit)
* @driver: pointer to the driver instance * @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 * @qemuCaps: flags for qemu
* @vmop: VM operation type * @vmop: VM operation type
* *
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册