On 08/16/2011 09:36 PM, Brad wrote:
Win32 emulated TLS is slow and is not available on all versions of GCC.
Actually, Win32 does have support for decent TLS, only GCC does not map
__thread to it. The good news is, it's perfectly possible to declare
TLS variables with simple C code!
This patch
On Mon, Aug 15, 2011 at 9:37 PM, Richard Henderson wrote:
> On 08/15/2011 04:25 AM, kha...@kics.edu.pk wrote:
> > index 1334b8e..0137657 100644
> > --- a/disas.c
> > +++ b/disas.c
> > @@ -140,6 +140,7 @@ print_insn_thumb1(bfd_vma pc, disassemble_info *info)
> > i386 - nonzero means 16 bit co
On 08/16/2011 08:56 PM, Umesh Deshpande wrote:
@@ -3001,8 +3016,10 @@ void qemu_ram_free_from_ptr(ram_addr_t addr)
QLIST_FOREACH(block,&ram_list.blocks, next) {
if (addr == block->offset) {
+qemu_mutex_lock_ramlist();
QLIST_REMOVE(block, next);
Hi,
I see that x86 CPU topology inside VM is not showing up as specified.
With some debugging, I found out that the root cause for this: qemu is
not enumerating the apic ids correctly for vcpus. I made the below
hackish change to get it working. Has anybody else seen this problem
? This patch is
On 16/08/11 2:51 PM, Paolo Bonzini wrote:
Win32 emulated TLS is slow and is not available on all versions of GCC.
Actually, Win32 does have support for decent TLS, only GCC does not map
__thread to it. The good news is, it's perfectly possible to declare
TLS variables with simple C code!
This p
>From a9670ddff84080c56183e2d678189e100f891174 Mon Sep 17 00:00:00 2001
From: Liu, Jinsong
Date: Wed, 17 Aug 2011 11:36:28 +0800
Subject: [PATCH] KVM: emulate lapic tsc deadline timer for hvm
This patch emulate lapic tsc deadline timer for hvm:
Enumerate tsc deadline timer capacibility by CPUID;
Following patch makes iothread wait until the migration thread responds to the
migrate_cancel request and terminates its execution.
Signed-off-by: Umesh Deshpande
---
buffered_file.c | 13 -
buffered_file.h |3 +++
hw/hw.h |5 -
migration.c |
ramlist mutex is implemented to protect the RAMBlock list traversal in the
migration thread from their addition/removal from the iothread.
Signed-off-by: Umesh Deshpande
---
cpu-all.h |2 ++
exec.c| 19 +++
qemu-common.h |2 ++
3 files changed, 23 insertions
This patch creates a new list of RAM blocks in MRU order. So that separate
locking rules can be applied to the regular RAM block list and the MRU list.
Signed-off-by: Paolo Bonzini
---
cpu-all.h |2 ++
exec.c| 17 -
2 files changed, 14 insertions(+), 5 deletions(-)
dif
This patch creates a separate thread for the guest migration on the source side.
migrate_cancel request from the iothread is handled asynchronously. That is,
iothread submits migrate_cancel to the migration thread and returns, while the
migration thread attends this request at the next iteration to
This patch creates a migration bitmap, which is periodically kept in sync with
the qemu bitmap. A separate copy of the dirty bitmap for the migration avoids
concurrent access to the qemu bitmap from iothread and migration thread.
Signed-off-by: Umesh Deshpande
---
arch_init.c | 26
Following patch series deals with VCPU and iothread starvation during the
migration of a guest. Currently the iothread is responsible for performing the
guest migration. It holds qemu_mutex during the migration and doesn't allow VCPU
to enter the qemu mode and delays its return to the guest. The gu
At 08/16/2011 09:40 PM, Gerd Hoffmann Write:
> On 08/16/11 04:22, Wen Congyang wrote:
>> Hi, all
>>
>> We'd like to add PCI-to-PCI Bridge for qemu(kvm) for x86/x86_64 box.
>> I read the code, and find the following hardware calls the function
>> pci_bridge_initfn():
>> 1. apb
>> 2. ioh3420
>> 3. xi
On Tue, Aug 16, 2011 at 09:54:23PM +0200, Juergen Lock wrote:
> On Tue, Aug 16, 2011 at 09:37:39AM +0200, Hans Petter Selasky wrote:
> > On Monday 15 August 2011 22:26:56 Juergen Lock wrote:
> > > Hi!
> > >
> > > I just prepared a preliminary update of the emulators/qemu-devel
> > > port to 0.15.
On Tue, Aug 16, 2011 at 09:37:39AM +0200, Hans Petter Selasky wrote:
> On Monday 15 August 2011 22:26:56 Juergen Lock wrote:
> > Hi!
> >
> > I just prepared a preliminary update of the emulators/qemu-devel
> > port to 0.15.0 [1], and among other things it now also has a
> > usb network redirectio
Thanks, applied.
On Sun, Aug 14, 2011 at 9:05 PM, Paolo Bonzini wrote:
> Other scsi_target_reqops commands were careful about not using r->cmd.xfer
> directly, and instead always cap it to a fixed length. This was not done
> for REQUEST SENSE, and this patch fixes it.
>
> Reported-by: Blue Swirl
On 08/09/2011 03:02 PM, supriya kannery wrote:
> Kevin Wolf wrote:
>> Am 09.08.2011 11:22, schrieb supriya kannery:
>>> Kevin Wolf wrote:
>>
>> What I meant is that in the end, with a generic bdrv_reopen(), we can
>> have raw-posix only call dup() and fcntl() instead of doing a
>> close()/open() s
On 08/09/2011 03:02 PM, supriya kannery wrote:
> Kevin Wolf wrote:
>> Am 09.08.2011 11:22, schrieb supriya kannery:
>>> Kevin Wolf wrote:
>>
>> What I meant is that in the end, with a generic bdrv_reopen(), we can
>> have raw-posix only call dup() and fcntl() instead of doing a
>> close()/open() s
Win32 emulated TLS is slow and is not available on all versions of GCC.
Actually, Win32 does have support for decent TLS, only GCC does not map
__thread to it. The good news is, it's perfectly possible to declare
TLS variables with simple C code!
This patch adds wrappers to qemu-thread that will
On 08/16/2011 05:45 AM, Stefan Hajnoczi wrote:
Roy,
This stack trace does not reveal much.
Is there any MinGW gcc user that has successfully built and run
qemu.git?
I would be surprised if Stefan Weil hasn't.
Which version/architecture of Windows and which MinGW
version?
I'm trying to get
I got binaries from http://homepage3.nifty.com/takeda-toshiya/
tested under Win 7 64-bit as User=Administrator
qemu10.6 - works makes 16/08/2011 18:43 3,096,481,792 test.raw
qemu11.1 - works makes 16/08/2011 18:43 3,096,481,792 test.raw
qemu12.1 - crashes !
qemu12.2 - crashe
On Tue, Aug 16, 2011 at 12:22 PM, Stefan Hajnoczi wrote:
> On Mon, Aug 15, 2011 at 07:16:10PM -0400, Devin Nakamura wrote:
>> @@ -263,6 +263,8 @@ static int qed_read_string(BlockDriverState *file,
>> uint64_t offset, size_t n,
>> */
>> static uint64_t qed_alloc_clusters(BDRVQEDState *s, unsign
It is not a unique KVM problem. We saw the race while doing large async rDMA in
our network driver, but I can imagine it happening with a slow NFS server, or
other DMA that could complete after umount.
What I need, in order to push this upstream, is:
1. For you to light a fire under my feet to get
Discussion was titled: Fix refcounting in hugetlbfs quota handling
This patch fixes a race between the umount of a hugetlbfs filesystem, and quota
updates in that filesystem, which can result in the update of the filesystem
quota record, after the record structure has been freed.
Rather than an
Signed-off-by: Richard Henderson
---
hw/parallel.c | 50 +++---
1 files changed, 31 insertions(+), 19 deletions(-)
diff --git a/hw/parallel.c b/hw/parallel.c
index cc853a5..676defa 100644
--- a/hw/parallel.c
+++ b/hw/parallel.c
@@ -448,6 +448,32 @@ s
Signed-off-by: Richard Henderson
---
hw/ne2000-isa.c |5 +
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/hw/ne2000-isa.c b/hw/ne2000-isa.c
index 756ed5c..11ffee7 100644
--- a/hw/ne2000-isa.c
+++ b/hw/ne2000-isa.c
@@ -68,10 +68,7 @@ static int isa_ne2000_initfn(ISADevice *
Signed-off-by: Richard Henderson
Cc: malc
---
hw/gus.c | 43 +++
1 files changed, 23 insertions(+), 20 deletions(-)
diff --git a/hw/gus.c b/hw/gus.c
index ff9e7c7..9531d5f 100644
--- a/hw/gus.c
+++ b/hw/gus.c
@@ -232,6 +232,26 @@ static const VMStateDes
On Monday 15 August 2011 22:26:56 Juergen Lock wrote:
> Hi!
>
> I just prepared a preliminary update of the emulators/qemu-devel
> port to 0.15.0 [1], and among other things it now also has a
> usb network redirection feature using usbredir [2], which uses
> libusb 1.0 and a function that is miss
Signed-off-by: Richard Henderson
---
hw/isa-bus.c | 39 +++
hw/isa.h | 33 -
2 files changed, 71 insertions(+), 1 deletions(-)
diff --git a/hw/isa-bus.c b/hw/isa-bus.c
index e9c1712..d8e1880 100644
--- a/hw/isa-bus.c
+++
Signed-off-by: Richard Henderson
---
hw/pc.c | 16 +---
1 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/hw/pc.c b/hw/pc.c
index d752821..cd01b7a 100644
--- a/hw/pc.c
+++ b/hw/pc.c
@@ -428,6 +428,7 @@ void pc_cmos_init(ram_addr_t ram_size, ram_addr_t
above_4g_mem_siz
Signed-off-by: Richard Henderson
---
hw/vmport.c | 16 +---
1 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/hw/vmport.c b/hw/vmport.c
index c8aefaa..b5c6fa1 100644
--- a/hw/vmport.c
+++ b/hw/vmport.c
@@ -38,6 +38,7 @@
typedef struct _VMPortState
{
ISADevice de
All users have been converted to either isa_register_ioport
or isa_register_old_portio_list.
Signed-off-by: Richard Henderson
---
hw/isa-bus.c | 19 +--
hw/isa.h |2 --
2 files changed, 5 insertions(+), 16 deletions(-)
diff --git a/hw/isa-bus.c b/hw/isa-bus.c
index d8e
Signed-off-by: Richard Henderson
---
hw/fdc.c | 36 ++--
1 files changed, 6 insertions(+), 30 deletions(-)
diff --git a/hw/fdc.c b/hw/fdc.c
index cba973e..099acf2 100644
--- a/hw/fdc.c
+++ b/hw/fdc.c
@@ -425,7 +425,6 @@ typedef struct FDCtrlSysBus {
typedef s
Signed-off-by: Richard Henderson
---
hw/sb16.c | 35 ---
1 files changed, 16 insertions(+), 19 deletions(-)
diff --git a/hw/sb16.c b/hw/sb16.c
index a76df1b..2a960b1 100644
--- a/hw/sb16.c
+++ b/hw/sb16.c
@@ -1341,12 +1341,24 @@ static const VMStateDescription v
Signed-off-by: Richard Henderson
---
hw/vga-isa.c | 10 -
hw/vga.c | 61 -
2 files changed, 34 insertions(+), 37 deletions(-)
diff --git a/hw/vga-isa.c b/hw/vga-isa.c
index 0d19901..510ace8 100644
--- a/hw/vga-isa.c
+++ b/hw
Signed-off-by: Richard Henderson
---
hw/ide/core.c | 33 ++---
hw/ide/internal.h |3 ++-
hw/ide/isa.c |4 +---
hw/ide/piix.c |7 ---
hw/ide/via.c |7 ---
5 files changed, 33 insertions(+), 21 deletions(-)
diff --git a/hw/ide
Signed-off-by: Richard Henderson
---
hw/mc146818rtc.c | 15 ---
1 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/hw/mc146818rtc.c b/hw/mc146818rtc.c
index feb3b25..2aaca2f 100644
--- a/hw/mc146818rtc.c
+++ b/hw/mc146818rtc.c
@@ -81,6 +81,7 @@
typedef struct RTCStat
The sysbus interface is as yet unconverted.
Signed-off-by: Richard Henderson
---
hw/m48t59.c | 15 ---
1 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/hw/m48t59.c b/hw/m48t59.c
index 537c0f7..2520812 100644
--- a/hw/m48t59.c
+++ b/hw/m48t59.c
@@ -72,6 +72,7 @@ struc
The only user of ISADevice.ioports is isabus_get_fw_dev_path, and it
only looks at the first entry of the array. Which suggests that this
entire array+sort operation can be replaced by a simple minimum.
Signed-off-by: Richard Henderson
---
hw/isa-bus.c | 25 +
hw/isa.h
I.e. all users of isa_init_ioport_range and isa_init_ioport.
This implements a suggestion from Avi about having an interface
that makes it easy to register multiple MemoryRegions from a
single data structure.
I chose a concatenated list of MemoryRegionPortio arrays, since it's
easy to write and e
On Mon, Aug 15, 2011 at 07:16:10PM -0400, Devin Nakamura wrote:
> @@ -263,6 +263,8 @@ static int qed_read_string(BlockDriverState *file,
> uint64_t offset, size_t n,
> */
> static uint64_t qed_alloc_clusters(BDRVQEDState *s, unsigned int n)
> {
> +s->file_size = qed_start_of_cluster(s, s-
On 08/12/2011 10:39 AM, Andreas Niederl wrote:
Hi,
compiling SeaBios with your patch produces the following error for me
with gcc-4.4.5:
src/tpm_drivers.c: In function ‘tis_init’:
src/tpm_drivers.c:43: error: ‘tpm_drivers’ undeclared (first use in this
function)
Thanks. Unfortunately gcc 4.6.0
On 08/16/11 04:22, Wen Congyang wrote:
Hi, all
We'd like to add PCI-to-PCI Bridge for qemu(kvm) for x86/x86_64 box.
I read the code, and find the following hardware calls the function
pci_bridge_initfn():
1. apb
2. ioh3420
3. xio3130
ioh3420 and xio3130 is for PCIe, and apb is for sparc box.
I
On 08/15/2011 06:42 PM, Isaku Yamahata wrote:
On Mon, Aug 15, 2011 at 12:29:37PM -0700, Avi Kivity wrote:
> On 08/12/2011 04:07 AM, Isaku Yamahata wrote:
>> This is a character device to hook page access.
>> The page fault in the area is reported to another user process by
>> this chardriver.
On Mon, Aug 15, 2011 at 11:59 PM, Steve Si <826...@bugs.launchpad.net> wrote:
> Please see
> http://virtuallyfun.superglobalmegacorp.com/?p=1214#comment-967
>
> confirmed bug replicated by neozeed. Seems to be something to do with vdi's
> that contain 3-4GB of data.
> An unpartitioned freshly crea
On (Mon) 15 Aug 2011 [11:17:27], Anthony Liguori wrote:
> This is a dump of some of the easier stuff to merge from my character backend
> flow control branch. It's mostly just renaming functions and adding
> documentation.
Acked-by: Amit Shah
Amit
On Tue, Aug 16, 2011 at 10:42 AM, Gardziejczyk, Kamil
wrote:
> I`m going to start debug Qemu-Kvm pass-through. The problem is
> qemu-system-x86_64 file (cant debug it). What and where should I change to
> debug pass-through with gdb?
You haven't explained what the problem is. I'm not sure why yo
Hi,
I am working on a project which involves providing network support for
virtualization. So as proof of concept, I have to generate the assembly
codes. I need to modify it but as of now I am not getting anything about
logging in monitor.c file apart from lots of functions involving log but
non
On Tue, Aug 16, 2011 at 8:38 AM, Roy Tam wrote:
> 2011/8/8 Roy Tam :
>> 2011/8/8 Stefan Hajnoczi :
>>> On Mon, Aug 8, 2011 at 1:30 AM, Roy Tam wrote:
Hi all,
I checked out latest git and tried to compile QEMU but I got this message:
qemu$ make V=1
gcc -m32 -D__USE_MINGW_A
Hi,
I`m going to start debug Qemu-Kvm pass-through. The problem is
qemu-system-x86_64 file (cant debug it). What and where should I change to
debug pass-through with gdb?
;)
-
Intel Technology Poland sp. z o.o.
z siedziba w Gd
Hi,
While trying out -numa and -smp command line options, I found that it
is possible to specify inconsistent or impossible or incomplete
topology specifications on qemu command line and have qemu silently
boot a VM with such a topology without complaining.
Example 1: With "-numa node,nodeid=0,c
Here is the updated pull request for the second patchset.
The following changes since commit 3b6ffe50300f13240e1b46420ad05da1116df410:
hw/scsi-bus.c: Fix use of uninitialised variable (2011-08-14 19:34:25 +)
are available in the git repository at:
git://repo.or.cz/qemu/v9fs.git for-upst
On Monday 15 August 2011 22:26:56 Juergen Lock wrote:
> Hi!
>
> I just prepared a preliminary update of the emulators/qemu-devel
> port to 0.15.0 [1], and among other things it now also has a
> usb network redirection feature using usbredir [2], which uses
> libusb 1.0 and a function that is miss
On Monday 15 August 2011 22:26:56 Juergen Lock wrote:
> Hi!
>
> I just prepared a preliminary update of the emulators/qemu-devel
> port to 0.15.0 [1], and among other things it now also has a
> usb network redirection feature using usbredir [2], which uses
> libusb 1.0 and a function that is miss
2011/8/8 Roy Tam :
> 2011/8/8 Stefan Hajnoczi :
>> On Mon, Aug 8, 2011 at 1:30 AM, Roy Tam wrote:
>>> Hi all,
>>>
>>> I checked out latest git and tried to compile QEMU but I got this message:
>>> qemu$ make V=1
>>> gcc -m32 -D__USE_MINGW_ANSI_STDIO=1 -DWIN32_LEAN_AND_MEAN
>>> -DWINVER=0x501 -D_FO
55 matches
Mail list logo