mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-11 16:00:50 -07:00
net/colo.c: add colo.c to define and handle packet
The net/colo.c is used by colo-compare and filter-rewriter. this can share common data structure like net packet, and other functions. Signed-off-by: Zhang Chen <zhangchen.fnst@cn.fujitsu.com> Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com> Signed-off-by: Wen Congyang <wency@cn.fujitsu.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
This commit is contained in:
parent
7dce4e6fd2
commit
59509ec16b
5 changed files with 240 additions and 4 deletions
|
|
@ -139,6 +139,12 @@ memory_region_subpage_write(int cpu_index, void *mr, uint64_t offset, uint64_t v
|
|||
memory_region_tb_read(int cpu_index, uint64_t addr, uint64_t value, unsigned size) "cpu %d addr %#"PRIx64" value %#"PRIx64" size %u"
|
||||
memory_region_tb_write(int cpu_index, uint64_t addr, uint64_t value, unsigned size) "cpu %d addr %#"PRIx64" value %#"PRIx64" size %u"
|
||||
|
||||
# net/colo.c
|
||||
colo_proxy_main(const char *chr) ": %s"
|
||||
|
||||
# net/colo-compare.c
|
||||
colo_compare_main(const char *chr) ": %s"
|
||||
|
||||
### Guest events, keep at bottom
|
||||
|
||||
# @vaddr: Access' virtual address.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue