In Linux kernel HWPoison processing implementation, the virtual
address in processes mapping the error physical memory page is marked
as HWPoison. So that, the further accessing to the virtual
address will kill corresponding processes with SIGBUS.
If the error physical memory page is used by a KV
qemu_ram_remap() unmaps the specified RAM pages, then re-maps these
pages again. This is used by KVM HWPoison support to clear HWPoisoned
page tables across guest rebooting, so that a new page may be
allocated later to recover the memory error.
Signed-off-by: Huang Ying
---
cpu-all.h|4
Hi,
There isn't much spice-specific stuff in there. The clipboard bits
for example should work unmodified with vnc, one would just have to
hack up a vnc extention to tunnel the agent protocol over vnc (and vnc
client support of course).
VNC already supports copy/paste as part of the protocol
On Wed, Jan 12, 2011 at 08:13:45PM -0500, Mike Frysinger wrote:
> are there any rules with the tcg sar/shl/shr ops and their magnitudes
> ? such as "magnitudes cannot be larger than the register size" ?
Yes, the result is undefined in those cases.
> i have a 32bit register with the value of 0x1
Am 12.01.2011 14:41, schrieb Pierre Riteau:
> When block migration is requested and no read-write block device is
> present, a divide by zero exception is triggered because
> total_sector_sum equals zero.
>
> Signed-off-by: Pierre Riteau
> ---
> This v2 fixes a line that was going beyond 80 char
Hi,
The VDAgentMouseState messages have one problem: They send the pointer
position as-is, which introduces a dependency on the screen size.
Yeah, if we could get rid of that, that would be great. We could even
introduce a new mouse message type to the existing spice vdagent protocol
and use
On 01/04/2011 11:27 AM, Fabien Chouteau wrote:
On Windows, this is required to flush the remaining data in the IO stream,
otherwise Gdb do not receive the last packet.
Signed-off-by: Fabien Chouteau
---
gdbstub.c |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/gdbs
Hi,
The VDAgentMouseState messages have one problem: They send the pointer
position as-is, which introduces a dependency on the screen size.
Yeah, if we could get rid of that, that would be great. We could even
introduce a new mouse message type to the existing spice vdagent protocol
and use
Am 13.01.2011 09:34, Huang Ying wrote:
> In Linux kernel HWPoison processing implementation, the virtual
> address in processes mapping the error physical memory page is marked
> as HWPoison. So that, the further accessing to the virtual
> address will kill corresponding processes with SIGBUS.
>
How about creating stub functions instead of #ifdefs?
something like
pc-stubs.c
#ifndef CONFIG_VMWARE_VGA
pci_vmsvga_init()
{
error ...
}
#endif
#ifndef CONFIG_...
...
On Wed, Jan 12, 2011 at 11:34:29PM -0700, David Ahern wrote:
> David Ahern (8):
> fix 'no such file' error from make_d
On 13 January 2011 00:34, Mateusz Loskot wrote:
> On 12/01/11 17:15, Mateusz Loskot wrote:
>> On 12/01/11 16:48, Michal Suchanek wrote:
>>> On 12 January 2011 16:21, Mateusz Loskot wrote:
Thinking of future, could anyone estimate when it will be possible to
boot Solaris 10 installa
Hi,
Just throwing a quick writeup into the ring to kickstart the design
discussion ;)
cheers,
Gerd
#ifndef __QEMU_PVTABLET__
#define __QEMU_PVTABLET__ 1
/*
* qemu patavirtual tablet interface
*/
#include
/* our virtio-serial channel */
#define QEMU_PVTABLET_NAME "org.qemu.pvtablet.0"
Am Mittwoch, den 12.01.2011, 17:12 +0100 schrieb Gerd Hoffmann:
> Hi folks,
>
> Looks like the spicevmc patch kicked the guest qagent discussion, so
> lets start with this, although it isn't related much to the agent issue
> itself ...
>
>
> The spicevmc chardev just pipes data from a chardev u
On Wed, Jan 12, 2011 at 03:57:18PM +0200, Sergei Gavrikov wrote:
> From: Sergei Gavrikov
>
> According to RFC 1350 (TFTP Revision 2) the mode field can contain any
> combination of upper and lower case; also RFC 2349 propagates that the
> transfer size option ("tsize") is case in-sensitive too.
>
Hi,
(4) termial forwarding. Just an idea right now. Nowdays that the spice
client side moves to gtk it would be easy to embed a termial widget,
therby allowing easy access to the serial console using something
like this:
-chardev spicevmc,id=console,type=terminal
Can you elaborate how the spice display channel comes into play? On a
physical machine you just have input devices with no notion of
display. It's up to the windowing system to process input events and
handle multihead. Why does a pv tablet tie itself to a display
channel?
What about mouse whee
On Thu, Jan 13, 2011 at 10:24:50AM +0100, Fabien Chouteau wrote:
> On 01/04/2011 11:27 AM, Fabien Chouteau wrote:
> > On Windows, this is required to flush the remaining data in the IO stream,
> > otherwise Gdb do not receive the last packet.
> >
> > Signed-off-by: Fabien Chouteau
> > ---
> > gdb
Am 13.01.2011 09:34, Huang Ying wrote:
> In Linux kernel HWPoison processing implementation, the virtual
> address in processes mapping the error physical memory page is marked
> as HWPoison. So that, the further accessing to the virtual
> address will kill corresponding processes with SIGBUS.
>
On 01/13/2011 12:01 PM, Edgar E. Iglesias wrote:
On Thu, Jan 13, 2011 at 10:24:50AM +0100, Fabien Chouteau wrote:
On 01/04/2011 11:27 AM, Fabien Chouteau wrote:
On Windows, this is required to flush the remaining data in the IO stream,
otherwise Gdb do not receive the last packet.
Signed-off-b
On Windows, this is required to flush the remaining data in the IO stream,
otherwise Gdb do not receive the last packet.
Version 2:
Fix linux-user build error.
Signed-off-by: Fabien Chouteau
---
gdbstub.c |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/gdbstub.c
On 01/13/11 12:01, Stefan Hajnoczi wrote:
Can you elaborate how the spice display channel comes into play? On a
physical machine you just have input devices with no notion of
display. It's up to the windowing system to process input events and
handle multihead. Why does a pv tablet tie itself
@@ -1620,6 +1620,11 @@ static int pci_qdev_init(DeviceState *qdev, DeviceInfo
*base)
info->is_bridge);
if (pci_dev == NULL)
return -1;
+if (qdev->hotplugged&& info->no_hotplug) {
+qerror_report(QERR_DEVICE_NO_HOTPLUG, info->qdev.
Hi,
This series implements threadlets infrastructure:
Changelog:
* Changed the name aio_thread to handle_work.
* Corrected the usage of aiocb->ret which has to be
accessed under aiocb_mutex.
* Merged the patche which add dequeue_work with the patch
which removes the unused active field in
This patch introduces work concept by introducing the
ThreadletWork structure.
Signed-off-by: Arun R Bharadwaj
---
posix-aio-compat.c | 20 ++--
1 files changed, 14 insertions(+), 6 deletions(-)
diff --git a/posix-aio-compat.c b/posix-aio-compat.c
index 82862ec..ddf42f5 100644
This patch adds the aiocb_mutex to protect aiocb.
This patch also removes the infinite loop present in paio_cancel.
Since there can only be one cancellation at a time, we need to
introduce a condition variable. For this, we need a
global aiocb_completion condition variable.
This patch also adds t
This patch adds the callback function to the ThreadletWork
structure and moves aio handler as a callback function.
Signed-off-by: Arun R Bharadwaj
---
posix-aio-compat.c | 89 +---
1 files changed, 50 insertions(+), 39 deletions(-)
diff --git a/
Hi,
+.no_hotplug = 1,
What about "piix3-usb-uhci"& friends?
Hmm. Good question. UHCI controllers are hotpluggable. But of course
it isn't when it is a function of the chipset because pci can hotplug
slots only.
Guess the best way to handle this for now is to just disable
This patch adds a global queue of type ThreadletQueue and
removes the earlier usage of request_list queue.
We want to create the thread on the first submit. Hence we
need to track whether the globalqueue is initialized or not.
Signed-off-by: Arun R Bharadwaj
---
posix-aio-compat.c | 149 ++
Remove thread_create and use qemu_thread_create instead.
Signed-off-by: Arun R Bharadwaj
---
posix-aio-compat.c | 29 ++---
1 files changed, 2 insertions(+), 27 deletions(-)
diff --git a/posix-aio-compat.c b/posix-aio-compat.c
index 2d73846..8c5bb46 100644
--- a/posix-
This patch adds submit work threadlet API and shows how
the qemu_paio_submit changes to submit_work.
Signed-off-by: Arun R Bharadwaj
---
posix-aio-compat.c | 33 ++---
1 files changed, 22 insertions(+), 11 deletions(-)
diff --git a/posix-aio-compat.c b/posix-aio-co
This patch adds dequeue_work threadlet API and shows how
the paio_cancel changes to dequeue_work.
The active field in the qemu_aiocb structure is now useless.
Remove it.
Signed-off-by: Arun R Bharadwaj
---
posix-aio-compat.c | 38 --
1 files changed, 16 ins
This patch moves the threadlet queue API code to
qemu-threadlets.c where these APIs can be used by
other subsystems.
Signed-off-by: Arun R Bharadwaj
---
Makefile.objs |1
posix-aio-compat.c | 144
qemu-thread.h |1
qemu-th
This patch adds aio_signal_handler threadlet API. Earler
posix-aio-compat.c had its own signal handler code. Now
abstract this, in the later patch it is moved to a generic
code so that it can be used by other subsystems.
Signed-off-by: Arun R Bharadwaj
---
posix-aio-compat.c | 49 +
This patch allows subsystems to create their own private
queues with associated pools of threads.
Signed-off-by: Arun R Bharadwaj
---
qemu-threadlets.c | 75 ++---
qemu-threadlets.h |4 +++
2 files changed, 58 insertions(+), 21 deletions(-)
Remove all instances of CONFIG_THREAD, which is not used
anymore.
Signed-off-by: Arun R Bharadwaj
---
configure |2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
index a079a49..addf733 100755
--- a/configure
+++ b/configure
@@ -2456,7 +2456,6 @@ if t
On 13 January 2011 01:31, Aurelien Jarno wrote:
> On Wed, Jan 12, 2011 at 03:05:10PM -0600, Peter Maydell wrote:
>> Actually, will
>> return ((a.high & 0x7fff) == 0x7fff) && (a.low >=
>> LIT64(0x4000));
>> do? Untested but I think it will do the right thing. I'm not sure
>
> The exp
Signed-off-by: Arun R Bharadwaj
Signed-off-by: Gautham R Shenoy
---
docs/async-support.txt | 141
1 files changed, 141 insertions(+), 0 deletions(-)
create mode 100644 docs/async-support.txt
diff --git a/docs/async-support.txt b/docs/async-supp
On 13/01/11 10:13, Michal Suchanek wrote:
On 13 January 2011 00:34, Mateusz Loskot wrote:
On 12/01/11 17:15, Mateusz Loskot wrote:
On 12/01/11 16:48, Michal Suchanek wrote:
On 12 January 2011 16:21, Mateusz Loskotwrote:
Thinking of future, could anyone estimate when it will be possible
Each iohandler for an fd can now be individually enabled or disabled.
Signed-off-by: Amit Shah
---
qemu-char.h |4
vl.c| 58 ++
2 files changed, 58 insertions(+), 4 deletions(-)
diff --git a/qemu-char.h b/qemu-char.h
ind
If an iohandler is asked to be enabled but the handler doesn't exist,
don't enable the handler.
This can be used to simplify the conditions in main_loop_wait().
Signed-off-by: Amit Shah
---
vl.c | 29 -
1 files changed, 20 insertions(+), 9 deletions(-)
diff --git
Add a get_iohandler() function instead of looking up the ioh twice in
qemu_set_fd_handler2().
Signed-off-by: Amit Shah
---
vl.c | 44 ++--
1 files changed, 26 insertions(+), 18 deletions(-)
diff --git a/vl.c b/vl.c
index 0292184..9e365f6 100644
--- a/vl
On Thu, Jan 13, 2011 at 12:46:57PM +0100, Fabien Chouteau wrote:
> On Windows, this is required to flush the remaining data in the IO stream,
> otherwise Gdb do not receive the last packet.
>
> Version 2:
>Fix linux-user build error.
Hi, It seems a bit odd to explicitely close for system mode
Hi,
This patchset adds new interfaces to work with iohandlers. It adds:
int assign_fd_handlers(int fd, IOHandlerOps *ops, void *opaque)
-- Specify io handlers for an fd
int remove_fd_handlers(int fd)
-- Remove fd handlers for fd (mark ioh for deletion)
int set_read_poll_fd_action(int fd, b
This function will be used to assign fd handlers. Future commits will
be enable each handler to be enabled/disabled individually.
Make qemu_set_fd_handler2() a wrapper to assign_fd_handlers().
remove_fd_handlers() removes all the assigned handlers and marks the
iohandler for deletion. It's a wr
Collect all the handlers in a IOHandlerOps struct instead of being
passed one at a time to each function.
Signed-off-by: Amit Shah
---
qemu-char.h |7 ++-
vl.c| 51 ---
2 files changed, 34 insertions(+), 24 deletions(-)
diff --gi
David Ahern writes:
> make_device_config currently emits an error:
>
> make config-all-devices.mak
> GEN x86_64-softmmu/config-devices.mak
> /home/dsa/kvm/releases/qemu.git/make_device_config.sh: line 21:
> /home/dsa/kvm/releases/qemu.git/default-configs/pci.mak : No such file or
> director
On 01/13/11 14:00, Amit Shah wrote:
{
-return assign_fd_handlers(fd, fd_read_poll, fd_read, fd_write, opaque);
+assign_fd_handlers(fd, fd_read_poll, fd_read, fd_write, opaque);
+set_read_poll_fd_action(fd, true);
+set_read_fd_action(fd, true);
+set_write_fd_action(fd, true);
On 01/13/11 14:00, Amit Shah wrote:
This function will be used to assign fd handlers. Future commits will
be enable each handler to be enabled/disabled individually.
Make qemu_set_fd_handler2() a wrapper to assign_fd_handlers().
remove_fd_handlers() removes all the assigned handlers and marks
On (Thu) Jan 13 2011 [14:55:25], Gerd Hoffmann wrote:
> On 01/13/11 14:00, Amit Shah wrote:
> > {
> >-return assign_fd_handlers(fd, fd_read_poll, fd_read, fd_write, opaque);
> >+assign_fd_handlers(fd, fd_read_poll, fd_read, fd_write, opaque);
> >+set_read_poll_fd_action(fd, true);
> >+
Hi,
+ioh->ops.fd_read_poll = ops->fd_read_poll;
+ioh->ops.fd_read = ops->fd_read;
+ioh->ops.fd_write = ops->fd_write;
You can write this as "ioh->ops = *ops" btw.
I guess the long-term plan (to be committed after killing the last user
of the old interface) is to store a pointer
On 01/13/11 14:00, Amit Shah wrote:
Hi,
This patchset adds new interfaces to work with iohandlers. It adds:
int assign_fd_handlers(int fd, IOHandlerOps *ops, void *opaque)
-- Specify io handlers for an fd
int remove_fd_handlers(int fd)
-- Remove fd handlers for fd (mark ioh for deletio
On 01/13/11 15:00, Amit Shah wrote:
On (Thu) Jan 13 2011 [14:55:25], Gerd Hoffmann wrote:
On 01/13/11 14:00, Amit Shah wrote:
{
-return assign_fd_handlers(fd, fd_read_poll, fd_read, fd_write, opaque);
+assign_fd_handlers(fd, fd_read_poll, fd_read, fd_write, opaque);
+set_read_poll
On (Thu) Jan 13 2011 [15:02:37], Gerd Hoffmann wrote:
> Hi,
>
> >+ioh->ops.fd_read_poll = ops->fd_read_poll;
> >+ioh->ops.fd_read = ops->fd_read;
> >+ioh->ops.fd_write = ops->fd_write;
>
> You can write this as "ioh->ops = *ops" btw.
>
> I guess the long-term plan (to be committed
On (Thu) Jan 13 2011 [14:59:26], Gerd Hoffmann wrote:
> >+int assign_fd_handlers(int fd,
> >+ IOCanReadHandler *fd_read_poll,
> >+ IOHandler *fd_read,
> >+ IOHandler *fd_write,
> >+ void *opaque);
> >+void remov
On (Thu) Jan 13 2011 [15:08:51], Gerd Hoffmann wrote:
> On 01/13/11 15:00, Amit Shah wrote:
> >On (Thu) Jan 13 2011 [14:55:25], Gerd Hoffmann wrote:
> >>On 01/13/11 14:00, Amit Shah wrote:
> >>> {
> >>>-return assign_fd_handlers(fd, fd_read_poll, fd_read, fd_write,
> >>>opaque);
> >>>+ass
On 01/13/11 02:57, Isaku Yamahata wrote:
> How about creating stub functions instead of #ifdefs?
> something like
>
> pc-stubs.c
> #ifndef CONFIG_VMWARE_VGA
> pci_vmsvga_init()
> {
> error ...
> }
> #endif
> #ifndef CONFIG_...
> ...
I wasn't trying to re-architect how the CONFIG_ is i
On 01/13/11 06:43, Markus Armbruster wrote:
> David Ahern writes:
>
>> make_device_config currently emits an error:
>>
>> make config-all-devices.mak
>> GEN x86_64-softmmu/config-devices.mak
>> /home/dsa/kvm/releases/qemu.git/make_device_config.sh: line 21:
>> /home/dsa/kvm/releases/qemu.g
Hi,
I can't see such a race window given that most qemu code runs
serialized anyway. If you call assign_fd_handlers() +
set_write_fd_action(false) in sequence I can't see how a select call
can happen inbetween ...
Not today, but later when we have threads doing this stuff?
Unlikely I thin
Am 23.12.2010 22:58, schrieb Nicholas A. Bellinger:
> On Tue, 2010-12-21 at 12:49 +1100, Benjamin Herrenschmidt wrote:
>>> Yep, so it appears that commit 89c0f6438d16 did introduce the bogus
>>> 'double complete' in scsi_read_complete, which I think was intended to
>>> handle residual counts for TY
Hi,
This patchset adds new interfaces to work with iohandlers. It adds:
int assign_fd_handlers(int fd, IOHandlerOps *ops, void *opaque)
-- Specify io handlers for an fd
int remove_fd_handlers(int fd)
-- Remove fd handlers for fd (mark ioh for deletion)
int set_read_poll_fd_action(int fd, b
Collect all the handlers in a IOHandlerOps struct instead of being
passed one at a time to each function.
Signed-off-by: Amit Shah
---
qemu-char.h |7 ++-
vl.c| 56
2 files changed, 38 insertions(+), 25 deletions(-)
diff
On Tue, 2011-01-11 at 20:33 +0200, Alon Levy wrote:
> > Spice guest agent:
> > - virt agent, matahari, spice agent...what is in spice agent?
> > - spice char device
> > - mouse, copy 'n paste, screen resolution change
> > - could be generic (at least input and copy/paste)
> > - send protocol de
Add a get_iohandler() function instead of looking up the ioh twice in
qemu_set_fd_handler2().
Signed-off-by: Amit Shah
---
vl.c | 44 ++--
1 files changed, 26 insertions(+), 18 deletions(-)
diff --git a/vl.c b/vl.c
index 0292184..9e365f6 100644
--- a/vl
This function will be used to assign fd handlers. Future commits will
be enable each handler to be enabled/disabled individually.
Make qemu_set_fd_handler2() a wrapper to assign_fd_handlers().
remove_fd_handlers() removes all the assigned handlers and marks the
iohandler for deletion. It's a wr
If an iohandler is asked to be enabled but the handler doesn't exist,
don't enable the handler.
This can be used to simplify the conditions in main_loop_wait().
Signed-off-by: Amit Shah
---
vl.c | 29 -
1 files changed, 20 insertions(+), 9 deletions(-)
diff --git
Each iohandler for an fd can now be individually enabled or disabled.
Signed-off-by: Amit Shah
---
qemu-char.h |4 +++
vl.c| 78 --
2 files changed, 79 insertions(+), 3 deletions(-)
diff --git a/qemu-char.h b/qemu-char.h
inde
Hi,
I'm building current Git master (SHA1:facf1a60) using latest MingW32
on Windows Vista and compilation fails with the following error:
g:/src/qemu/_git/master/disas.c: In function 'generic_print_address':
g:/src/qemu/_git/master/disas.c:65:5: warning: 'I' flag used with '%x'
gnu_printf format
On 01/13/11 16:00, Amit Shah wrote:
This patchset adds new interfaces to work with iohandlers. It adds:
int assign_fd_handlers(int fd, IOHandlerOps *ops, void *opaque)
-- Specify io handlers for an fd
int remove_fd_handlers(int fd)
-- Remove fd handlers for fd (mark ioh for deletion)
in
On 13/01/11 15:09, Mateusz Loskot wrote:
Hi,
I'm building current Git master (SHA1:facf1a60) using latest MingW32
on Windows Vista and compilation fails with the following error:
g:/src/qemu/_git/master/disas.c: In function 'generic_print_address':
g:/src/qemu/_git/master/disas.c:65:5: warning
On 07/01/11 17:28, Mateusz Loskot wrote:
I'm wondering if the following setup would work at all:
1. Quad-core workstation with 16GB RAM with Windows Vista 64-bit
as host OS
2. The Windows runs VirtualBox with Linux installed as guest OS.
3. The Linux guest OS runs QEMU
4. QEMU runs Solaris (SPAR
Mainstone board has two flash chips (emulated by two ram regions), however
currently code tries to allocate them with the same name, which fails.
Fix that to make mainstone emulation work again.
Signed-off-by: Dmitry Eremin-Solenikov
---
hw/mainstone.c |2 +-
1 files changed, 1 insertions(+)
Second instance of scoop contains registers shifted to 0x40 from the start
of the page. Instead of messing with register mapping, just limit register
address to 0x00..0x3f.
Signed-off-by: Dmitry Eremin-Solenikov
---
hw/zaurus.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff
vmstate_pxa2xx_i2c incorrectly recursed to itself instead of going
to store slave device. Fix that stop stop qemu from segfaulting
during savevm for pxa2xx-based devices.
Signed-off-by: Dmitry Eremin-Solenikov
---
hw/pxa2xx.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --gi
Am 20.12.2010 13:45, schrieb Christoph Hellwig:
> Factor the DMA I/O path that is duplicated between read and write
> commands, into common helpers using the s->is_read flag added for
> the macio ATA controller.
>
> Signed-off-by: Christoph Hellwig
Thanks, applied all to the block branch.
Kevin
On 01/13/2011 04:19 AM, Gerd Hoffmann wrote:
Hi,
Just throwing a quick writeup into the ring to kickstart the design
discussion ;)
cheers,
Gerd
#ifndef __QEMU_PVTABLET__
#define __QEMU_PVTABLET__ 1
/*
* qemu patavirtual tablet interface
*/
#include
/* our virtio-serial channel */
#
On 01/13/2011 05:51 AM, Gerd Hoffmann wrote:
On 01/13/11 12:01, Stefan Hajnoczi wrote:
Can you elaborate how the spice display channel comes into play? On a
physical machine you just have input devices with no notion of
display. It's up to the windowing system to process input events and
hand
On 13/01/11 12:40, Mateusz Loskot wrote:
On 13/01/11 10:13, Michal Suchanek wrote:
On 13 January 2011 00:34, Mateusz Loskot wrote:
On 12/01/11 17:15, Mateusz Loskot wrote:
On 12/01/11 16:48, Michal Suchanek wrote:
On 12 January 2011 16:21, Mateusz Loskot wrote:
Thinking of future, could any
On 13/01/11 15:24, Mark Cave-Ayland wrote:
On 13/01/11 15:09, Mateusz Loskot wrote:
Hi,
I'm building current Git master (SHA1:facf1a60) using latest MingW32
on Windows Vista and compilation fails with the following error:
g:/src/qemu/_git/master/disas.c: In function 'generic_print_address':
g
On 01/11/2011 04:43 PM, Anthony Liguori wrote:
- invalidate all buffers for that block device on machine A after
migration.
* with NFS, just close + reopen the file (and pray that nobody else
has it also opened)
* with block devices: use BLKFLBLK ioctl, and pray that nobody
else i
On 01/13/2011 05:52 PM, Anthony Liguori wrote:
/* host->guest, sent before any other events */
typedef struct qemu_pvtablet_init {
uint32_t res_x; /* x axis resolution */
uint32_t res_y; /* y axis resolution */
uint32_t features; /* qemu_pvtablet_features */
uint32_t available
On 01/13/2011 12:19 PM, Gerd Hoffmann wrote:
Hi,
Just throwing a quick writeup into the ring to kickstart the design
discussion ;)
typedef struct qemu_pvtablet_message {
uint32_t size;/* whole message size */
uint32_t type;/* qemu_pvtablet_type */
uin
Windows 7 KVM install runs unbelievably fast on SL 6 ( alpha 3) vs F14 with the
most recent libvirt stuff :
[root@fedora14b ~]# rpm -qa|grep libvirt
libvirt-python-0.8.7-1.fc14.x86_64
libvirt-0.8.7-1.fc14.x86_64
libvirt-client-0.8.7-1.fc14.x86_64
Boris.
P.S. It happens no matter of pre-install lo
On 01/13/2011 10:14 AM, Avi Kivity wrote:
On 01/13/2011 05:52 PM, Anthony Liguori wrote:
/* host->guest, sent before any other events */
typedef struct qemu_pvtablet_init {
uint32_t res_x; /* x axis resolution */
uint32_t res_y; /* y axis resolution */
uint32_t features; /* qem
On 01/13/2011 10:18 AM, Avi Kivity wrote:
On 01/13/2011 12:19 PM, Gerd Hoffmann wrote:
Hi,
Just throwing a quick writeup into the ring to kickstart the design
discussion ;)
typedef struct qemu_pvtablet_message {
uint32_t size;/* whole message size */
uint32_t type;
On 01/13/11 16:55, Anthony Liguori wrote:
On 01/13/2011 05:51 AM, Gerd Hoffmann wrote:
On 01/13/11 12:01, Stefan Hajnoczi wrote:
Can you elaborate how the spice display channel comes into play? On a
physical machine you just have input devices with no notion of
display. It's up to the windowin
On 01/13/2011 07:34 AM, David Ahern wrote:
+#ifdef CONFIG_FDC
/* floppy type */
fd0 = fdctrl_get_drive_type(floppy_controller, 0);
@@ -403,6 +408,7 @@ void pc_cmos_init(ram_addr_t ram_size, ram_addr_t
above_4g_mem_size,
val |= 0x02; /* FPU is there */
val |= 0x04; /* PS
On 01/13/2011 10:57 AM, Isaku Yamahata wrote:
How about creating stub functions instead of #ifdefs?
I think David's #ifdef's are okay. Ultimately what you'd want is to
drive all this from configuration files, and if this were done you
wouldn't need stub functions.
Paolo
On 01/13/2011 05:39 PM, Anthony Liguori wrote:
On 01/13/2011 10:14 AM, Avi Kivity wrote:
On 01/13/2011 05:52 PM, Anthony Liguori wrote:
/* host->guest, sent before any other events */
typedef struct qemu_pvtablet_init {
uint32_t res_x; /* x axis resolution */
uint32_t res_y; /* y axis resoluti
On 01/13/2011 07:34 AM, David Ahern wrote:
Signed-off-by: David Ahern
---
hw/pc.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/hw/pc.c b/hw/pc.c
index e7514fd..11b570f 100644
--- a/hw/pc.c
+++ b/hw/pc.c
@@ -1087,8 +1087,10 @@ void pc_vga_init(PCIBus *pci_bus)
On 13.01.2011, at 17:39, Anthony Liguori wrote:
> On 01/13/2011 10:14 AM, Avi Kivity wrote:
>> On 01/13/2011 05:52 PM, Anthony Liguori wrote:
>>>
>>> /* host->guest, sent before any other events */
>>> typedef struct qemu_pvtablet_init {
>>>uint32_t res_x; /* x axis resolution */
>>>ui
Currently FdMigrationState doesn't support read(), and this patch
introduces it to get response from the other side.
Signed-off-by: Yoshiaki Tamura
---
migration-tcp.c | 15 +++
migration.c | 12
migration.h |3 +++
3 files changed, 30 insertions(+), 0 de
Record mmio write event to replay it upon failover.
Signed-off-by: Yoshiaki Tamura
---
exec.c |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/exec.c b/exec.c
index 49c28b1..4a171cc 100644
--- a/exec.c
+++ b/exec.c
@@ -33,6 +33,7 @@
#include "osdep.h"
#include "kvm.h
Introduce qemu_savevm_state_{begin,commit} to send the memory and
device info together, while avoiding cancelling memory state tracking.
Signed-off-by: Yoshiaki Tamura
---
savevm.c | 88 ++
sysemu.h |2 +
2 files changed, 90 inser
Currently buf size is fixed at 32KB. It would be useful if it could
be flexible.
Signed-off-by: Yoshiaki Tamura
---
hw/hw.h |2 ++
savevm.c | 20 +++-
2 files changed, 21 insertions(+), 1 deletions(-)
diff --git a/hw/hw.h b/hw/hw.h
index 163a683..a506688 100644
--- a/hw/
On 01/13/11 17:18, Avi Kivity wrote:
On 01/13/2011 12:19 PM, Gerd Hoffmann wrote:
Hi,
Just throwing a quick writeup into the ring to kickstart the design
discussion ;)
typedef struct qemu_pvtablet_message {
uint32_t size; /* whole message size */
uint32_t type; /* qemu_pvtablet_type */
uint64
Introduce migrate_ft_trans_put_ready() which kicks the FT transaction
cycle. When ft_mode is on, migrate_fd_put_ready() would open
ft_trans_file and turn on event_tap. To end or cancel FT transaction,
ft_mode and event_tap is turned off. migrate_ft_trans_get_ready() is
called to receive ack from
event-tap controls when to start FT transaction, and provides proxy
functions to called from net/block devices. While FT transaction, it
queues up net/block requests, and flush them when the transaction gets
completed.
Signed-off-by: Yoshiaki Tamura
Signed-off-by: OHMURA Kei
---
Makefile.targe
Signed-off-by: Yoshiaki Tamura
---
qemu-char.c |2 +-
qemu_socket.h |1 +
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/qemu-char.c b/qemu-char.c
index edc9ad6..737d347 100644
--- a/qemu-char.c
+++ b/qemu-char.c
@@ -2116,7 +2116,7 @@ static void tcp_chr_telnet_init(int
event-tap function is called only when it is on, and requests sent
from device emulators.
Signed-off-by: Yoshiaki Tamura
---
block.c | 11 +++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/block.c b/block.c
index ff2795b..85bd8b8 100644
--- a/block.c
+++ b/block.c
@@
To utilize ft_trans_file function, savevm needs interfaces to be
exported.
Signed-off-by: Yoshiaki Tamura
---
hw/hw.h |5 ++
savevm.c | 148 ++
2 files changed, 153 insertions(+), 0 deletions(-)
diff --git a/hw/hw.h b/hw/hw.h
ind
1 - 100 of 132 matches
Mail list logo