Add qemu 4.2 and libvirt 6.0 patch (openstack wallaby) #33

Open
huynnp911 wants to merge 1 commits from huynnp911/vitastor:qemu-libvirt-patch-ubuntu20 into master

I tested these 2 patches and no error occorred. You can check it :)

I tested these 2 patches and no error occorred. You can check it :)
huynnp911 added 1 commit 10 months ago
huynnp911 changed title from Add qemu 4.2 and libvirt 6.0 patch to Add qemu 4.2 and libvirt 6.0 patch (openstack wallaby) 10 months ago
Owner

Hi!

Thanks for libvirt 6.0 patch! I merged your commit after editing it.

However, QEMU 4.2 patch was already there, so I removed it from the merged commit.

I assume the existing version should be fine for you?

Anyway, thanks.

Hi! Thanks for libvirt 6.0 patch! I merged your commit after editing it. However, QEMU 4.2 patch was already there, so I removed it from the merged commit. I assume [the existing version](https://yourcmc.ru/git/vitalif/vitastor/src/branch/master/patches/qemu-4.2-vitastor.patch) should be fine for you? Anyway, thanks.
Poster

I'm building QEMU 4.2 from Openstack Wallaby repo and I need to edit /debian/rules to convert images successfully. Without it, qemu-img convert process will be stuck at 3% all the time

--- qemu-4.2/debian/rules	2022-05-19 15:34:26.354263017 +0700
+++ qemu-4.2/debian/rules	2022-05-19 15:32:15.720952678 +0700
@@ -148,7 +148,7 @@ ifneq ($(filter $(DEB_HOST_ARCH),amd64 i
 		--${enable_system}-system \
 		--disable-linux-user \
 		--enable-xen \
-		--target-list="aarch64-softmmu arm-softmmu i386-softmmu x86_64-softmmu"
+		--target-list="aarch64-softmmu arm-softmmu i386-softmmu x86_64-softmmu" \
 		--enable-modules \
 		--enable-module-upgrades \
 		$(shell sh debian/extract-config-opts \
@@ -167,7 +167,7 @@ ifneq ($(filter $(DEB_HOST_ARCH),amd64),
 	cd b/qemu-microvm && \
 		../../configure ${common_configure_opts} --disable-user \
 		--enable-system --enable-kvm \
-		--disable-linux-user --disable-modules --disable-docs \
+		--disable-linux-user --enable-modules --disable-docs \
 		--disable-libssh --disable-tcmalloc --disable-glusterfs \
 		--disable-seccomp --disable-bzip2 --disable-slirp --disable-vde \
 		--disable-netmap --disable-hax --disable-hvf --disable-whpx \
@@ -201,7 +201,7 @@ ifeq ($(enable_linux_user),enable)
 	rm -rf b/user-static; mkdir b/user-static
 	cd b/user-static && \
 	    ../../configure ${common_configure_opts} \
-		--static --disable-system --disable-xen \
+		--enable-modules --enable-module-upgrades --disable-system --disable-xen \
 		--target-list="$(addsuffix -linux-user,${user_targets})"
 endif
 	touch $@
I'm building QEMU 4.2 from Openstack Wallaby repo and I need to edit `/debian/rules` to convert images successfully. Without it, `qemu-img convert` process will be stuck at 3% all the time ``` --- qemu-4.2/debian/rules 2022-05-19 15:34:26.354263017 +0700 +++ qemu-4.2/debian/rules 2022-05-19 15:32:15.720952678 +0700 @@ -148,7 +148,7 @@ ifneq ($(filter $(DEB_HOST_ARCH),amd64 i --${enable_system}-system \ --disable-linux-user \ --enable-xen \ - --target-list="aarch64-softmmu arm-softmmu i386-softmmu x86_64-softmmu" + --target-list="aarch64-softmmu arm-softmmu i386-softmmu x86_64-softmmu" \ --enable-modules \ --enable-module-upgrades \ $(shell sh debian/extract-config-opts \ @@ -167,7 +167,7 @@ ifneq ($(filter $(DEB_HOST_ARCH),amd64), cd b/qemu-microvm && \ ../../configure ${common_configure_opts} --disable-user \ --enable-system --enable-kvm \ - --disable-linux-user --disable-modules --disable-docs \ + --disable-linux-user --enable-modules --disable-docs \ --disable-libssh --disable-tcmalloc --disable-glusterfs \ --disable-seccomp --disable-bzip2 --disable-slirp --disable-vde \ --disable-netmap --disable-hax --disable-hvf --disable-whpx \ @@ -201,7 +201,7 @@ ifeq ($(enable_linux_user),enable) rm -rf b/user-static; mkdir b/user-static cd b/user-static && \ ../../configure ${common_configure_opts} \ - --static --disable-system --disable-xen \ + --enable-modules --enable-module-upgrades --disable-system --disable-xen \ --target-list="$(addsuffix -linux-user,${user_targets})" endif touch $@ ```
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: vitalif/vitastor#33
Loading…
There is no content yet.