Hi,
I'd like to emulate an armhf platform with at least 2, better 4 or more GB RAM,
allthough didn't find one supported by qemu. (most was vexpress-a9
with up to 1 GB)
Since out in the wild there are ARM devices like the imx6
with up to 2GB, this seems to be quite odd.
Do you have a hint, where t
f
> each element inside struct VRing?
Please see the virtio specification:
https://github.com/rustyrussell/virtio-spec
It defines the virtio-blk device.
Stefan
ts?
Tools like iostat(1) can tell you about in-flight requests at the Linux
block layer level.
Stefan
On Mon, Jan 06, 2014 at 02:55:54PM +0800, 叶绍琛 wrote:
> hi, all:
>
>
> There is a problem when I use ceph rbd for qemu storage. I launch 4 virtual
> machines, and start 5G random write test at the same time. Under such heavy
> I/O, the network to
> virtual machine almost unusable, the network l
re's nothing really special here. NBD is just considered shared
storage.
Stefan
1: warning: unused variable ‘newpath’
[-Wunused-variable]
gchar newpath[MAXPATHLEN] = {0};
^
make: *** [qga/channel-win32.o] error 1
Does anyone know, what this error means?
KR, Stefan
Do you have any other thoughts on the pinning part?
Use libvirt if you can. It will save you a ton of time.
If you really cannot use it, you can still look at its source code to
understand how it does what it does. See qemuProcessDetectVcpuPIDs() in
libvirt and the QEMU query-cpus
Gerd Hoffmann
Alexander Graf
:)
Stefan
ke to
contribute!
Enjoy,
Stefan
, 41,000 unique visitors, and over 1,000,000 hits!
Top disk image by downloads: Day 1 - Slacker's time travel by Gerd
Hoffmann. Congratulations Gerd!
Full details:
http://blog.vmsplice.net/2014/12/qemu-advent-calendar-2014-retrospective.html
Thanks and Happy New Year!
Stefan
On Tue, Jul 14, 2015 at 05:39:13PM +0300, Gleb Stepanov wrote:
> I've measured performance on qcow2 image mounted to nb0 device.
nb0 device?
> I run tests and
> launch iostat -x 1 command to browse I/O operations. Test consists of
> sequential read operations with 1 MB size. I've get following ou
On Wed, Jul 15, 2015 at 02:04:17PM +0300, Gleb Stepanov wrote:
> Hello, all.
This is a duplicate. Please see my reply to your previous email.
pgpK7pgH64ikI.pgp
Description: PGP signature
after upgradeing my qemu installation from 2.0.0 to 2.3.0 my windows 7
guest installation bacame deactivated. If I run the same disk image with
the same parameters in qemu 2.0.0 again windows 7 is still activated.
Are there any changes in hardware presented to the guest between qemu
versions? T
Am 09.08.2015 12:50, schrieb Stefan Treuheit:
after upgradeing my qemu installation from 2.0.0 to 2.3.0 my windows 7
guest installation bacame deactivated. If I run the same disk image
with the same parameters in qemu 2.0.0 again windows 7 is still
activated. Are there any changes in hardware
ficult is this and is there some one out there
> who has any plan to do this?
CCing Alberto Garcia, QEMU I/O throttling maintainer.
Take a look at include/qemu/throttle.h. That is the common throttling
API.
Stefan
signature.asc
Description: PGP signature
> i figured out how to use virtio-blk but i can't find any reference on
> how to use vhost scsi
Back in 2012 I used the following host CD-ROM passthrough script for
testing. Nowadays I would suggest looking into targetcli
(http://linux-iscsi.org/wiki/Targetcli) instead of poking configfs
directly
bout the same - they both do the same thing and there's no great
advantage to a kernel thread vs userspace thread (they use essentially
the same functionality inside the kernel).
Stefan
signature.asc
Description: PGP signature
RAM.
I'd also suggest the -enable-kvm option to get better performance.
Stefan
signature.asc
Description: PGP signature
lter
> echo virtio_pci_legacy_probe >> /sys/kernel/debug/tracing/set_ftrace_filter
> echo virtio_pci_legacy_remove >> /sys/kernel/debug/tracing/set_ftrace_filter
> echo virtio_queue_rq >> /sys/kernel/debug/tracing/set_ftrace_filter
These functions are in the virtio guest drivers. You can trace them
inside the guest, the host doesn't call them.
I guess you haven't set up ftrace correctly. If you have trouble with
ftrace, try using perf-probe(1).
Stefan
signature.asc
Description: PGP signature
Each virtio device has a PCI adapter. The two devices are independent.
They don't share anything (generally speaking) or interfere with each
other.
Stefan
signature.asc
Description: PGP signature
On Mon, Sep 26, 2016 at 05:41:55PM +0200, Pradeep Kiruvale wrote:
> I want to add couple of new cli options for the virtio-net driver and use
> them inside the
> virtio-net driver to throttle the packets. I did go through the code and
> did single stepping
> using the gdb, but still could not find
On Thu, Sep 29, 2016 at 04:11:27PM +0200, Pradeep Kiruvale wrote:
> Hi Stefan,
>
> On 28 September 2016 at 10:29, Stefan Hajnoczi wrote:
>
> > On Mon, Sep 26, 2016 at 05:41:55PM +0200, Pradeep Kiruvale wrote:
> > > I want to add couple of new cli options for th
On Mon, Oct 10, 2016 at 03:00:20PM +0200, Pradeep Kiruvale wrote:
> On 10 October 2016 at 11:26, Pradeep Kiruvale
> wrote:
>
> > Hi Stefan,
> >
> > Thanks for the reply.
> >
> > On 30 September 2016 at 15:49, Stefan Hajnoczi wrote:
> >
> >
a Windows guest? Perhaps it's
a bug in the virtio-win drivers.
Stefan
ndar 2016. I'll send you the 2
disk images we discussed this weekend. Looking forward to seeing what
you have in store for us!
Stefan
dar! It was fun to come up with all these disk
images and we hope that you've also found some surprises that you enjoyed.
Great job! It's a lot of work but brings joy to many people in the wider
community.
Stefan
On Mon, Dec 26, 2016 at 01:59:13PM +0530, Gadre Nayan wrote:
> I am trying to test SPDK on a Virtual Machine with NVME support. I do not
> have NVME cards on the Host hence wanted to simulate the Hardware, I have
> install nvmeqemu (https://github.com/nvmeqemu/nvmeqemu) for that purpose.
That repo
stimate that
can be generated quickly.
Stefan
signature.asc
Description: PGP signature
On Wed, Feb 15, 2017 at 05:49:58PM +0200, Nir Soffer wrote:
> On Wed, Feb 15, 2017 at 5:14 PM, Stefan Hajnoczi wrote:
> > On Mon, Feb 13, 2017 at 05:46:19PM +0200, Maor Lipchuk wrote:
> >> I was wondering if that is possible to provide a new API that
> >> estimates t
On Wed, Feb 15, 2017 at 04:07:43PM +, Daniel P. Berrange wrote:
> On Wed, Feb 15, 2017 at 05:57:12PM +0200, Nir Soffer wrote:
> > On Wed, Feb 15, 2017 at 5:20 PM, Daniel P. Berrange
> > wrote:
> > > On Wed, Feb 15, 2017 at 03:14:19PM +, Stefan Hajnoczi wrote:
>
On Wed, Feb 22, 2017 at 06:15:47PM +0200, Maor Lipchuk wrote:
> Hi all,
>
> Thank you very much for your help, it was much helpful
> We adopted John Snow advice and implemented our own calculation so we
> can resolve the issue now,
> We plan to drop this code once we can get this estimation from q
I would use the following configure lines. You may want to watch out so
you don't have two versions of the library on your system, though:
libtpms: ./configure --prefix=/usr --with-tpm2 --with-openssl ; make ;
make check ; sudo make install
swtpm: ./configure --prefix=/usr --with-op
files/?source=navbar
Regards,
Stefan
- Original message -
From: anshul makkar
To: Stefan Berger
Cc:
Subject: Re: Trustedgrub2 reports No TPM found
Date: Wed, May 10, 2017 4:41 AM
Hi Stefan,
Thanks..
" swtpm: ./configure --p
IBM TPM tools you should do the following:
export TPM_INTERFACE_TYPE=dev
pcrread -ha 1
That show something like this:
count 1
digest length 32
00 00 00 00 ...
Regards,
Stefan
- Original message -
From: anshul makkar
To: Stefan Berger
Cc
ost_user_event is the only QEMU trace event that currently exists for
vhost-user.
Guidelines for submitting patches are here if you decide to add more:
http://wiki.qemu.org/Contribute/SubmitAPatch
Stefan
signature.asc
Description: PGP signature
On Thu, Jul 20, 2017 at 10:38:07AM +0800, Sam wrote:
> Hi all,
>
> I want to add new trace-event and log it, so I add into $QEMU/trace-event
> like this:
>
> io_mem_init(void) ""
> >
>
> and after configure, $QEMU/build/trace-events-all also have this.
> then I add code like this into $QEMU/exec
ith some parameter maybe ?) that will not raise the error?
Yes, see the qemu-img check repair command-line I posted above.
> Finally, are we doing the right thing to get the image offset in order to
> reduce its size to optimal?
>
> (If you wonder why we need to reduce the image size, this is because during
> snapshot merge, we extend the image size to accumulate the data of the top
> and the base images.)
Yes, qemu-img check is the way to do this.
You're probably hoping there is another command like "qemu-img info"
that displays the end of image offset but unfortunately you can only
collect this information by performing a check (it scans the entire
image and can therefore produce the end of image offset).
Stefan
is not
accessing it. If thoses conditions are met then you can use it.
Stefan
signature.asc
Description: PGP signature
On Mon, Jan 22, 2018 at 10:06:26AM +0800, Hongzhi, Song wrote:
> Hello,
>
> I create a virtual disk-image using qemu-img.
>
> And then I use /dev/nbd to map the image.
>
> I mount the /dev/nbd to a local dir with ext4-format
>
> Finally, I have some trouble about ext4-filesystem and block devic
On Sun, Apr 08, 2018 at 10:35:16PM +0300, Benny Zlotnik wrote:
What type of storage are the source and destination images? (e.g.
source is a local qcow2 file on xfs, destination is a raw file on NFS)
> $ gdb -p 13024 -batch -ex "thread apply all bt"
> [Thread debugging using libthread_db enabled
On Mon, Apr 09, 2018 at 10:38:54AM +0300, Benny Zlotnik wrote:
> source: qcow2 on NFS
> target: raw on NFS
Have you tried on a local file system with the same source file
contents?
Which NFS protocol version is being used?
Stefan
signature.asc
Description: PGP signature
choice receives each of these interrupts.
Interrupts are a limited resource, even when using Message-Signalled
Interrupts, so you'll have to choose a maximum number of interrupts that
the device supports.
https://en.wikipedia.org/wiki/Message_Signaled_Interrupts#MSI-X
Stefan
signature.asc
Description: PGP signature
ailure or crash during mirroring - simply discard the new
image and start over.
Stefan
ation/Networking and then do a
web search. There are plenty of guides to setting up networking with
QEMU.
Stefan
bisect(1) will tell you the answer:
https://www.kernel.org/pub/software/scm/git/docs/git-bisect.html
http://git-scm.com/book/en/Git-Tools-Debugging-with-Git#Binary-Search
http://code-worrier.com/blog/git-bisect-basics/
Stefan
number of different storage controllers, including
virtio-blk, virtio-scsi, IDE, USB Mass Storage Device, SD cards, etc.
See hw/block/ for storage controller emulation code, which the guest
drivers invoke through hardware register accesses.
Stefan
//events.linuxfoundation.org/slides/2011/linuxcon-japan/lcj2011_hajnoczi.pdf
Stefan
r disk and put
in the virtio-win ISO.
Stefan
orruption when the guest writes to a
sector that is currently being copied.
There is also an API to batch writes so they can be merged. virtio-blk
uses this and may therefore change the I/O pattern.
Stefan
ould someone tell me the reason?
See block-migration.c:set_dirty_tracking():
bdrv_set_dirty_tracking(bmds->bs, enable ? BLOCK_SIZE : 0);
The dirty bitmap granularity is set to BLOCK_SIZE. Any write in the
open range [sector, sector + BLOCK_SIZE / BDRV_SECTOR_SIZE) will mark
the bit dirty.
Stefan
eak;
> +default:
> +s->phy_reg[addr] = data;
> +}
> +}
Patches welcome! Please see:
http://qemu-project.org/Contribute/SubmitAPatch
I suggest you contact the author of this patch and ask them to submit
it.
Stefan
Hi,
I have a very curious problem on an oVirt-like virtualization host
whose storage lives on gluster (as qcow2).
The problem is that of the writes done by ZFS, whose sizes according
to blktrace are a mixture of 8, 16, 24, ... 256 (512 byte)
blocks,sometimes the first 4KB or more, but at least th
(moved thread to qemu-block / qemu-devel)
architecture.
>
> This kind of project would be indeed very suitable to QEMU. Stefan,
> perhaps you could help by providing the text for our Summer of Code
> submission?
Philippe, would you like to be the Google Season of Docs administrator
for QEMU? I don't have enough bandwi
e it runs.
You can various features that influence scheduling like cgroups, CPU
affinity, etc to control vCPU scheduling. But the main thing to
understand is that vCPUs are just threads running on the host Linux
scheduler. All the usual tools are at your disposal.
Libvirt also provides support for c
e rules match on the "vd*" name. If you are writing udev rules you
could use the same approach.
Is there a specific problem faced when there is no static device major
number?
Stefan
signature.asc
Description: PGP signature
On Thu, Jul 16, 2020 at 11:33:44AM +0200, Stefano Garzarella wrote:
> +Cc Michael, Stefan, virtualizat...@lists.linux-foundation.org
>
> On Thu, Jul 16, 2020 at 09:06:14AM +0100, Richard W.M. Jones wrote:
> >
> > https://bugzilla.redhat.com/show_bug.cgi?id=1857515
>
e but I'm not sure how useful it would be to read many gigabytes of
data from the disk. The process would be slow and degrade performance of
VMs by consuming I/O bandwidth.
Stefan
signature.asc
Description: PGP signature
direct=1 so that each I/O results in a virtio-fs request.
Otherwise the I/O pattern is not directly controlled by the benchmark
but by the page cache (readahead, etc).
Using numactl(8) or taskset(1) to launch virtiofsd allows you to control
NUMA and CPU scheduling properties. For example, y
ly because the virtiofsd thread pool
completes requests at a different rate. Maybe it affects how the guest
page cache is populated and a slower virtiofsd leads to more efficient
page cache activity in the guest (-> fewer and bigger FUSE read/write
requests)?
Stefan
signature.asc
Description: PGP signature
Hello,
I am running Qemu 5.0 on Arch Linux with Xen 4.14. For testing purposes I
installed Qemu 5.1 as well.
I installed two new Win10 virtual machines with standard VGA graphics
adapters. One machine is using seabios and the other is using ovmf as firmware.
For testing purposes I was running t
?
Best Regards,
Stefan Nilsson
Hi Jakob,
Thanks for sharing the RFC 7505 Null MX and SPF TXT DNS record info.
Thomas Huth pointed out this email thread to me and domain names
belonging to the QEMU project have been updated to prevent email
spoofing.
Stefan
signature.asc
Description: PGP signature
-advent-calendar.org website.
Details of the disk image requirements are below if you want an idea
of the format of disk images that people contribute.
Have time? Want to get involved in the QEMU community? Please reply
and help make QEMU Advent Calendar 2020 happen!
Stefan
---
Disk image require
value change) and it internally (presumably) then seals the secreted
against those new values so upon the next reboot it works again? Do you
really need to go through the whole re-encryption process? It sounds
like unattractive even for a physical machine firmware update...
Stefan
On 12/20/20 8:25 AM, Michael Weiser wrote:
Hi Stefan,
On Sat, Dec 19, 2020 at 11:02:29PM -0500, Stefan Berger wrote:
The whole purpose of measured/trusted boot is to reflect some known
measurement values of a known BIOS in the TPM PCRs. Unfortunately this bites
with sealing to those values
Am 20.02.21 um 00:07 schrieb Philippe Mathieu-Daudé:
Cc'ing Stefan / Yonggang / Paolo.
On 2/20/21 12:03 AM, Peter Maydell wrote:
On Fri, 19 Feb 2021 at 22:54, nerus wrote:
Good evening, I turn to you because I have a problem that does not appear in
the official documentation, nor i
re.
All maintainers and most regular contributors should follow the issue
tracker so that QEMU developers are aware of new issues. Please do this!
An alternative mechanism is the RSS/Atom feed available by clicking the
"Subscribe to RSS feed" button left of the "New issue" button h
hing cool and check
with you to make sure it hasn't been done before.
Stefan
f you experience SSL certificate errors temporarily, please be
patient. I recommend not trusting files from download.qemu.org while
you see SSL errors. I'm monitoring this and will revert if SSL doesn't
come up correctly.
Thanks,
Stefan
SSL is working now.
Stefan
u/vulnerabilities/spectre_v2:Mitigation: Full AMD
retpoline, IBPB: conditional, STIBP: disabled, RSB filling
/sys/devices/system/cpu/vulnerabilities/tsx_async_abort:Not affected
does show STIBP: disabled.
Is this expected? Is there any hint on how vulnerabilities should look
like for optimal performance.
Greets,
Stefan
u/vulnerabilities/spectre_v2:Mitigation: Full AMD
retpoline, IBPB: conditional, STIBP: disabled, RSB filling
/sys/devices/system/cpu/vulnerabilities/tsx_async_abort:Not affected
does show STIBP: disabled.
Is this expected? Is there any hint on how vulnerabilities should look
like for optimal performance.
Greets,
Stefan
73 matches
Mail list logo