Set NOCOW flag to newly created images to solve performance issues on btrfs.
Btrfs has terrible performance when hosting VM images, even more when the guest
in those VM are also using btrfs as file system. One way to mitigate this bad
performance is to turn off COW attributes on VM files (since ha
On Wed, 2013-11-13 at 21:43 +0200, Michael S. Tsirkin wrote:
> On Wed, Nov 13, 2013 at 06:11:25PM +0200, Marcel Apfelbaum wrote:
> > Machines before 1.6 used ACPI supplied by SeaBios,
> > for 1.7+ machines the tables are build by qemu.
> > This patch checks that both machines have the same ACPI tab
Ping?
Regards,
Ard.
On 6 November 2013 15:21, Ard Biesheuvel wrote:
> This adds support for the AESE/AESD/AESMC/AESIMC instructions that
> are available on some v8 implementations of Aarch32.
>
> Signed-off-by: Ard Biesheuvel
> ---
> target-arm/Makefile.objs | 1 +
> target-arm/cpu.c
Il 14/11/2013 00:09, Peter Maydell ha scritto:
> +#ifndef __OPTIMIZE__
> +/* This function is only called inside conditionals which we
> + * rely on the compiler to optimize out when CONFIG_KVM is not
> + * defined.
> + */
> +uint32_t kvm_arch_get_supported_cpuid(KVMState *env, uint32_t function,
>
Il 14/11/2013 06:51, Alexey Kardashevskiy ha scritto:
>> > The wrappers are not usable where you have constant expressions as in
>> > your case. So your original patch is good IMO, except for the __ at the
>> > beginning of __BITNR.
>
> There are 2 macros, one (BITNR) uses the other (__BITNR). Wh
Michael S. Tsirkin redhat.com> writes:
>
> At the moment, memory radix tree is already variable width, but it can
> only skip the low bits of address.
>
> This is efficient if we have huge memory regions but inefficient if we
> are only using a tiny portion of the address space.
>
> After we h
This adds "remove_break" command to block, which removes a break point defined
with "break". It is used in iotests.py to pause and resume drive in block job
cases to make the test deterministic.
v4: [01] Added.
[03] Add common method pair "pause_drive" and "resume_drive".
[04] Also fix 040
iotests.py already has one.
Signed-off-by: Fam Zheng
---
tests/qemu-iotests/040 | 15 ---
1 file changed, 15 deletions(-)
diff --git a/tests/qemu-iotests/040 b/tests/qemu-iotests/040
index a2e18c5..0e85136 100755
--- a/tests/qemu-iotests/040
+++ b/tests/qemu-iotests/040
@@ -39,21 +3
They wrap blkdebug "break" and "remove_break".
Add optional argument "resume" to cancel_and_wait().
Signed-off-by: Fam Zheng
---
tests/qemu-iotests/iotests.py | 17 -
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/tests/qemu-iotests/iotests.py b/tests/qemu-iotests
Pause the drive and start the block job, so we won't miss the block job.
Signed-off-by: Fam Zheng
---
tests/qemu-iotests/030 | 16 +++-
tests/qemu-iotests/040 | 4 +++-
tests/qemu-iotests/055 | 15 +++
3 files changed, 25 insertions(+), 10 deletions(-)
diff --git a/test
This adds "remove_break" command which is the reverse of blkdebug
command "break": it removes all breakpoints with given tag and resumes
all the requests.
Signed-off-by: Fam Zheng
---
block.c | 13 +
block/blkdebug.c | 26 ++
include
Am 14.11.2013 um 09:15 hat Chunyan Liu geschrieben:
> Set NOCOW flag to newly created images to solve performance issues on btrfs.
>
> Btrfs has terrible performance when hosting VM images, even more when the
> guest
> in those VM are also using btrfs as file system. One way to mitigate this bad
On Wed, Nov 13, 2013 at 11:17:12AM -0500, Jeff Cody wrote:
> On Wed, Nov 13, 2013 at 10:33:10AM +0100, Stefan Hajnoczi wrote:
> > +VHDX
> > +M: Jeff Cody
> > +S: Supported
> > +F: block/vhdx.*
>
> This should be block/vhdx* instead, to pick up vhdx-endian.c and
> vhdx-log.c as well.
Oops, sorry.
On 11/14/2013 05:01 PM, Benjamin Herrenschmidt wrote:
> On Thu, 2013-11-14 at 16:01 +1100, Alexey Kardashevskiy wrote:
>> So the question is - is there any proper (i. e. qemu-upstreamable) way to
>> detect a VGA device presence and create additional devices (OHCI, keyboard,
>> mouse) as "-vga" does
cy...@suse.com writes:
> Set NOCOW flag to newly created images to solve performance issues on btrfs.
>
> Btrfs has terrible performance when hosting VM images, even more when the
> guest
> in those VM are also using btrfs as file system. One way to mitigate this bad
> performance is to turn off
> -Original Message-
> From: Stefano Stabellini [mailto:stefano.stabell...@eu.citrix.com]
> Sent: 13 November 2013 18:06
> To: Paul Durrant
> Cc: qemu-devel@nongnu.org; xen-de...@lists.xen.org
> Subject: Re: [Qemu-devel] [PATCH] xen-pvdevice: make device-id property
> compulsory
>
> On Wed
Il 13/11/2013 20:35, Michael S. Tsirkin ha scritto:
> +static void pc_compat_1_7(QEMUMachineInitArgs *args)
> +{
> +}
> +
> static void pc_compat_1_6(QEMUMachineInitArgs *args)
> {
> has_pci_info = false;
This should call pc_compat_1_7(args), for both piix and q35.
Il 13/11/2013 20:35, Michael S. Tsirkin ha scritto:
> +static QEMUMachine pc_q35_machine_v1_8 = {
> +PC_Q35_1_8_MACHINE_OPTIONS,
> +.name = "pc-q35-1.8",
> +.alias = "q35",
> +.init = pc_q35_init,
> +};
> +
> #define PC_Q35_1_7_MACHINE_OPTIONS PC_Q35_MACHINE_OPTIONS
Also, you prob
Am 14.11.2013 um 10:44 hat Alex Bennée geschrieben:
>
> cy...@suse.com writes:
>
> > Set NOCOW flag to newly created images to solve performance issues on btrfs.
> >
> > Btrfs has terrible performance when hosting VM images, even more when the
> > guest
> > in those VM are also using btrfs as fi
On Thu, Nov 14, 2013 at 10:21:02AM +0200, Marcel Apfelbaum wrote:
> On Wed, 2013-11-13 at 21:43 +0200, Michael S. Tsirkin wrote:
> > On Wed, Nov 13, 2013 at 06:11:25PM +0200, Marcel Apfelbaum wrote:
> > > Machines before 1.6 used ACPI supplied by SeaBios,
> > > for 1.7+ machines the tables are buil
Several changes that affect compatibility between 1.8 and 1.7 are
already planned, so we need pc compat structures in place.
Signed-off-by: Michael S. Tsirkin
---
Changes from v1:
make 1.6 call 1.7 as suggested by Paolo
hw/i386/pc_piix.c | 30 +-
hw/i386/pc_q35.
Il 14/11/2013 11:37, Michael S. Tsirkin ha scritto:
> Several changes that affect compatibility between 1.8 and 1.7 are
> already planned, so we need pc compat structures in place.
>
> Signed-off-by: Michael S. Tsirkin
> ---
>
> Changes from v1:
> make 1.6 call 1.7 as suggested by Paolo
>
>
This series decouples readline.c from the QEMU monitor and then reuses it in
qemu-io. This adds history and command completion to the qemu-io interactive
prompt.
Stefan Hajnoczi (5):
readline: decouple readline from the monitor
readline: move readline to a generic location
osdep: add qemu_s
Now that the monitor and readline are decoupled, readline.h no longer
belongs in include/monitor/. Put the header into include/qemu/.
Move the source file into util/ so it can be linked as part of
libqemuutil.a.
Signed-off-by: Stefan Hajnoczi
---
Makefile.objs | 1 -
include/mon
Make the readline.c functionality reusable. Instead of calling
monitor_printf() and monitor_flush() directly, invoke function pointers
provided by the user.
This way readline.c does not know about Monitor and other users will be
able to make use of readline.c.
Note that there is already an "opaq
Autocomplete qemu-io commands at the interactive prompt.
Note this only completes command names and not their options.
Signed-off-by: Stefan Hajnoczi
---
include/qemu-io.h | 3 +++
qemu-io-cmds.c| 15 +++
qemu-io.c | 8 +++-
3 files changed, 25 insertions(+), 1 del
Using stdin with readline.c requires disabling echo and line buffering.
Add a portable wrapper to set the terminal attributes under Linux and
Windows.
Signed-off-by: Stefan Hajnoczi
---
include/qemu/osdep.h | 2 ++
util/oslib-posix.c | 18 ++
util/oslib-win32.c | 19
Use readline.c for command-line history. There was support for GNU
Readline and BSD Editline but it was never compiled in. Since QEMU has
its own readline.c, just use that when qemu-io runs with stdin attached
to a terminal.
Signed-off-by: Stefan Hajnoczi
---
qemu-io.c | 103 ++
On 14 November 2013 05:40, Stefan Weil wrote:
> If you happen to write a v3 patch, g_assert_not_reached would be even
> better than abort.
>
> It's impossible to tell why QEMU terminated after an assert without a
> debugger,
> whereas g_assert_not_reached clearly shows the location.
Maybe. I was
Il 14/11/2013 12:06, Peter Maydell ha scritto:
> On 14 November 2013 05:40, Stefan Weil wrote:
>> If you happen to write a v3 patch, g_assert_not_reached would be even
>> better than abort.
>>
>> It's impossible to tell why QEMU terminated after an assert without a
>> debugger,
>> whereas g_assert
IASL stores it's revision in each table header it generates.
That's not nice since guests will see a change each time
they move between hypervisors.
We generally fill our own info for tables,
but we (and seabios) forgot to do this for the built-in DSDT.
Signed-off-by: Michael S. Tsirkin
---
Prob
Forward-port the following commit from seabios:
commit 995bbeef78b338370f426bf8d0399038c3fa259c
Author: Paul Menzel
Date: Thu Oct 3 11:30:52 2013 +0200
The ASL Optimizing Compiler version 20130823-32 [Sep 11 2013] issues the
following warning.
$ make
[…]
Am 13.11.2013 um 20:37 hat Max Reitz geschrieben:
> If a block device is unbacked, a streaming blockjob should immediately
> finish instead of beginning to try to stream, then noticing the backing
> file does not contain even the first sector (since it does not exist)
> and then finishing normally.
Am 14.11.2013 um 03:33 hat Fam Zheng geschrieben:
> Signed-off-by: Fam Zheng
> ---
> qapi-schema.json | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/qapi-schema.json b/qapi-schema.json
> index 931d710..3f2b5ef 100644
> --- a/qapi-schema.json
> +++ b/qapi-schema.json
> @
Am 14.11.2013 um 02:43 hat Fam Zheng geschrieben:
> On 2013年11月13日 22:02, Kevin Wolf wrote:
> >Am 13.11.2013 um 13:40 hat Fam Zheng geschrieben:
> >>This change is manually copy&pasted into thunderbird. It has a super
> >>long line to kill `git send-email`, and is wrapped by email
> >>composer. So
Am 14.11.2013 um 04:37 schrieb Alexey Kardashevskiy :
> On 11/14/2013 05:01 PM, Benjamin Herrenschmidt wrote:
>> On Thu, 2013-11-14 at 16:01 +1100, Alexey Kardashevskiy wrote:
>>> So the question is - is there any proper (i. e. qemu-upstreamable) way to
>>> detect a VGA device presence and creat
[adding libvirt]
On 11/13/2013 10:01 PM, Alexey Kardashevskiy wrote:
> Hi everyone.
>
> Here is a problem with the SPAPR machine and a libvirt's habit to use
> "-nodefaults".
>
> When we run QEMU with "-vga std", a VGA device is created from the
> machine_init callback and if VGA is added, then
On Mon, Nov 11, 2013 at 02:54:59PM +0100, Kevin Wolf wrote:
> If an explicit driver option is present, but doesn't specify a valid
> driver, then bdrv_open() should fail instead of probing the format.
>
> Signed-off-by: Kevin Wolf
> ---
> block.c| 5 +
> tests/qemu-iotest
On 11/14/2013 01:30 AM, Michael S. Tsirkin wrote:
> On Tue, Nov 12, 2013 at 10:33:13AM -0600, Corey Minyard wrote:
>> Postpone the addition of the ACPI and SMBIOS tables until after
>> device initialization. This allows devices to add entries to these
>> tables.
>>
>> Signed-off-by: Corey Minyard
On 11/14/2013 01:32 AM, Michael S. Tsirkin wrote:
> On Tue, Nov 12, 2013 at 11:08:07AM -0600, Corey Minyard wrote:
>> On 11/12/2013 10:43 AM, Eric Blake wrote:
>>> On 11/12/2013 09:33 AM, Corey Minyard wrote:
Allow a socket that connects to reconnect on a periodic basis if it
fails to con
On Tue, Nov 12, 2013 at 01:10:24PM +0200, Avi Kivity wrote:
> Out-of-the-box, 'make install' sets up an unusable qemu-bridge-helper since
> it doesn't have the required capabilities.
>
> Fix by adding them.
Up until now, downstreams had to make the bridge helper executable
setuid, add the cap_net
On Thu, Nov 14, 2013 at 07:28:00AM -0600, Corey Minyard wrote:
> On 11/14/2013 01:30 AM, Michael S. Tsirkin wrote:
> > On Tue, Nov 12, 2013 at 10:33:13AM -0600, Corey Minyard wrote:
> >> Postpone the addition of the ACPI and SMBIOS tables until after
> >> device initialization. This allows devices
On Thu, 14 Nov 2013 09:40:12 +0200
"Michael S. Tsirkin" wrote:
> On Wed, Nov 13, 2013 at 01:04:10PM +0100, Igor Mammedov wrote:
> > On Wed, 13 Nov 2013 00:10:39 +0200
> > "Michael S. Tsirkin" wrote:
> >
> > > On Tue, Nov 12, 2013 at 07:26:02PM +0100, Paolo Bonzini wrote:
> > > > Il 12/11/2013 1
On 11/14/2013 07:38 AM, Michael S. Tsirkin wrote:
> On Thu, Nov 14, 2013 at 07:28:00AM -0600, Corey Minyard wrote:
>> On 11/14/2013 01:30 AM, Michael S. Tsirkin wrote:
>>> On Tue, Nov 12, 2013 at 10:33:13AM -0600, Corey Minyard wrote:
Postpone the addition of the ACPI and SMBIOS tables until a
On Thu, 2013-11-14 at 14:16 +0200, Michael S. Tsirkin wrote:
> Forward-port the following commit from seabios:
>
> commit 995bbeef78b338370f426bf8d0399038c3fa259c
> Author: Paul Menzel
> Date: Thu Oct 3 11:30:52 2013 +0200
>
> The ASL Optimizing Compiler version 20130823-32 [Sep 11 2013] i
On Wed, Nov 13, 2013 at 08:37:58PM +0100, Max Reitz wrote:
> If a block device is unbacked, a streaming blockjob should immediately
> finish instead of beginning to try to stream, then noticing the backing
> file does not contain even the first sector (since it does not exist)
> and then finishing
On 11/14/2013 01:46 AM, Michael S. Tsirkin wrote:
> BTW you included this:
>
> Cc: qemu-devel@nongnu.org, Andreas Färber ,
> Bret Ketchum ,
> Corey Minyard
>
> the last address: cminy...@mvista.com is bouncing.
>
That's actually not the one bouncing. The one bouncing is
cminy...@mvsit
On Thu, Nov 14, 2013 at 07:40:31AM -0600, Corey Minyard wrote:
> On 11/14/2013 07:38 AM, Michael S. Tsirkin wrote:
> > On Thu, Nov 14, 2013 at 07:28:00AM -0600, Corey Minyard wrote:
> >> On 11/14/2013 01:30 AM, Michael S. Tsirkin wrote:
> >>> On Tue, Nov 12, 2013 at 10:33:13AM -0600, Corey Minyard
On Thu, 2013-11-14 at 14:01 +0200, Michael S. Tsirkin wrote:
> IASL stores it's revision in each table header it generates.
> That's not nice since guests will see a change each time
> they move between hypervisors.
> We generally fill our own info for tables,
> but we (and seabios) forgot to do th
On Wed, Nov 13, 2013 at 02:51:39PM -0600, Corey Minyard wrote:
> On 11/13/2013 02:55 AM, Gerd Hoffmann wrote:
> > Hi,
> >
> >> Allow a socket that connects to reconnect on a periodic basis if it
> >> fails to connect at startup or if the connection drops while in use.
> >> +chr->backend = i;
In case the smc91c111 interface signals that it cannot receive more
packets the packets are queued and further reception will be disabled.
In case the interface is again ready to receive packets notify the upper
layer.
Signed-off-by: Sebastian Huber
---
hw/net/smc91c111.c |1 +
1 files chang
On 11/14/2013 06:41 AM, Stefan Hajnoczi wrote:
> On Wed, Nov 13, 2013 at 08:37:58PM +0100, Max Reitz wrote:
>> If a block device is unbacked, a streaming blockjob should immediately
>> finish instead of beginning to try to stream, then noticing the backing
>> file does not contain even the first se
Il 14/11/2013 14:41, Stefan Hajnoczi ha scritto:
> Thanks for raising this, it's a bug that we don't verify that the image
> has a backing file.
>
> I'd rather return an error that the user attempted to do something
> pointless. It was a mistake on their part and it helps to bring this to
> their
--On 14 November 2013 10:17:26 +0100 Kevin Wolf wrote:
+#ifdef __linux__
+/* set NOCOW flag to solve performance issue on fs like btrfs */
+int attr;
+attr = FS_NOCOW_FL;
+ioctl(fd, FS_IOC_SETFLAGS, &attr);
+#endif
ioctl() returning an error is ignored. This
Peter, the config option is called: CONFIG_STRICT_DEVMEM
And /dev/mem behaves differently between doing read() and doing mmap().
As Peter already hinted, the memory layout is different on native Midway (which
has DRAM starting at 0) and mach-virt/vexpress (which start at 128MB / 2GB
respectively
--On 14 November 2013 14:23:29 + Alex Bligh wrote:
Also, given FS_NOCOW_FL was only introduced in 2.6.39, should this not
be guarded by
#ifdef FS_NOCOW_FL
(or better tested in configure in case it becomes something other than
a #define in which case this test could replace #ifdef __linux
SMTP does not preserve newlines. This is normally not a problem if the
email body uses DOS or UNIX newlines consistently. In 051.out we mix
UNIX newlines with DOS newlines (since QEMU monitor output uses \r\n).
This patch filters the QEMU monitor output so the golden master file
uses UNIX newlin
On Thu, Nov 14, 2013 at 08:54:11AM +, Avi Kivity wrote:
> Michael S. Tsirkin redhat.com> writes:
>
> >
> > At the moment, memory radix tree is already variable width, but it can
> > only skip the low bits of address.
> >
> > This is efficient if we have huge memory regions but inefficient i
On 11/14/2013 03:29 PM, Stefan Hajnoczi wrote:
On Tue, Nov 12, 2013 at 01:10:24PM +0200, Avi Kivity wrote:
Out-of-the-box, 'make install' sets up an unusable qemu-bridge-helper since
it doesn't have the required capabilities.
Fix by adding them.
Up until now, downstreams had to make the bridge
I agree we should probably make KVM inject a data abort here. That
doesn't change the fact that a userspace program that looks in /dev/mem
without being 100% sure what hardware it is running on is really
dangerous and needs to be fixed.
--
You received this bug notification because you are a memb
On 11/14/13 13:16, Michael S. Tsirkin wrote:
> Forward-port the following commit from seabios:
>
> commit 995bbeef78b338370f426bf8d0399038c3fa259c
> Author: Paul Menzel
> Date: Thu Oct 3 11:30:52 2013 +0200
>
> The ASL Optimizing Compiler version 20130823-32 [Sep 11 2013] issues the
>
On Tue, Aug 27, 2013 at 3:12 PM, Stefan Weil wrote:
> When a Python script is run, Python normally writes bytecode into a .pyc file.
> QEMU's build process uses several Python scripts which are called from
> configure or make.
>
> The generated .pyc files take disk space without being of much use,
On 11/14/2013 04:40 PM, Michael S. Tsirkin wrote:
On Thu, Nov 14, 2013 at 08:54:11AM +, Avi Kivity wrote:
Michael S. Tsirkin redhat.com> writes:
At the moment, memory radix tree is already variable width, but it can
only skip the low bits of address.
This is efficient if we have huge mem
On 11/14/2013 07:34 AM, Stefan Hajnoczi wrote:
> SMTP does not preserve newlines. This is normally not a problem if the
> email body uses DOS or UNIX newlines consistently. In 051.out we mix
> UNIX newlines with DOS newlines (since QEMU monitor output uses \r\n).
>
> This patch filters the QEMU
Commit 7ceeedd016facf8d58e14a0d1417fa7225d71072 ("blockdev-test: add
test case for drive_add duplicate IDs") and commit
43cd209803d6cffb1e1a028c9ff2fd0ff4fce954 ("qdev-monitor-test: add
device_add leak test cases") added qtest tests without specifying
-display none.
As a result, "make check" now t
On Thu, Nov 14, 2013 at 04:56:43PM +0200, Avi Kivity wrote:
> On 11/14/2013 04:40 PM, Michael S. Tsirkin wrote:
> >On Thu, Nov 14, 2013 at 08:54:11AM +, Avi Kivity wrote:
> >>Michael S. Tsirkin redhat.com> writes:
> >>
> >>>At the moment, memory radix tree is already variable width, but it can
On 11/14/2013 05:37 PM, Michael S. Tsirkin wrote:
On Thu, Nov 14, 2013 at 04:56:43PM +0200, Avi Kivity wrote:
On 11/14/2013 04:40 PM, Michael S. Tsirkin wrote:
On Thu, Nov 14, 2013 at 08:54:11AM +, Avi Kivity wrote:
Michael S. Tsirkin redhat.com> writes:
At the moment, memory radix tree
Am 14.11.2013 06:20, schrieb Alexey Kardashevskiy:
> On 11/12/2013 12:31 AM, Andreas Färber wrote:
>> 2) Please move the array out of the function to just before the
>> containing function.
>
> Again, this is just to show. But. Why do you want those properties to be
> outside of the function? Less
Am 14.11.2013 15:45, schrieb Stefan Hajnoczi:
> On Tue, Aug 27, 2013 at 3:12 PM, Stefan Weil wrote:
>> When a Python script is run, Python normally writes bytecode into a .pyc
>> file.
>> QEMU's build process uses several Python scripts which are called from
>> configure or make.
>>
>> The genera
Hi everyone,I know that inside the qemu monitor, we can set the max migration speed through " set_migration_speed 32 ". This '32' means 32MB.My confusion is about the meaning of this 32MB. I checked the code and find that this '32MB' is the buffer size insde QemuFile, which include all the data sub
Commit 1d984a67a95d88f3e708b077dab8adeb47c38c93 added the -B switch
unconditionally. This breaks Python versions before 2.6 which don't
support that switch.
Now configure adds -B only if it is accepted by the Python interpreter.
This modification introduces a small incompatiblity because -B might
Am 14.11.2013 19:07, schrieb Stefan Weil:
> Commit 1d984a67a95d88f3e708b077dab8adeb47c38c93 added the -B switch
> unconditionally. This breaks Python versions before 2.6 which don't
> support that switch.
>
> Now configure adds -B only if it is accepted by the Python interpreter.
>
> This modificat
On 14 November 2013 18:07, Stefan Weil wrote:
> Commit 1d984a67a95d88f3e708b077dab8adeb47c38c93 added the -B switch
> unconditionally. This breaks Python versions before 2.6 which don't
> support that switch.
>
> Now configure adds -B only if it is accepted by the Python interpreter.
>
> This modi
On 05.11.2013 09:51, Stefan Hajnoczi wrote:
> On Sat, Oct 26, 2013 at 03:03:09PM +0200, Max Reitz wrote:
>> Am 20.09.2013 12:32, schrieb Stefan Hajnoczi:
>>> On Thu, Sep 19, 2013 at 05:07:56PM +0200, Max Reitz wrote:
As far as I understand, the I/O speed (the duration of an I/O
operation)
There are a number of places where it would be convenient for ARM
code to have working definitions of KVM constants even in code
which is compiled with CONFIG_KVM not set. In this situation we
can't simply include the kernel KVM headers (which might conflict
with host header definitions or not even
On Thu, 2013-11-14 at 08:04 -0500, Alexander Graf wrote:
> 2) -nodefaults
>
> This mode is meant to pass full control to a management stack which
> wants to implement its own cleverness. The less QEMU tries to be
> smart, the more consistent we are in our interface. This mode really
> is meant as
On 14 November 2013 20:28, Benjamin Herrenschmidt
wrote:
> On Thu, 2013-11-14 at 08:04 -0500, Alexander Graf wrote:
>> 2) -nodefaults
>>
>> This mode is meant to pass full control to a management stack which
>> wants to implement its own cleverness. The less QEMU tries to be
>> smart, the more con
On 11/13/2013 5:14 PM, Richard Henderson wrote:
> On 11/14/2013 06:49 AM, Tom Musta wrote:
>> I have also done quite a bit of random and targeted random testing using
>> Power
>> hardware to produce expected results. The targeted random tests followed
>> your
>> suggestion above: generate AxB +
Am 29.07.2013 18:04, schrieb Stefan Weil:
> Hello,
>
> maybe most developers will already have noticed that the terminal output
> in QEMU's GTK user interface is broken. As far as I know, it never worked,
> but as there are working alternatives, I did not care much and forgot to
> report the issues
On 14.11.2013, at 15:28, Benjamin Herrenschmidt
wrote:
> On Thu, 2013-11-14 at 08:04 -0500, Alexander Graf wrote:
>> 2) -nodefaults
>>
>> This mode is meant to pass full control to a management stack which
>> wants to implement its own cleverness. The less QEMU tries to be
>> smart, the more c
On Thu, 2013-11-14 at 17:23 -0500, Alexander Graf wrote:
> Yes. But I think it's the correct thing to do in this case. X86 also
> doesn't create a USB controller like we would have to. Our pseries
> platform just doesn't have a legacy PC/AT keyboard controller.
Sure, but that implies that -nodefau
Am 14.11.2013 um 17:32 schrieb Benjamin Herrenschmidt
:
> On Thu, 2013-11-14 at 17:23 -0500, Alexander Graf wrote:
>> Yes. But I think it's the correct thing to do in this case. X86 also
>> doesn't create a USB controller like we would have to. Our pseries
>> platform just doesn't have a legacy
On Thu, Nov 14, 2013 at 2:41 PM, Alexander Graf wrote:
>
>
> Am 14.11.2013 um 17:32 schrieb Benjamin Herrenschmidt
> :
>
>> On Thu, 2013-11-14 at 17:23 -0500, Alexander Graf wrote:
>>> Yes. But I think it's the correct thing to do in this case. X86 also
>>> doesn't create a USB controller like we
On Thu, Nov 14, 2013 at 2:32 PM, Benjamin Herrenschmidt
wrote:
> On Thu, 2013-11-14 at 17:23 -0500, Alexander Graf wrote:
>> Yes. But I think it's the correct thing to do in this case. X86 also
>> doesn't create a USB controller like we would have to. Our pseries
>> platform just doesn't have a le
On 14 November 2013 22:32, Benjamin Herrenschmidt
wrote:
> On Thu, 2013-11-14 at 17:23 -0500, Alexander Graf wrote:
>> Yes. But I think it's the correct thing to do in this case. X86 also
>> doesn't create a USB controller like we would have to. Our pseries
>> platform just doesn't have a legacy P
On Thu, 2013-11-14 at 23:03 +, Peter Maydell wrote:
> On 14 November 2013 22:32, Benjamin Herrenschmidt
> wrote:
> > On Thu, 2013-11-14 at 17:23 -0500, Alexander Graf wrote:
> >> Yes. But I think it's the correct thing to do in this case. X86 also
> >> doesn't create a USB controller like we w
'etc/reserved-memory-end' will allow QEMU to tell BIOS where PCI
BARs mapping could safely start in high memory.
Allowing BIOS to start mapping 64-bit PCI BARs at address where it
wouldn't conflict with other mappings QEMU might place before it.
That permits QEMU to reserve extra address space be
On 11/15/2013 10:03 AM, Peter Maydell wrote:
> On 14 November 2013 22:32, Benjamin Herrenschmidt
> wrote:
>> On Thu, 2013-11-14 at 17:23 -0500, Alexander Graf wrote:
>>> Yes. But I think it's the correct thing to do in this case. X86 also
>>> doesn't create a USB controller like we would have to.
On Wed, Nov 13, 2013 at 07:03:03AM +0100, Peter Lieven wrote:
> What is your use case for this seris? QCOW2 creation or converting
> anything to QCOW2? For the later case you could use "qemu-img convert -S 0
> ..."
> starting in 1.8.
The former. Seems "qemu-img convert -S 0" do the same thing but
On Thu, 14 Nov 2013 15:34:06 +0100
Stefan Hajnoczi wrote:
> SMTP does not preserve newlines. This is normally not a problem if the
> email body uses DOS or UNIX newlines consistently. In 051.out we mix
> UNIX newlines with DOS newlines (since QEMU monitor output uses \r\n).
>
> This patch filt
2013/11/14 Kevin Wolf
> Am 14.11.2013 um 09:15 hat Chunyan Liu geschrieben:
> > Set NOCOW flag to newly created images to solve performance issues on
> btrfs.
> >
> > Btrfs has terrible performance when hosting VM images, even more when
> the guest
> > in those VM are also using btrfs as file sys
Am 14.11.2013 um 20:25 schrieb Alexey Kardashevskiy :
> On 11/15/2013 10:03 AM, Peter Maydell wrote:
>> On 14 November 2013 22:32, Benjamin Herrenschmidt
>> wrote:
>>> On Thu, 2013-11-14 at 17:23 -0500, Alexander Graf wrote:
Yes. But I think it's the correct thing to do in this case. X86 a
Set NOCOW flag to newly created images to solve performance issues on btrfs.
Btrfs has terrible performance when hosting VM images, even more when the guest
in those VM are also using btrfs as file system. One way to mitigate this bad
performance is to turn off COW attributes on VM files (since ha
At the moment only a whole CPU core can be assigned to a KVM. Since
POWER7/8 support several threads per core, we want all threads of a core
to go to the same KVM so every time we run QEMU with -enable-kvm on
POWER, we have to add -smp X,threads=(4|8)" (4 for POWER7 and
8 for POWER8).
This patch t
Normally CPUState::cpu_index is used to pick the right CPU for various
operations. However default consecutive numbering does not always work
for POWERPC.
For example, on POWER7 (which supports 4 threads per core),
"-smp 8,threads=4" should create CPUs with indexes 0,1,2,3,4,5,6,7 and
"-smp 8,thre
This adds very basic handlers for ibm,get-system-parameter and
ibm,set-system-parameter RTAS calls.
The only parameter handled at the moment is
"platform-processor-diagnostics-run-mode" which is always disabled and
does not support changing. This is expected to make
"ppc64_cpu --run-mode=1" happy.
Am 14.11.2013 22:32, schrieb Stefan Weil:
> Am 29.07.2013 18:04, schrieb Stefan Weil:
>> Hello,
>>
>> maybe most developers will already have noticed that the terminal output
>> in QEMU's GTK user interface is broken. As far as I know, it never worked,
>> but as there are working alternatives, I di
Backing file loop should be checked before qemu-img create command
execution. If loop is found, qemu-img create should be stopped and
an error printed.
Signed-off-by: Xu Wang
---
block.c | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/block.c b/block.c
index 24202c
If there is loop exists in the backing file chain, many problems
could be caused by it, such as no response and segment fault during
system boot. Hence stopping backing file loop appear is very necessary.
These patches refine and export loop checking function from collect_image_
info_list() to bloc
Backing file loop should be checked before calling change_backing_
file(). If loop appeared, this calling should be stopped and an
error printed.
Signed-off-by: Xu Wang
---
block.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/block.c b/block.c
index 6fbc702..2d58f12 100644
--- a/
1 - 100 of 106 matches
Mail list logo