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 2022-05-23 12:56:29 +03:00
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) 2022-05-24 05:04:27 +03:00

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.

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.
You can also view command line instructions.

Step 1:

From your project repository, check out a new branch and test the changes.
git checkout -b huynnp911-qemu-libvirt-patch-ubuntu20 master
git pull qemu-libvirt-patch-ubuntu20

Step 2:

Merge the changes and update on Gitea.
git checkout master
git merge --no-ff huynnp911-qemu-libvirt-patch-ubuntu20
git push origin master
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

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