Displaying 9 results from an estimated 9 matches for "xen_domid".
Did you mean:
xen_domain
2011 Jun 29
5
[PATCH] xen: introduce xen_change_state_handler
...tore_record_dm_state(struct xs_handle *xs, const char *state)
{
char path[50];
+ if (xs == NULL) {
+ fprintf(stderr, "xenstore connection not initialized\n");
+ exit(1);
+ }
+
snprintf(path, sizeof (path), "/local/domain/0/device-model/%u/state", xen_domid);
- if (!xs_write(s->xenstore, XBT_NULL, path, state, strlen(state))) {
+ if (!xs_write(xs, XBT_NULL, path, state, strlen(state))) {
fprintf(stderr, "error recording dm state\n");
exit(1);
}
@@ -823,15 +828,20 @@ static void xen_main_loop_prepare(XenIOState...
2012 Apr 17
2
[PATCH BUILD FIX 0/2] build xc_hvm_inject_msi on Xen < 4.2
Hi all,
this small patch series fixes the build breakage introduced by
f1dbf015dfb0aa7f66f710a1f1bc58b662951de2 with Xen < 4.2.
The problem is that xc_hvm_inject_msi is only defined from Xen 4.2
onwards so we need to provide a compatibility function for older Xen
versions.
Stefano Stabellini (2):
xen,configure: detect Xen 4.2
xen: add a dummy xc_hvm_inject_msi for Xen < 4.2
2010 Aug 12
59
[PATCH 00/15] RFC xen device model support
Hi all,
this is the long awaited patch series to add xen device model support in
qemu; the main author is Anthony Perard.
Developing this series we tried to come up with the cleanest possible
solution from the qemu point of view, limiting the amount of changes to
common code as much as possible. The end result still requires a couple
of hooks in piix_pci but overall the impact should be very
2011 Jul 21
51
Linux Stubdom Problem
...address_index ||
!test_bit(address_offset >>
XC_PAGE_SHIFT, entry->valid_mapping)) {
qemu_remap_bucket(entry, size ? :
MCACHE_BUCKET_SIZE, address_index);
->xc_map_foreign_bulk(xen_xc,
xen_domid, PROT_READ|PROT_WRITE,
pfns, err, nb_pfn);
The qemu tries to map pages from hvm guest(xen_domid) to linux
stubdom. But some hvm pages'' pfns are larger than 0xfffff. So, in the
p2m_gfn_to_mfn, the judgement condition is valid:(p2m->max_mapped_pfn
= 0xfffff)
if ( gf...
2012 Apr 12
2
[PATCH v2 0/2] MSI/MSIX injection for Xen HVM guests
Hi all,
this patch series by Wei Liu implements a simple Xen APIC module and use
it to deliver MSI/MSIX for Xen HVM guests.
The second version of this series includes the "or later" copyright
clause for xen_apic.c and a fix to the return value of xen_apic_mem_read
(thanks Peter for finding it out).
Stefano Stabellini (2):
Xen: basic HVM MSI injection support.
Xen: Add
2007 Jul 27
4
Prototype to use QEMU for PV guest framebuffer
...the interesting code (all 100 lines of it) is in hw/xen.c in the
xen_init_pv method - which is called when using the ''-M xenpv'' command
line arg.
The first thing this does is get the domain ID - to avoid touching QEMU''s
command line args, I just use an environ variable XEN_DOMID to pass this
in.
The main_loop() in qemu/vl.c assumes there is always one CPU created in
the VM, but for our purposes we''re not doing any CPU emulation merely
using the event loop/display state. So to workaround this assumption I
create a single CPUState * instance, and permanently dis...
2012 Feb 08
28
[PATCH v3 0/6] initial suspend support
This patch series makes suspend support in qemu alot more useful. Right
now the guest can put itself into s3, but qemu will wakeup the guest
instantly. With this patch series applied the guest will stay suspended
instead and there are a few events which can kick the guest out of
suspend state: A monitor command, ps/2 input, serial input, rtc. Not
much yet, but it''s a start with the
2012 Apr 05
15
[PATCH 0/0] MSI/MSIX injection for Xen HVM guests
Implement a simple Xen APIC module and use it to deliver MSI/MSIX for
Xen HVM guests.
2013 Dec 16
8
XEN/arm XENFB support
Goodmorning,
I''m currently playing with XEN/arm on my Allwinner A20 (cubieboard2)
I would like to get the XENFB driver working on domU.
But currently in xen/arm there''s no support for VFB, atleast qemu is not
supported.
But this video http://www.youtube.com/watch?v=po1IeElg8tg and this one
http://www.youtube.com/watch?v=Km6gBnIqaWo is showing a working framebuffer.
So there are