specify password-secret during drive mirror

2020-02-05 Thread Jiatong Shen
aw"}}'* and then *virsh # qemu-monitor-command 1476 '{"execute": "block-job-complete", "arguments": {"device": "job0" }}'* it seems working because query-block returns a new backend drive. But how can I pass in a password-secret? looks like the above command work because there is already one secret. -- Best Regards, Jiatong Shen

romfile resize

2021-02-22 Thread Jiatong Shen
Hello, we are faced with an issue where a changed sized romfile (efi-virtio.rom) fails live migration. Do qemu load this rom from its current host only? If yes, why cannot sync this from source vm? thank you. -- Best Regards, Jiatong Shen

Re: romfile resize

2021-02-23 Thread Jiatong Shen
Hi, Thank you very much for the answer. so if romfile on destination got a larger size than source, why romfile check still does not pass? because dest got enough space to hold romfile. thank you. Jiatong Shen On Tue, Feb 23, 2021 at 5:46 PM Dr. David Alan Gilbert wrote: > * Phili

Re: romfile resize

2021-02-23 Thread Jiatong Shen
alright, thank you very much for the help :) On Tue, Feb 23, 2021 at 6:23 PM Paolo Bonzini wrote: > On 23/02/21 10:57, Jiatong Shen wrote: > > > >Thank you very much for the answer. so if romfile on destination got > > a larger size than source, why romfile check st

windows vm also uses max memory allocated

2021-04-15 Thread Jiatong Shen
https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1916313) another observation is that live migrating seems able to bring down rss temporarily until balloon is called next time. is this expected behavior for a windows guest? thank you -- Best Regards, Jiatong Shen

how to change sector size using qemu-img

2021-06-25 Thread Jiatong Shen
a filesystem reports an error. Any advice on how to possibly work around this? thank you. -- Best Regards, Jiatong Shen

Add new commands to qemu-guest-agent without recompiling source code

2021-08-11 Thread Jiatong Shen
Hello, I am trying to add some new commands to qemu-guest-agent to export more stats, but I am hesitating to modify source code and recompile it. Is it possible to extend guest commands by add some python scripts? Thank you. -- Best Regards, Jiatong Shen

change vnc password

2021-08-16 Thread Jiatong Shen
Hello, I am trying to change the vnc password without shutting down the running virtual machine. And the problem is that virtual machine does not have a password.. Is it possible to change its password? Thank you. -- Best Regards, Jiatong Shen

will qemu zero out memory before allocating

2021-08-20 Thread Jiatong Shen
what I wrote makes some sense -- Best Regards, Jiatong Shen

how to build debian package on arm64 machine

2021-08-23 Thread Jiatong Shen
seems it explicitly depends on gcc-alpha-linux-gnu, but when I try to gcc-alpha-linux-gnu, it complains there is no candidates for installation.. what should I do? thank you. -- Best Regards, Jiatong Shen

get efi-virtio-rom size at run time

2021-09-03 Thread Jiatong Shen
-compute is running in a container.. I am trying info qtree & info mtree but does not find the rom size. so my question is where can I find rom size for an interface? thank you . -- Best Regards, Jiatong Shen

Cross compile QEMU guest agent for windows on Linux server

2021-09-16 Thread Jiatong Shen
Hello community, I am trying to build qemu guest agent for windows on a linux server, but I do not know how to start.. Could you give me references to guide me through the building process? Thank you. -- Best Regards, Jiatong Shen

Re: Cross compile QEMU guest agent for windows on Linux server

2021-09-17 Thread Jiatong Shen
Thank you very much. I'll have a look at it. Best, Norman On Fri, Sep 17, 2021 at 2:19 PM Thomas Huth wrote: > On 17/09/2021 08.01, Jiatong Shen wrote: > > Hello community, > > > > I am trying to build qemu guest agent for windows on a linux server, > but &

