tools/virtio: Fix build
PATCH 1/1 tools/virtio: Fix build
From: Jan Kiszka <[email protected]>
Various changes in the recent kernel versions broke the build due to missing function and header stubs.
--- tools/virtio/crypto/hash.h | 0 tools/virtio/linux/dma-mapping.h | 2 ++ tools/virtio/linux/kernel.h | 2 ++ 3 files changed, 4 insertions(+) create mode 100644 tools/virtio/crypto/hash.h
tools/virtio/crypto/hash.h new file +0 -0
tools/virtio/linux/dma-mapping.h +2 -0
@@ -29,4 +29,6 @@ enum dma_data_direction {#define dma_unmap_single (...) do { } while (0)#define dma_unmap_page (...) do { } while (0) +#define dma_max_mapping_size (d) 0 +#endif
tools/virtio/linux/kernel.h +2 -0
@@ -141,4 +141,6 @@ static inline void free_page(unsigned long addr)#define list_for_each_entry (a, b, c) while (0)/* end of stubs */ +#define xen_domain () 0 +#endif /* KERNEL_H */
--
2.16.4
Michael S. Tsirkin
maintainerQuoted 6 lines · Jan Kiszka
From: Jan Kiszka <[email protected]>
Various changes in the recent kernel versions broke the build due to missing function and header stubs.
Signed-off-by Jan Kiszka <[email protected]>
Thanks!
I think it's already fixes in the vhost tree.
That tree also includes a bugfix for the test.
Can you pls give it a spin and report?
Thanks!
Quoted 34 lines
--- tools/virtio/crypto/hash.h | 0 tools/virtio/linux/dma-mapping.h | 2 ++ tools/virtio/linux/kernel.h | 2 ++ 3 files changed, 4 insertions(+) create mode 100644 tools/virtio/crypto/hash.htools/virtio/crypto/hash.h new file +0
-0tools/virtio/linux/dma-mapping.h +2
-0@@ -29,4 +29,6 @@ enum dma_data_direction {#define dma_unmap_single (...) do { } while (0)#define dma_unmap_page (...) do { } while (0) +#define dma_max_mapping_size (d) 0 +#endif tools/virtio/linux/kernel.h +2
-1@@ -141,4 +141,6 @@ static inline void free_page(unsigned long addr)#define list_for_each_entry (a, b, c) while (0)/* end of stubs */ +#define xen_domain () 0 +#endif /* KERNEL_H */ --2.16.4
Michael S. Tsirkin
maintainerQuoted 6 lines · Jan Kiszka
From: Jan Kiszka <[email protected]>
Various changes in the recent kernel versions broke the build due to missing function and header stubs.
Signed-off-by Jan Kiszka <[email protected]>
Thanks!
I think it's already fixes in the vhost tree.
That tree also includes a bugfix for the test.
Can you pls give it a spin and report?
Thanks!
Quoted 34 lines
--- tools/virtio/crypto/hash.h | 0 tools/virtio/linux/dma-mapping.h | 2 ++ tools/virtio/linux/kernel.h | 2 ++ 3 files changed, 4 insertions(+) create mode 100644 tools/virtio/crypto/hash.htools/virtio/crypto/hash.h new file +0
-0tools/virtio/linux/dma-mapping.h +2
-0@@ -29,4 +29,6 @@ enum dma_data_direction {#define dma_unmap_single (...) do { } while (0)#define dma_unmap_page (...) do { } while (0) +#define dma_max_mapping_size (d) 0 +#endif tools/virtio/linux/kernel.h +2
-1@@ -141,4 +141,6 @@ static inline void free_page(unsigned long addr)#define list_for_each_entry (a, b, c) while (0)/* end of stubs */ +#define xen_domain () 0 +#endif /* KERNEL_H */ --2.16.4
Quoted 6 lines · Michael S. Tsirkin
Quoted 5 lines · Jan Kiszka
From: Jan Kiszka <[email protected]>
Various changes in the recent kernel versions broke the build due to missing function and header stubs.
Quoted 6 lines
Quoted 1 line
Signed-off-by Jan Kiszka <[email protected]>Thanks!
I think it's already fixes in the vhost tree.
That tree also includes a bugfix for the test.
Can you pls give it a spin and report?
Mostly fixed: the xen_domain stup is missing.
Jan
Quoted 36 lines
Thanks!
Quoted 34 lines
--- tools/virtio/crypto/hash.h | 0 tools/virtio/linux/dma-mapping.h | 2 ++ tools/virtio/linux/kernel.h | 2 ++ 3 files changed, 4 insertions(+) create mode 100644 tools/virtio/crypto/hash.htools/virtio/crypto/hash.h new file +0
-0tools/virtio/linux/dma-mapping.h +2
-0@@ -29,4 +29,6 @@ enum dma_data_direction {#define dma_unmap_single (...) do { } while (0)#define dma_unmap_page (...) do { } while (0) +#define dma_max_mapping_size (d) 0 +#endif tools/virtio/linux/kernel.h +2
-1@@ -141,4 +141,6 @@ static inline void free_page(unsigned long addr)#define list_for_each_entry (a, b, c) while (0)/* end of stubs */ +#define xen_domain () 0 +#endif /* KERNEL_H */ --2.16.4
Quoted 6 lines · Michael S. Tsirkin
Quoted 5 lines · Jan Kiszka
From: Jan Kiszka <[email protected]>
Various changes in the recent kernel versions broke the build due to missing function and header stubs.
Quoted 6 lines
Quoted 1 line
Signed-off-by Jan Kiszka <[email protected]>Thanks!
I think it's already fixes in the vhost tree.
That tree also includes a bugfix for the test.
Can you pls give it a spin and report?
Mostly fixed: the xen_domain stup is missing.
Jan
Quoted 36 lines
Thanks!
Quoted 34 lines
--- tools/virtio/crypto/hash.h | 0 tools/virtio/linux/dma-mapping.h | 2 ++ tools/virtio/linux/kernel.h | 2 ++ 3 files changed, 4 insertions(+) create mode 100644 tools/virtio/crypto/hash.htools/virtio/crypto/hash.h new file +0
-0tools/virtio/linux/dma-mapping.h +2
-0@@ -29,4 +29,6 @@ enum dma_data_direction {#define dma_unmap_single (...) do { } while (0)#define dma_unmap_page (...) do { } while (0) +#define dma_max_mapping_size (d) 0 +#endif tools/virtio/linux/kernel.h +2
-1@@ -141,4 +141,6 @@ static inline void free_page(unsigned long addr)#define list_for_each_entry (a, b, c) while (0)/* end of stubs */ +#define xen_domain () 0 +#endif /* KERNEL_H */ --2.16.4
Michael S. Tsirkin
maintainerQuoted 9 lines · Jan Kiszka
Quoted 8 lines · Michael S. Tsirkin
Quoted 6 lines · Jan Kiszka
From: Jan Kiszka <[email protected]>
Various changes in the recent kernel versions broke the build due to missing function and header stubs.
Signed-off-by Jan Kiszka <[email protected]>
Quoted 8 lines
Quoted 4 lines
Thanks!
I think it's already fixes in the vhost tree.
That tree also includes a bugfix for the test.
Can you pls give it a spin and report?Mostly fixed: the
xen_domainstup is missing.Jan
That's in xen/xen.h. Do you still see any build errors?
Quoted 36 lines
Quoted 36 lines
Thanks!
Quoted 34 lines
--- tools/virtio/crypto/hash.h | 0 tools/virtio/linux/dma-mapping.h | 2 ++ tools/virtio/linux/kernel.h | 2 ++ 3 files changed, 4 insertions(+) create mode 100644 tools/virtio/crypto/hash.htools/virtio/crypto/hash.h new file +0
-0tools/virtio/linux/dma-mapping.h +2
-0@@ -29,4 +29,6 @@ enum dma_data_direction {#define dma_unmap_single (...) do { } while (0)#define dma_unmap_page (...) do { } while (0) +#define dma_max_mapping_size (d) 0 +#endif tools/virtio/linux/kernel.h +2
-1@@ -141,4 +141,6 @@ static inline void free_page(unsigned long addr)#define list_for_each_entry (a, b, c) while (0)/* end of stubs */ +#define xen_domain () 0 +#endif /* KERNEL_H */ --2.16.4
Michael S. Tsirkin
maintainerQuoted 9 lines · Jan Kiszka
Quoted 8 lines · Michael S. Tsirkin
Quoted 6 lines · Jan Kiszka
From: Jan Kiszka <[email protected]>
Various changes in the recent kernel versions broke the build due to missing function and header stubs.
Signed-off-by Jan Kiszka <[email protected]>
Quoted 8 lines
Quoted 4 lines
Thanks!
I think it's already fixes in the vhost tree.
That tree also includes a bugfix for the test.
Can you pls give it a spin and report?Mostly fixed: the
xen_domainstup is missing.Jan
That's in xen/xen.h. Do you still see any build errors?
Quoted 36 lines
Quoted 36 lines
Thanks!
Quoted 34 lines
--- tools/virtio/crypto/hash.h | 0 tools/virtio/linux/dma-mapping.h | 2 ++ tools/virtio/linux/kernel.h | 2 ++ 3 files changed, 4 insertions(+) create mode 100644 tools/virtio/crypto/hash.htools/virtio/crypto/hash.h new file +0
-0tools/virtio/linux/dma-mapping.h +2
-0@@ -29,4 +29,6 @@ enum dma_data_direction {#define dma_unmap_single (...) do { } while (0)#define dma_unmap_page (...) do { } while (0) +#define dma_max_mapping_size (d) 0 +#endif tools/virtio/linux/kernel.h +2
-1@@ -141,4 +141,6 @@ static inline void free_page(unsigned long addr)#define list_for_each_entry (a, b, c) while (0)/* end of stubs */ +#define xen_domain () 0 +#endif /* KERNEL_H */ --2.16.4
Quoted 15 lines · Michael S. Tsirkin
Quoted 14 lines · Jan Kiszka
Quoted 12 lines · Michael S. Tsirkin
Quoted 6 lines · Jan Kiszka
From: Jan Kiszka <[email protected]>
Various changes in the recent kernel versions broke the build due to missing function and header stubs.
Signed-off-by Jan Kiszka <[email protected]>Thanks!
I think it's already fixes in the vhost tree.
That tree also includes a bugfix for the test.
Can you pls give it a spin and report?
Quoted 5 lines
Quoted 3 lines
Mostly fixed: the
xen_domainstup is missing.Jan
That's in
xen/xen.h. Do you still see any build errors?
ca16cf7b30ca79eeca4d612af121e664ee7d8737 lacks this - forgot to add to some commit?
Jan
Quoted 15 lines · Michael S. Tsirkin
Quoted 14 lines · Jan Kiszka
Quoted 12 lines · Michael S. Tsirkin
Quoted 6 lines · Jan Kiszka
From: Jan Kiszka <[email protected]>
Various changes in the recent kernel versions broke the build due to missing function and header stubs.
Signed-off-by Jan Kiszka <[email protected]>Thanks!
I think it's already fixes in the vhost tree.
That tree also includes a bugfix for the test.
Can you pls give it a spin and report?
Quoted 5 lines
Quoted 3 lines
Mostly fixed: the
xen_domainstup is missing.Jan
That's in
xen/xen.h. Do you still see any build errors?
ca16cf7b30ca79eeca4d612af121e664ee7d8737 lacks this - forgot to add to some commit?
Jan
Michael S. Tsirkin
maintainerQuoted 18 lines · Jan Kiszka
Quoted 17 lines · Michael S. Tsirkin
Quoted 16 lines · Jan Kiszka
Quoted 6 lines · Michael S. Tsirkin
Quoted 5 lines · Jan Kiszka
From: Jan Kiszka <[email protected]>
Various changes in the recent kernel versions broke the build due to missing function and header stubs.
Quoted 6 lines
Quoted 1 line
Signed-off-by Jan Kiszka <[email protected]>Thanks!
I think it's already fixes in the vhost tree.
That tree also includes a bugfix for the test.
Can you pls give it a spin and report?Mostly fixed: the
xen_domainstup is missing.
Quoted 8 lines
Quoted 3 lines
Quoted 1 line
Jan
That's in
xen/xen.h. Do you still see any build errors?
ca16cf7b30ca79eeca4d612af121e664ee7d8737lacks this - forgot to add to some commit?Jan
Oh, you are right.
Should be fixed now.
Thanks!
Signature · 1 line
MST
Michael S. Tsirkin
maintainerQuoted 18 lines · Jan Kiszka
Quoted 17 lines · Michael S. Tsirkin
Quoted 16 lines · Jan Kiszka
Quoted 6 lines · Michael S. Tsirkin
Quoted 5 lines · Jan Kiszka
From: Jan Kiszka <[email protected]>
Various changes in the recent kernel versions broke the build due to missing function and header stubs.
Quoted 6 lines
Quoted 1 line
Signed-off-by Jan Kiszka <[email protected]>Thanks!
I think it's already fixes in the vhost tree.
That tree also includes a bugfix for the test.
Can you pls give it a spin and report?Mostly fixed: the
xen_domainstup is missing.
Quoted 8 lines
Quoted 3 lines
Quoted 1 line
Jan
That's in
xen/xen.h. Do you still see any build errors?
ca16cf7b30ca79eeca4d612af121e664ee7d8737lacks this - forgot to add to some commit?Jan
Oh, you are right.
Should be fixed now.
Thanks!
Signature · 1 line
MST