Displaying 8 results from an estimated 8 matches for "lguest_dev".
2007 May 09
1
[patch 3/9] lguest: the host code
...bled()) {
+ printk("lguest is afraid of %s\n", paravirt_ops.name);
+ return -EPERM;
+ }
+
+ err = map_switcher();
+ if (err)
+ return err;
+
+ err = init_pagetables(switcher_page, SHARED_SWITCHER_PAGES);
+ if (err) {
+ unmap_switcher();
+ return err;
+ }
+ lguest_io_init();
+
+ err = lguest_device_init();
+ if (err) {
+ free_pagetables();
+ unmap_switcher();
+ return err;
+ }
+ lock_cpu_hotplug();
+ if (cpu_has_pge) { /* We have a broader idea of "global". */
+ cpu_had_pge = 1;
+ on_each_cpu(adjust_pge, 0, 0, 1);
+ clear_bit(X86_FEATURE_PGE, boot_cpu_data.x86_capability);...
2007 May 09
1
[patch 3/9] lguest: the host code
...bled()) {
+ printk("lguest is afraid of %s\n", paravirt_ops.name);
+ return -EPERM;
+ }
+
+ err = map_switcher();
+ if (err)
+ return err;
+
+ err = init_pagetables(switcher_page, SHARED_SWITCHER_PAGES);
+ if (err) {
+ unmap_switcher();
+ return err;
+ }
+ lguest_io_init();
+
+ err = lguest_device_init();
+ if (err) {
+ free_pagetables();
+ unmap_switcher();
+ return err;
+ }
+ lock_cpu_hotplug();
+ if (cpu_has_pge) { /* We have a broader idea of "global". */
+ cpu_had_pge = 1;
+ on_each_cpu(adjust_pge, 0, 0, 1);
+ clear_bit(X86_FEATURE_PGE, boot_cpu_data.x86_capability);...
2007 Apr 18
1
[RFC/PATCH LGUEST X86_64 03/13] lguest64 core
...n",sizeof(struct lguest_vcpu));
+
+ pages = (sizeof(struct lguest_vcpu)+(PAGE_SIZE-1))/PAGE_SIZE;
+ for (order = 0; (1<<order) < pages; order++)
+ ;
+
+ lguest_vcpu_pages = pages;
+ lguest_vcpu_order = order;
+
+ ret = paravirt_enabled();
+ if (ret < 0)
+ return -EPERM;
+
+ ret = lguest_device_init();
+ if (ret < 0) {
+ return ret;
+ }
+
+ pages = (unsigned long)&end_hyper_text -
+ (unsigned long)&start_hyper_text;
+ pages = (pages + (PAGE_SIZE - 1)) / PAGE_SIZE;
+
+ ret = hvvm_map_pages(&start_hyper_text, pages, &hvaddr);
+ if (ret < 0)
+ goto out;
+ printk(&...
2007 Apr 18
1
[RFC/PATCH LGUEST X86_64 03/13] lguest64 core
...n",sizeof(struct lguest_vcpu));
+
+ pages = (sizeof(struct lguest_vcpu)+(PAGE_SIZE-1))/PAGE_SIZE;
+ for (order = 0; (1<<order) < pages; order++)
+ ;
+
+ lguest_vcpu_pages = pages;
+ lguest_vcpu_order = order;
+
+ ret = paravirt_enabled();
+ if (ret < 0)
+ return -EPERM;
+
+ ret = lguest_device_init();
+ if (ret < 0) {
+ return ret;
+ }
+
+ pages = (unsigned long)&end_hyper_text -
+ (unsigned long)&start_hyper_text;
+ pages = (pages + (PAGE_SIZE - 1)) / PAGE_SIZE;
+
+ ret = hvvm_map_pages(&start_hyper_text, pages, &hvaddr);
+ if (ret < 0)
+ goto out;
+ printk(&...
2007 Aug 08
13
[PATCH 0/7] Modify lguest32 to make room for lguest64
Hi all,
I've been working on lguest64 and in order to do this, I had to move
a lot of the i386 specific out of the way. Well, the lguest64 port
is still not ready to display, but before Rusty makes too many changes
I would like this in upstream so I don't have to keep repeating my
changes :-)
So this patch series moves lguest32 out of the way for other archs.
-- Steve
2007 Aug 08
13
[PATCH 0/7] Modify lguest32 to make room for lguest64
Hi all,
I've been working on lguest64 and in order to do this, I had to move
a lot of the i386 specific out of the way. Well, the lguest64 port
is still not ready to display, but before Rusty makes too many changes
I would like this in upstream so I don't have to keep repeating my
changes :-)
So this patch series moves lguest32 out of the way for other archs.
-- Steve
2007 Aug 08
7
[PATCH 0/5 -v2] Modify lguest32 to make room for lguest64 (version 2)
[
Changes since last version.
- Move lg.h to include/asm instead (suggested by Rusty Russel)
- All steps of the series compiles (suggested by Stephen Rothwell)
- Better ifdef header naming (suggested by Stephen Rothwell)
- Added Andi Kleen to CC (forgot to on V1)
]
Hi all,
I've been working on lguest64 and in order to do this, I had to move
a lot of the i386 specific out of the
2007 Aug 08
7
[PATCH 0/5 -v2] Modify lguest32 to make room for lguest64 (version 2)
[
Changes since last version.
- Move lg.h to include/asm instead (suggested by Rusty Russel)
- All steps of the series compiles (suggested by Stephen Rothwell)
- Better ifdef header naming (suggested by Stephen Rothwell)
- Added Andi Kleen to CC (forgot to on V1)
]
Hi all,
I've been working on lguest64 and in order to do this, I had to move
a lot of the i386 specific out of the