mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 06:05:27 +00:00
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: Wang Rui <moon.wangrui@huawei.com>
This commit is contained in:
parent
29bb066915
commit
ace06985df
@ -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
|
||||
|
@ -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
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user