live migration failure with kvm_put_msr_feature_control: Assertion `ret == 1' failed

2021-09-19 Thread Jiatong Shen
o has something to do with kernel? Thank you. -- Best Regards, Jiatong Shen

qemu-img convert from uri: recv failure

2022-01-13 Thread Jiatong Shen
reset by peer qemu-img: error while reading at byte 515833856: Input/output error in the meantime, using curl http:///system.qcow2 is ok. what could be cause of the connection reset issue? Thank you. -- Best Regards, Jiatong Shen

how to obtain qemu changlogs

2022-02-08 Thread Jiatong Shen
which supports rbd device to write zeros is not included. May I ask how change log is generated? Thank you. -- Best Regards, Jiatong Shen

how to detach vhost-user-blk

2022-02-08 Thread Jiatong Shen
device_del enough? do I need to remove chardev as well? thank you. -- Best Regards, Jiatong Shen

Re: how to detach vhost-user-blk

2022-02-09 Thread Jiatong Shen
connection_free. My question is is there a simple way to track ref count for a specific object? thank you. On Wed, Feb 9, 2022 at 3:07 PM Jiatong Shen wrote: > Hello community, > > I am testing vhost-user-blk. the virtual machine is started with the > following command > > ./x

Re: how to detach vhost-user-blk

2022-02-12 Thread Jiatong Shen
release unix link. On Thu, Feb 10, 2022 at 11:03 AM Jiatong Shen wrote: > Hello, I figured out I should have executed chardev-remove to disconnect > unix socket connection. It actually works on qemu 6.2.0. > but for qemu 4.2.0 even after delete chardev device, the connection is not >

how to use blockdev-add in hmp console

2022-02-22 Thread Jiatong Shen
. but on the given website looks like it could successfully translate to a qmp command. My question is how could I execute blockdev-add in hmp? thank you very much for the help. -- Best Regards, Jiatong Shen

sparsed block copy from a host_device to rbd

2022-02-23 Thread Jiatong Shen
possible to switch on detect_zeroes during blocdev-mirror and disable it when the copy completes? thank you. -- Best Regards, Jiatong Shen

kvm bad address

2022-02-27 Thread Jiatong Shen
nk you. -- Best Regards, Jiatong Shen

make coverage-html failed with no rule found

2022-05-18 Thread Jiatong Shen
Stop What am I doing wrong? Would be appreciated to receive help. Thank you very much in advance. -- Best Regards, Jiatong Shen

Re: make coverage-html failed with no rule found

2022-05-18 Thread Jiatong Shen
thank you very much for reply. I am using master branch. I think I have to configure with --enable-gcov enabled. and then make and make coverage-html works. Thank you for the help. Best, Norman On Wed, May 18, 2022 at 6:27 PM Peter Maydell wrote: > On Wed, 18 May 2022 at 10:14, Jiatong S

Re: make coverage-html failed with no rule found

2022-05-19 Thread Jiatong Shen
Thank you.. btw the result shows many of lines of codes does not get covered. Am I doing something wrong? Best, Norman On Fri, May 20, 2022 at 5:00 AM Alex Bennée wrote: > > Jiatong Shen writes: > > > thank you very much for reply. I am using master branch. I think I have >

IPA range (41 bits) larger than the one supported by the host (40 bits)

2022-05-25 Thread Jiatong Shen
. -- Best Regards, Jiatong Shen

Re: IPA range (41 bits) larger than the one supported by the host (40 bits)

2022-05-26 Thread Jiatong Shen
Thank you very much. I'll try it out. Best, Norman On Thu, May 26, 2022 at 4:18 PM Peter Maydell wrote: > On Thu, 26 May 2022 at 07:45, Jiatong Shen wrote: > >I am trying to run qemu-system-aarch64 on a Kylin based machine, the > host kernel version is 4.19. qemu is ver

Re: IPA range (41 bits) larger than the one supported by the host (40 bits)

2022-05-26 Thread Jiatong Shen
tion is is it possible to calculate a reasonable maxmem given slots for an older qemu? Thank you much for the help. Best, Norman On Thu, May 26, 2022 at 5:51 PM Jiatong Shen wrote: > Thank you very much. I'll try it out. > > Best, > Norman > > On Thu, May 26, 2022 at 4:1

how to cross compiling qemu debian deb package

2022-06-08 Thread Jiatong Shen
dpkg-buildpackages -us -uc, but it only outputs packages fitting the same arch as the building machine. So my question is is there an easy way to do cross compiling and how. Thank you very much for the help. -- Best Regards, Jiatong Shen

change cpu vendor id for kvm enabled guest

2022-08-11 Thread Jiatong Shen
windows 2008 only recognizes certain vendors (like Intel and amd). So my question is if it is possible to change vendor id to intel ? Thank you very much for the help. -- Best Regards, Jiatong Shen

how to connect commit to email patch

2022-11-22 Thread Jiatong Shen
tool to either obtain a patchset list or build a relationship between commit and git-email? Thank you very much for the help. -- Best Regards, Jiatong Shen

Re: how to connect commit to email patch

2022-11-23 Thread Jiatong Shen
On Wed, 23 Nov 2022 at 06:12, Jiatong Shen wrote: > >I am trying to investigate bug fixes and new features for qemu from > 4.2. I noticed qemu's commits are reviewed through email, but right now the > only way that I found to connect commits to a particular email is throu

download kvm keynote slides

2022-11-29 Thread Jiatong Shen
Hello community, Sorry in advance if this is not the right place to ask.. Where could I download kvm forum's keynote for the past 3 years? I googled but only found http://www.linux-kvm.org/page/KVM_Forum_2015 very old documents. Thank you for the help. -- Best Regards, Jiatong Shen

Re: download kvm keynote slides

2022-11-30 Thread Jiatong Shen
Ah, thank you very much. My bad, I should've read the schedules more carefully.. Best, Jiatong Shen On Wed, Nov 30, 2022 at 5:01 PM Thomas Huth wrote: > On 30/11/2022 05.00, Jiatong Shen wrote: > > Hello community, > > > > Sorry in advance if this is not the

windows 2019 on qemu 4.2.0 & ubuntu kernel 4.15.0-72 stuck

2022-12-05 Thread Jiatong Shen
question is what could be the possible reason for such behavior. Thank you very much in advance for you help. -- Best Regards, Jiatong Shen

about 2a9758c51e and tsx-ctrl

2022-12-12 Thread Jiatong Shen
Regards, Jiatong Shen

migrate from qemu 2.11 to qemu 4.2 failed on arm machine

2023-01-29 Thread Jiatong Shen
tps://elixir.bootlin.com/qemu/v4.2.1/source/target/arm/helper.c#L11134>* and *ARM_FEATURE_M *'s value is changed from 2.11 to 4.2. My question is do we support migrating from 2.11 to 4.2 on aarch64 platform? Thank you much for the help -- Best Regards, Jiatong Shen

Re: migrate from qemu 2.11 to qemu 4.2 failed on arm machine

2023-01-30 Thread Jiatong Shen
Thank you very much for the information! Best, Jiatong Shen On Mon, Jan 30, 2023 at 6:46 PM Peter Maydell wrote: > On Mon, 30 Jan 2023 at 06:53, Jiatong Shen wrote: > > > > Hello community experts, > > > >I am facing an issue to migrate a virtual machine from q

migrating between OS with different default PAGE_SIZE configured

2023-05-09 Thread Jiatong Shen
, migration failed, complaining acpi table-loader size is different. So my question is how to work around this constraint and allow live migration? Thank you very much for the help! -- Best Regards, Jiatong Shen The error log is "Length too large: /rom@etc/table-loader: 0x1 > 0x1000:

arm64 disable some feature bit of ID_AA64ISAR0_EL1

2023-05-16 Thread Jiatong Shen
Regards, Jiatong Shen

Re: arm64 disable some feature bit of ID_AA64ISAR0_EL1

2023-05-17 Thread Jiatong Shen
invariant system registers? thank you very much for the generous support! Best, Jiatong Shen On Wed, May 17, 2023 at 9:13 PM Peter Maydell wrote: > On Wed, 17 May 2023 at 14:06, Peter Maydell > wrote: > > > > On Wed, 17 May 2023 at 03:23, Jiatong Shen > wrote: > &

Re: arm64 disable some feature bit of ID_AA64ISAR0_EL1

2023-05-17 Thread Jiatong Shen
Thank you very much for detail explanation! Best, Jiatong Shen On Wed, May 17, 2023 at 11:21 PM Peter Maydell wrote: > On Wed, 17 May 2023 at 15:36, Jiatong Shen wrote: > > > > Thank you very much for the clarification. Although cpu type cannot be > changed, another

GPU passthrough memory bandwidth performance degration

2023-07-03 Thread Jiatong Shen
etal machine, the result is [image: image.png] in the virtual machine, the result is, [image: image.png] My question is what could be the reason for the degradation and is there anything I can do to improve it? Thank you very much for the help. -- Best Regards, Jiatong Shen

qemu aarch64 info registers PC register not changing

2023-07-10 Thread Jiatong Shen
: every time I issue the command, PC register is always the value. My question is should PC value be changed every time an instruction completes? Thank you very much. The qemu version is 4.2.1. And the virtual machine is accelerated by KVM. -- Best Regards, Jiatong Shen

Re: qemu aarch64 info registers PC register not changing

2023-07-13 Thread Jiatong Shen
help! Best, Jiatong Shen On Mon, Jul 10, 2023 at 5:45 PM Peter Maydell wrote: > On Mon, 10 Jul 2023 at 09:12, Jiatong Shen wrote: > > > > Hello community experts, > > > > I am trying to learn some arm64 basics using qemu. I would like to > retrieve a register

does windows 2012 supports memory hot plugging on qemu 6.2

2023-08-10 Thread Jiatong Shen
pnpmem.sys cannot properly handle the device. I also tried qemu 4.2 and it seems to be working fine. So my question is is windows 2012 supports memory hot plugging on qemu 6.2? And where can I find some logs to identify the issue? Thank you. -- Best Regards, Jiatong Shen the dimm device xml looks

how to saving some memory for windows virtual machine

2023-08-23 Thread Jiatong Shen
ay to save windows virtual machine's memory other than KSM? Thank you very much for helping. -- Best Regards, Jiatong Shen

how to debug kvm run failed bad address error

2023-09-07 Thread Jiatong Shen
. -- Best Regards, Jiatong Shen the qemu commad is in attachment /usr/bin/qemu-system-aarch64 \ -name guest=instance-4e08,debug-threads=on \ -S \ -object secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-55-instance-4e08/master-key.aes \ -blockdev '{"dri

pci passhthrough device's pci mem cannot mapped

2023-10-30 Thread Jiatong Shen
very much for help. -- Best Regards, Jiatong Shen kernel message: [mem 0xc000-0xfeffbfff] available for PCI devices [Thu Oct 26 15:16:42 2023] pci :00:03.0: [10de:2235] type 00 class 0x030200 [Thu Oct 26 15:16:42 2023] pci :00:03.0: reg 0x10: [mem 0xfb00-0xfbff] [Thu

Re: pci passhthrough device's pci mem cannot mapped

2023-11-04 Thread Jiatong Shen
.0. Thank you very much for the help. Best Regards, Jiatong Shen On Tue, Oct 31, 2023 at 6:58 PM Peter Maydell wrote: > On Tue, 31 Oct 2023 at 06:51, Jiatong Shen wrote: > > > > Hello community experts, > > > > I am using a 4.2.0 versioned qemu and passthrough an

Help on 146818 rtc caused VM crash

2024-10-28 Thread Jiatong Shen
created by OpenStack where HPET, timer, etc are not enabled. I have try to upload a patch to the mailing list and could you please review it (https://lists.gnu.org/archive/html/qemu-devel/2024-10/msg02557.html) and leave me some feedback? Thank you very much. -- Best Regards, Jiatong Shen

RBD timeout 0 and QEMU process stuck during migration

2024-12-20 Thread Jiatong Shen
(for example, virsh domjobinfo command is stuck indefinitely). My question is is there any recommendation for this situation? can I possibly cancel live migration under such circumstances? -- Best Regards, Jiatong Shen

Re: introduce new dependency

2025-02-21 Thread Jiatong Shen
Thank you for your answer. On Fri, Feb 21, 2025 at 8:06 PM Thomas Huth wrote: > > On 21/02/2025 11.21, Jiatong Shen wrote: > > Hello Experts, > > > > I am analyzing introducing new dependencies to support more sm4 > > encryption features. The library I w

introduce new dependency

2025-02-21 Thread Jiatong Shen
Hello Experts, I am analyzing introducing new dependencies to support more sm4 encryption features. The library I want to try to combine is GmSSL which is licensed under Apache 2.0. Is it compatible with the QEMU code base? Thank you very much for the help. -- Best Regards, Jiatong Shen

How to convert ovf image to qcow2

2025-03-04 Thread Jiatong Shen
Regards, Jiatong Shen