On Tue, Feb 01, 2011 at 07:02:03PM +0100, Jan Kiszka wrote:
> Hi,
>
> testing my KVM patches, I noticed that none of the 64-bit Windows
> versions I have around (early Win7 & 2003 server) boot in KVM mode when
> using 2 or more VCPUs and the user space irqchip. This applies to both
> upstream KVM
On Wed, Feb 02, 2011 at 02:09:24PM +0100, Jan Kiszka wrote:
> On 2011-02-02 14:05, Avi Kivity wrote:
> > On 02/02/2011 02:50 PM, Jan Kiszka wrote:
>
> >>> Opps, -smp 1. With -smp 2 it boot almost completely and then hangs.
> >>
> >> Ah, good (or not good). With Windows 2003 Server, I actually
From: Jes Sorensen
Implement freeze/thaw support in the guest, allowing the host to
request the guest freezes all it's file systems before a live snapshot
is performed.
- fsfreeze(): Walk the list of mounted local real file systems,
and freeze them.
- fsthaw(): Walk the list of
From: Arun Sharma
Open and bind event channels; map ioreq and buffered ioreq rings.
Signed-off-by: Arun Sharma
Signed-off-by: Anthony PERARD
Signed-off-by: Stefano Stabellini
Acked-by: Alexander Graf
---
hw/xen_common.h |2 +
xen-all.c | 413 ++
On 2011-02-02 14:05, Avi Kivity wrote:
> On 02/02/2011 02:50 PM, Jan Kiszka wrote:
>>> Opps, -smp 1. With -smp 2 it boot almost completely and then hangs.
>>
>> Ah, good (or not good). With Windows 2003 Server, I actually get a Blue
>> Screen (Stop 0x00b8).
>
> Userspace APIC is broken s
On Wed, Feb 02, 2011 at 03:14:26PM +0200, Avi Kivity wrote:
> On 02/02/2011 03:11 PM, Gleb Natapov wrote:
> >On Wed, Feb 02, 2011 at 02:09:24PM +0100, Jan Kiszka wrote:
> >> On 2011-02-02 14:05, Avi Kivity wrote:
> >> > On 02/02/2011 02:50 PM, Jan Kiszka wrote:
> >>
> >> >>> Opps, -smp
On 02/02/2011 03:11 PM, Gleb Natapov wrote:
On Wed, Feb 02, 2011 at 02:09:24PM +0100, Jan Kiszka wrote:
> On 2011-02-02 14:05, Avi Kivity wrote:
> > On 02/02/2011 02:50 PM, Jan Kiszka wrote:
>
> >>> Opps, -smp 1. With -smp 2 it boot almost completely and then hangs.
> >>
> >> Ah, g
On 2011-02-02 13:16, Glauber Costa wrote:
> If the machine is stopped, we should not record two different tsc values
> upon a save operation. The same problem happens with kvmclock.
>
> But kvmclock is taking a different diretion, being now seen as a separate
> device. Since this is unlikely to ha
On 02/02/2011 02:50 PM, Jan Kiszka wrote:
>>
> Opps, -smp 1. With -smp 2 it boot almost completely and then hangs.
Ah, good (or not good). With Windows 2003 Server, I actually get a Blue
Screen (Stop 0x00b8).
Userspace APIC is broken since it may run with an outdated cr8, does
reverting
If the machine is stopped, we should not record two different tsc values
upon a save operation. The same problem happens with kvmclock.
But kvmclock is taking a different diretion, being now seen as a separate
device. Since this is unlikely to happen with the tsc, I am taking the
approach here of
On 2011-02-02 14:05, Avi Kivity wrote:
> On 02/02/2011 02:50 PM, Jan Kiszka wrote:
>>> Opps, -smp 1. With -smp 2 it boot almost completely and then hangs.
>>
>> Ah, good (or not good). With Windows 2003 Server, I actually get a Blue
>> Screen (Stop 0x00b8).
>
> Userspace APIC is broken s
Hello.
Anybody interested in this patch?
Pavel Dovgaluk
> -Original Message-
> From: qemu-devel-bounces+pavel.dovgaluk=ispras...@nongnu.org [mailto:qemu-
> devel-bounces+pavel.dovgaluk=ispras...@nongnu.org] On Behalf Of Pavel
> Dovgaluk
> Sent: Wednesday, January 26, 2011 11:06 AM
> To:
On Tue, 2011-02-01 at 21:26 +0100, Jan Kiszka wrote:
> On 2011-02-01 20:17, Glauber Costa wrote:
> > If the machine is stopped, we should not record two different tsc values
> > upon a save operation. The same problem happens with kvmclock.
> >
> > But kvmclock is taking a different diretion, bein
On 2011-02-02 12:55, Gleb Natapov wrote:
> On Tue, Feb 01, 2011 at 07:02:03PM +0100, Jan Kiszka wrote:
>> Hi,
>>
>> testing my KVM patches, I noticed that none of the 64-bit Windows
>> versions I have around (early Win7 & 2003 server) boot in KVM mode when
>> using 2 or more VCPUs and the user spac
From: Jes Sorensen
This patch adds the following monitor commands:
agent_fsfreeze:
- Freezes all local file systems in the guest. Command will print
the number of file systems that were frozen.
agent_fsthaw:
- Thaws all local file systems in the guest. Command will print
the number of fi
On 02/01/11 17:50, Michael Roth wrote:
> On 02/01/2011 04:58 AM, jes.soren...@redhat.com wrote:
>> +enum vs_fsfreeze_status {
>> +FREEZE_ERROR = -1,
>> +FREEZE_THAWED = 0,
>> +FREEZE_INPROGRESS = 1,
>> +FREEZE_FROZEN = 2,
>> +FREEZE_THAWINPROGRESS = 3,
>> +};
>
> Any reason for
On 02/02/2011 04:30 PM, Jan Kiszka wrote:
On 2011-02-02 14:05, Avi Kivity wrote:
> On 02/02/2011 02:50 PM, Jan Kiszka wrote:
>>> Opps, -smp 1. With -smp 2 it boot almost completely and then hangs.
>>
>> Ah, good (or not good). With Windows 2003 Server, I actually get a Blue
>> Screen (S
From: Jun Nakajima
On IA32 host or IA32 PAE host, at present, generally, we can't create
an HVM guest with more than 2G memory, because generally it's almost
impossible for Qemu to find a large enough and consecutive virtual
address space to map an HVM guest's whole physical address space.
The at
2011/2/2 Paolo Bonzini :
> On 02/01/2011 07:21 PM, Yoshiaki Tamura wrote:
>>
>> Paolo,
>>
>> I refactored the savevm functions. Could you give me your
>> comments?
>
> I didn't review it thoroughly, but the abstractions seem okay.
Thanks. Since It got a bit messy, I wanted hear your opinion.
Yo
From: Anthony PERARD
Signed-off-by: Anthony PERARD
Acked-by: Alexander Graf
---
hw/xen_backend.c | 308 +-
hw/xen_disk.c| 394 +++---
hw/xen_nic.c | 222 +++---
3 files ch
On Tue, Feb 1, 2011 at 5:26 AM, M. Mohan Kumar wrote:
> +/* Receive file descriptor and error status from chroot process */
> +static int v9fs_receivefd(int sockfd, int *error)
The return value and int *error overlap in functionality. Would it be
possible to have only one mechanism for returning
From: Anthony PERARD
Signed-off-by: Anthony PERARD
Acked-by: Alexander Graf
---
Makefile.objs |4
Makefile.target |4 +++-
configure |5 +
3 files changed, 4 insertions(+), 9 deletions(-)
diff --git a/Makefile.objs b/Makefile.objs
index 93406ff..d91b9bc 100644
---
On 02/02/2011 03:17 AM, Anthony Liguori wrote:
Please start sending patches and pull requests specifically against this
branch.
The 0.14.0-rc0 will be officially announced tomorrow once the mirrors
propagate.
I would like the alarm timer fixes in 0.14.
Paolo
From: Anthony PERARD
Every set_irq call makes a Xen hypercall.
Signed-off-by: Anthony PERARD
Signed-off-by: Stefano Stabellini
---
hw/pc_piix.c |8 ++--
hw/xen.h |2 ++
xen-all.c| 12
xen-stub.c |5 +
4 files changed, 25 insertions(+), 2 deletions(
Make use of the new warp notifier to update the RTC whenever rtc_clock
is the host clock and that happens to jump backward. This avoids that
the RTC stalls for the period the host clock was set back.
Signed-off-by: Jan Kiszka
---
hw/mc146818rtc.c | 17 +
1 files changed, 17 ins
From: Anthony PERARD
With MapCache, we can handle a 64b target, even with a 32b host/qemu.
So, we need to have target_phys_addr_t to 64bits.
Signed-off-by: Anthony PERARD
Acked-by: Alexander Graf
---
configure |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/configure
On 02/01/2011 07:10 PM, Blue Swirl wrote:
One way to solve this which would preserve the device model would be
to add stub devices. For example, hw/vmmouse-stub.c would be:
void *vmmouse_init(void *m)
{
return NULL;
}
This is the wrong direction, unless you can somehow automatically
gener
On 01/28/2011 03:21 PM, Yoshiaki Tamura wrote:
> http://permalink.gmane.org/gmane.comp.emulators.qemu/91096 should be applied
> in any case, as it is a regression from 0.12.
Oops, I forgot to list it:) Thanks for catching.
This one is still missing in 0.14.
Paolo
On 02/01/2011 07:21 PM, Yoshiaki Tamura wrote:
Paolo,
I refactored the savevm functions. Could you give me your
comments?
I didn't review it thoroughly, but the abstractions seem okay.
Paolo
Gleb Natapov writes:
> If bootindex is specified on command line a string that describes device
> in firmware readable way is added into sorted list. Later this list will
> be passed into firmware to control boot order.
>
> Signed-off-by: Gleb Natapov
Just noticed something that slipped through
Am 01.02.2011 21:10, schrieb Alexander Graf:
>
> On 01.02.2011, at 20:58, Aurelien Jarno wrote:
>
>> On Tue, Feb 01, 2011 at 07:35:01PM +0100, Alexander Graf wrote:
>>> When using level based interrupts, the interrupt is treated the same as an
>>> edge triggered one: leaving the line up does not
When using level based interrupts, the interrupt is treated the same as an
edge triggered one: leaving the line up does not retrigger the interrupt.
In fact, when not lowering the line, we won't ever get a new interrupt inside
the guest. So let's always retrigger an interrupt as soon as the OS ack
From: Jes Sorensen
Hi
This is a first attempt to add fsfreeze support to virtagent. The idea
is for the guest agent to walk the list of locally mounted file
systems in the guest, and issuing an ioctl to freeze them. The host
can then do a live snapshot of the guest, obtaining stable file
systems
Also use qemu_strdup() instead of strdup() in bootindex code.
Signed-off-by: Gleb Natapov
---
Should go to stable too.
diff --git a/vl.c b/vl.c
index 655617f..ed2cdfa 100644
--- a/vl.c
+++ b/vl.c
@@ -738,7 +738,7 @@ void add_boot_device_path(int32_t bootindex, DeviceState
*dev,
node = q
From: Anthony PERARD
Introduce the Xen FV (Fully Virtualized) machine to Qemu, some more Xen
specific call will be added in further patches.
Signed-off-by: Anthony PERARD
---
hw/pc.c | 19 +--
hw/pc_piix.c | 21 -
hw/xen.h |4
3 files c
Kevin Wolf wrote:
> Am 01.02.2011 21:10, schrieb Alexander Graf:
>
>> On 01.02.2011, at 20:58, Aurelien Jarno wrote:
>>
>>
>>> On Tue, Feb 01, 2011 at 07:35:01PM +0100, Alexander Graf wrote:
>>>
When using level based interrupts, the interrupt is treated the same as an
edge
From: Anthony PERARD
Signed-off-by: Anthony PERARD
Acked-by: Alexander Graf
---
Makefile.target |3 +++
hw/xen.h| 13 +
vl.c|2 ++
xen-all.c | 29 +
xen-stub.c | 17 +
5 files changed, 64 inser
On 2011-02-02 15:43, Jan Kiszka wrote:
> On 2011-02-02 15:35, Avi Kivity wrote:
>> On 02/02/2011 04:30 PM, Jan Kiszka wrote:
>>> On 2011-02-02 14:05, Avi Kivity wrote:
On 02/02/2011 02:50 PM, Jan Kiszka wrote:
>>>
>> Opps, -smp 1. With -smp 2 it boot almost completely and then hangs
On 02/01/2011 07:47 PM, Aurelien Jarno wrote:
qemu_get_clock() which can return different unit depending on what
you ask (and in my opinion should simply disappear because it's the
best way to have bugs),
Agreed.
Paolo
On 2011-02-02 17:39, Gleb Natapov wrote:
> On Wed, Feb 02, 2011 at 05:36:53PM +0100, Jan Kiszka wrote:
>> On 2011-02-02 17:29, Gleb Natapov wrote:
>>> On Wed, Feb 02, 2011 at 04:52:11PM +0100, Jan Kiszka wrote:
On 2011-02-02 16:46, Gleb Natapov wrote:
> On Wed, Feb 02, 2011 at 04:35:25PM +
On Tue, Feb 1, 2011 at 10:58 AM, wrote:
> From: Jes Sorensen
>
> Implement freeze/thaw support in the guest, allowing the host to
> request the guest freezes all it's file systems before a live snapshot
> is performed.
> - fsfreeze(): Walk the list of mounted local real file systems,
>
By default, we base the mc146818 RTC on the host clock (CLOCK_REALTIME).
This works fine if only the frequency of the host clock is tuned (e.g.
by NTP) or if it is set to a future time. However, if the host is tuned
backward, e.g. because NTP obtained the correct time after the guest was
already st
** Changed in: qemu
Status: Confirmed => Fix Committed
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/606658
Title:
system_powerdown broken
Status in QEMU:
Fix Committed
Bug description:
Both functions have a lot in common, push those bits into a shared
helper.
Signed-off-by: Jan Kiszka
---
qemu-timer.c | 27 +--
1 files changed, 13 insertions(+), 14 deletions(-)
diff --git a/qemu-timer.c b/qemu-timer.c
index db1ec49..94c1073 100644
--- a/qemu-timer.c
On Wed, Feb 02, 2011 at 04:52:11PM +0100, Jan Kiszka wrote:
> On 2011-02-02 16:46, Gleb Natapov wrote:
> > On Wed, Feb 02, 2011 at 04:35:25PM +0100, Jan Kiszka wrote:
> >> On 2011-02-02 16:09, Avi Kivity wrote:
> >>> On 02/02/2011 04:52 PM, Jan Kiszka wrote:
> On 2011-02-02 15:43, Jan Kiszka w
QEMU_CLOCK_HOST is based on the system time which may jump backward in
case the admin or NTP adjusts it. RTC emulations and other device models
can suffer in this case as timers will stall for the period the clock
was tuned back.
This adds a detection mechanism that checks on every host clock read
On Wed, Feb 02, 2011 at 05:36:53PM +0100, Jan Kiszka wrote:
> On 2011-02-02 17:29, Gleb Natapov wrote:
> > On Wed, Feb 02, 2011 at 04:52:11PM +0100, Jan Kiszka wrote:
> >> On 2011-02-02 16:46, Gleb Natapov wrote:
> >>> On Wed, Feb 02, 2011 at 04:35:25PM +0100, Jan Kiszka wrote:
> On 2011-02-02
On 2011-02-02 15:35, Avi Kivity wrote:
> On 02/02/2011 04:30 PM, Jan Kiszka wrote:
>> On 2011-02-02 14:05, Avi Kivity wrote:
>>> On 02/02/2011 02:50 PM, Jan Kiszka wrote:
>>
> Opps, -smp 1. With -smp 2 it boot almost completely and then hangs.
Ah, good (or not good). With Wind
On 02/02/2011 05:35 PM, Jan Kiszka wrote:
>
> And yet, both are synchronized via qemu_mutex. So we're still missing
> something in this picture.
>
>> Run apic_set_irq on the vcpu?
>
> static void apic_set_irq(APICState *s, int vector_num, int trigger_mode)
> {
> apic_irq_delivered +=
Gleb Natapov writes:
> Also use qemu_strdup() instead of strdup() in bootindex code.
>
> Signed-off-by: Gleb Natapov
> ---
>
> Should go to stable too.
Yes, please! By the way, putting 0.14 in the subject should help with
that.
On Wed, Feb 02, 2011 at 12:58:47PM +0100, Jan Kiszka wrote:
> On 2011-02-02 12:55, Gleb Natapov wrote:
> > On Tue, Feb 01, 2011 at 07:02:03PM +0100, Jan Kiszka wrote:
> >> Hi,
> >>
> >> testing my KVM patches, I noticed that none of the 64-bit Windows
> >> versions I have around (early Win7 & 2003
On 2011-02-02 16:46, Gleb Natapov wrote:
> On Wed, Feb 02, 2011 at 04:35:25PM +0100, Jan Kiszka wrote:
>> On 2011-02-02 16:09, Avi Kivity wrote:
>>> On 02/02/2011 04:52 PM, Jan Kiszka wrote:
On 2011-02-02 15:43, Jan Kiszka wrote:
> On 2011-02-02 15:35, Avi Kivity wrote:
>> On 02/02/2
On 02/02/11 08:57, Stefan Hajnoczi wrote:
> On Tue, Feb 1, 2011 at 10:58 AM, wrote:
>> From: Jes Sorensen
>>
>> Implement freeze/thaw support in the guest, allowing the host to
>> request the guest freezes all it's file systems before a live snapshot
>> is performed.
>> - fsfreeze(): Walk the l
From: Anthony PERARD
Hi,
There is a lot of change since the V9 of the Xen device model. One of theme is
to use the 'pc' machine for Xen instead of duplicate this machine in another
file.
Here is the change since the last version:
- typedef of qemu_xc_interface, qemu_xc_gnttab and qemu_xc_evtc
From: Anthony PERARD
This patch introduces Xen specific call in piix_pci.
The specific part for Xen is in write_config, set_irq and get_pirq.
Signed-off-by: Anthony PERARD
Signed-off-by: Stefano Stabellini
Acked-by: Alexander Graf
---
hw/piix_pci.c | 28 ++--
hw/xe
On Wed, Feb 2, 2011 at 7:55 AM, Paolo Bonzini wrote:
> On 02/01/2011 07:10 PM, Blue Swirl wrote:
>>
>> One way to solve this which would preserve the device model would be
>> to add stub devices. For example, hw/vmmouse-stub.c would be:
>> void *vmmouse_init(void *m)
>> {
>> return NULL;
>> }
From: Anthony PERARD
Introduce two functions qemu_shutdown_requested_get and
qemu_reset_requested_get to get the value of shutdown/reset_requested
without reset it.
Signed-off-by: Anthony PERARD
Signed-off-by: Stefano Stabellini
Acked-by: Alexander Graf
---
sysemu.h |2 ++
vl.c | 1
From: Anthony PERARD
This function allows to unlock a ram_ptr give by qemu_get_ram_ptr. After
a call to qemu_put_ram_ptr, the pointer may be unmap from QEMU when
used with Xen.
Signed-off-by: Anthony PERARD
Acked-by: Alexander Graf
---
cpu-common.h |1 +
exec.c | 10 ++
On 02/02/2011 11:32 AM, Paolo Bonzini wrote:
On 01/24/2011 10:00 PM, Anthony Liguori wrote:
int qemu_mutex_trylock(QemuMutex *mutex)
{
-return pthread_mutex_trylock(&mutex->lock);
+return g_static_mutex_trylock(&mutex->lock);
This is missing a !
Good catch.
Regards,
Anthony Lig
On 2011-02-02 13:35, Gleb Natapov wrote:
> On Wed, Feb 02, 2011 at 12:58:47PM +0100, Jan Kiszka wrote:
>> On 2011-02-02 12:55, Gleb Natapov wrote:
>>> On Tue, Feb 01, 2011 at 07:02:03PM +0100, Jan Kiszka wrote:
Hi,
testing my KVM patches, I noticed that none of the 64-bit Windows
>>>
From: Anthony PERARD
Signed-off-by: Anthony PERARD
---
hw/pc_piix.c |6 +-
hw/xen.h |1 +
xen-all.c|9 +
xen-stub.c |4
4 files changed, 19 insertions(+), 1 deletions(-)
diff --git a/hw/pc_piix.c b/hw/pc_piix.c
index 27d9030..f86873d 100644
--- a/hw/p
Windows allows control transfers to pass up to 4k of data, so raise our
control buffer size to 4k. For control out transfers the usb core code copies
the control request data to a buffer before calling the device's handle_control
callback. Add a check for overflowing the buffer before copying the d
This allows using the generic usb_generic_handle_packet function from
device code which does ASYNC control requests (such as the linux host
pass through code).
Signed-off-by: Hans de Goede
---
hw/bt-hid.c |6 +++---
hw/usb-bt.c |6 +++---
hw/usb-desc.c |4 ++--
hw/usb-desc.
Make the linux usb host passthrough code use the usb_generic_handle_packet()
function, rather then the curent DYI code. This removes 200 lines of almost
identical code.
Signed-off-by: Hans de Goede
---
hw/usb.c| 41 +-
hw/usb.h|1 +
usb-linux.c | 269 ++
From: Anthony PERARD
This patch adds a generic layer for xc calls, allowing us to choose between the
xenner and xen implementations at runtime.
It also update the libxenctrl calls in Qemu to use the new interface,
otherwise Qemu wouldn't be able to build against new versions of the
library.
We
From: Anthony PERARD
This tells to the xen management tool that the machine can begin run.
Signed-off-by: Anthony PERARD
Acked-by: Alexander Graf
---
xen-all.c | 23 +++
1 files changed, 23 insertions(+), 0 deletions(-)
diff --git a/xen-all.c b/xen-all.c
index 592bcaf..
On Wed, Feb 02, 2011 at 05:10:04PM +0200, Gleb Natapov wrote:
> On Wed, Feb 02, 2011 at 04:08:07PM +0100, Markus Armbruster wrote:
> > Gleb Natapov writes:
> >
> > > If bootindex is specified on command line a string that describes device
> > > in firmware readable way is added into sorted list.
From: Steven Smith
Introduce a new emulated PCI device, specific to fully virtualized Xen
guests. The device is necessary for PV on HVM drivers to work.
Signed-off-by: Steven Smith
Signed-off-by: Anthony PERARD
Signed-off-by: Stefano Stabellini
---
Makefile.target |1 +
hw/hw.h
Signed-off-by: Blue Swirl
---
hw/pci.c | 20
hw/pci.h |4
2 files changed, 24 insertions(+), 0 deletions(-)
diff --git a/hw/pci.c b/hw/pci.c
index d5bbba9..5e6e216 100644
--- a/hw/pci.c
+++ b/hw/pci.c
@@ -1708,6 +1708,21 @@ PCIDevice *pci_create_multifunction(PCIB
Handle device creation failure for vmware_vga at board level. Use
standard VGA instead.
Blue Swirl (4):
vmware_vga: refactor device creation
qdev: add creation function that may fail
pci: add creation functions that may fail
x86,MIPS: make vmware_vga optional
hw/mips_malta.c |6 +
Allow failure with vmware_vga device creation and use standard
VGA instead.
Signed-off-by: Blue Swirl
---
hw/mips_malta.c |6 +-
hw/pc.c | 11 ---
hw/vmware_vga.h | 11 +--
3 files changed, 22 insertions(+), 6 deletions(-)
diff --git a/hw/mips_malta.c b/hw/mi
On 02/02/2011 04:52 PM, Jan Kiszka wrote:
On 2011-02-02 15:43, Jan Kiszka wrote:
> On 2011-02-02 15:35, Avi Kivity wrote:
>> On 02/02/2011 04:30 PM, Jan Kiszka wrote:
>>> On 2011-02-02 14:05, Avi Kivity wrote:
On 02/02/2011 02:50 PM, Jan Kiszka wrote:
>>>
>>Opps, -smp 1. Wit
On Wed, Feb 02, 2011 at 04:08:07PM +0100, Markus Armbruster wrote:
> Gleb Natapov writes:
>
> > If bootindex is specified on command line a string that describes device
> > in firmware readable way is added into sorted list. Later this list will
> > be passed into firmware to control boot order.
On 2011-02-02 16:09, Avi Kivity wrote:
> On 02/02/2011 04:52 PM, Jan Kiszka wrote:
>> On 2011-02-02 15:43, Jan Kiszka wrote:
>>> On 2011-02-02 15:35, Avi Kivity wrote:
On 02/02/2011 04:30 PM, Jan Kiszka wrote:
> On 2011-02-02 14:05, Avi Kivity wrote:
>> On 02/02/2011 02:50 PM, Jan
On Wed, Feb 02, 2011 at 04:35:25PM +0100, Jan Kiszka wrote:
> On 2011-02-02 16:09, Avi Kivity wrote:
> > On 02/02/2011 04:52 PM, Jan Kiszka wrote:
> >> On 2011-02-02 15:43, Jan Kiszka wrote:
> >>> On 2011-02-02 15:35, Avi Kivity wrote:
> On 02/02/2011 04:30 PM, Jan Kiszka wrote:
> > On
Hi Alex,
Am 30.01.2011 um 16:26 schrieb Alexander Graf:
Is anyone else going to Fosdem? We could try to set up an unofficial
qemu meeting if there are enough people around. So far the list of
people active in Qemu development and there I'm aware of are:
- Alexander Graf
- Hans de Goede
Pl
On Wed, Feb 2, 2011 at 5:37 PM, Eduardo Habkost wrote:
> On Wed, Feb 02, 2011 at 05:16:23PM +, Blue Swirl wrote:
>> On Wed, Feb 2, 2011 at 7:55 AM, Paolo Bonzini wrote:
>> > On 02/01/2011 07:10 PM, Blue Swirl wrote:
>> >>
>> >> One way to solve this which would preserve the device model would
On 2011-02-02 17:29, Gleb Natapov wrote:
> On Wed, Feb 02, 2011 at 04:52:11PM +0100, Jan Kiszka wrote:
>> On 2011-02-02 16:46, Gleb Natapov wrote:
>>> On Wed, Feb 02, 2011 at 04:35:25PM +0100, Jan Kiszka wrote:
On 2011-02-02 16:09, Avi Kivity wrote:
> On 02/02/2011 04:52 PM, Jan Kiszka wro
On Wed, Feb 02, 2011 at 08:06:40PM +0100, Andreas Färber wrote:
> Hi Alex,
>
> Am 30.01.2011 um 16:26 schrieb Alexander Graf:
>
> >Is anyone else going to Fosdem? We could try to set up an
> >unofficial qemu meeting if there are enough people around. So far
> >the list of people active in Qemu de
On 01/24/2011 10:00 PM, Anthony Liguori wrote:
int qemu_mutex_trylock(QemuMutex *mutex)
{
-return pthread_mutex_trylock(&mutex->lock);
+return g_static_mutex_trylock(&mutex->lock);
This is missing a !
Paolo
Hello,
these are some patches which I found on my stack of open patches.
All of them should go into 0.14, and at least some of them could also be
applied to 0.13.
[PATCH] hw/fmopl: Fix buffer access out-of-bounds errors
(http://patchwork.ozlabs.org/patch/79054/)
[PATCH] linux-user: Fix possi
Turn vmsvga_init into an inline function.
Signed-off-by: Blue Swirl
---
hw/vmware_vga.c |5 -
hw/vmware_vga.h |5 -
2 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/hw/vmware_vga.c b/hw/vmware_vga.c
index 6c59053..4656767 100644
--- a/hw/vmware_vga.c
+++ b/hw/vmware
Signed-off-by: Blue Swirl
---
hw/qdev.c | 14 +-
hw/qdev.h |1 +
2 files changed, 14 insertions(+), 1 deletions(-)
diff --git a/hw/qdev.c b/hw/qdev.c
index c7fec44..1aa1ea0 100644
--- a/hw/qdev.c
+++ b/hw/qdev.c
@@ -106,6 +106,18 @@ static DeviceState
*qdev_create_from_info(Bus
Signed-off-by: Blue Swirl
---
target-i386/helper.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/target-i386/helper.c b/target-i386/helper.c
index 1217452..4bbf9b1 100644
--- a/target-i386/helper.c
+++ b/target-i386/helper.c
@@ -1148,7 +1148,7 @@ void cpu_inject_x86_mc
On Wed, Feb 02, 2011 at 05:16:23PM +, Blue Swirl wrote:
> On Wed, Feb 2, 2011 at 7:55 AM, Paolo Bonzini wrote:
> > On 02/01/2011 07:10 PM, Blue Swirl wrote:
> >>
> >> One way to solve this which would preserve the device model would be
> >> to add stub devices. For example, hw/vmmouse-stub.c w
On Tue, Feb 01, 2011 at 07:14:00PM +0100, Stefan Weil wrote:
> >+
> > #include "config-host.h"
> > #include "config-target.h"
> >+
> >+/* We want to include different config files for specific targets
> >+ And for the common library. They need a different name because
> >+ we don't want to r
For later use by PROP_TYPE_ENUM, will store enumeration name/value
table there.
---
hw/qdev.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/hw/qdev.h b/hw/qdev.h
index fa3221b..3d9acd7 100644
--- a/hw/qdev.h
+++ b/hw/qdev.h
@@ -83,6 +83,7 @@ struct Property {
int
This patchset adds three new devices, usb-ccid, ccid-card-passthru and
ccid-card-emulated, providing a CCID bus, a simple passthru protocol
implementing card requiring a client, and a standalone emulated card.
It also introduces a new directory libcaccard with CAC card emulation,
CAC is a type of
The passthru ccid card is a device sitting on the usb-ccid bus and
using a chardevice to communicate with a remote device using the
VSCard protocol defined in libcacard/vscard_common.h
Usage docs available in following patch in docs/ccid.txt
Signed-off-by: Alon Levy
---
Makefile.objs
Protocol change:
* VSCMsgInit capabilities and magic
* removed ReaderResponse, will use Error instead with code==VSC_SUCCESS.
* adaded Flush and FlushComplete, remove Reconnect.
* define VSCARD_MAGIC
* added error code VSC_SUCCESS.
Fixes:
* update VSCMsgInit comment
* fix message type enum
another callback added to PropertyInfo, for later use by PROP_TYPE_ENUM.
Allows printing of runtime computed options when doing:
qemu -device foo,?
---
hw/qdev.c | 10 +-
hw/qdev.h |1 +
2 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/hw/qdev.c b/hw/qdev.c
index c7fe
---
hw/qdev-properties.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw/qdev-properties.c b/hw/qdev-properties.c
index 3157721..9108f18 100644
--- a/hw/qdev-properties.c
+++ b/hw/qdev-properties.c
@@ -75,7 +75,7 @@ DEFINE_PROP_ENUM("foo", State, foo, 1, foo_enum_table
I'll fold it before submitting the version to be applied, but
I hope keeping it as a separate patch will make reviewing easier.
Behavioral changes:
* fix abort on client answer after card remove
* enable migration
* remove side affect code from asserts
* return consistent self-powered state
*
Example usage:
EnumTable foo_enum_table[] = {
{"bar", 1},
{"buz", 2},
{NULL, 0},
};
DEFINE_PROP_ENUM("foo", State, foo, 1, foo_enum_table)
When using qemu -device foodev,? it will appear as:
foodev.foo=bar/buz
---
hw/qdev-properties.c | 60
Below is a proposal for a new API for PPC to allow KVM clients
to set MMU state in a vcpu.
BookE processors have one or more software managed TLBs and
currently there is no mechanism for Qemu to initialize
or access them. This is needed for normal initialization
as well as debug.
There a
Signed-off-by: Alon Levy
---
hw/ccid-card-emulated.c |1 +
hw/ccid-card-passthru.c |1 +
hw/usb-ccid.c |1 +
3 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/hw/ccid-card-emulated.c b/hw/ccid-card-emulated.c
index 09ce770..2e25daa 100644
--- a/hw/ccid-card-emul
Signed-off-by: Alon Levy
---
libcacard/vscard_common.h | 130 +
1 files changed, 130 insertions(+), 0 deletions(-)
create mode 100644 libcacard/vscard_common.h
diff --git a/libcacard/vscard_common.h b/libcacard/vscard_common.h
new file mode 100644
in
* fix error reporting in initfn
* bump copyright year
* update copyright license
Signed-off-by: Alon Levy
---
hw/ccid-card-emulated.c | 19 ---
1 files changed, 12 insertions(+), 7 deletions(-)
diff --git a/hw/ccid-card-emulated.c b/hw/ccid-card-emulated.c
index 3c5bf6c..09
This devices uses libcacard (internal) to emulate a smartcard conforming
to the CAC standard. It attaches to the usb-ccid bus. Usage instructions
(example command lines) are in the following patch in docs/ccid.txt. It
uses libcacard which uses nss, so it can work with both hw cards and
certificates
A CCID device is a smart card reader. It is a USB device, defined at [1].
This patch introduces the usb-ccid device that is a ccid bus. Next patches will
introduce two card types to use it, a passthru card and an emulated card.
[1] http://www.usb.org/developers/devclass_docs/DWG_Smart-Card_CCID_R
1 - 100 of 122 matches
Mail list logo