Displaying 9 results from an estimated 9 matches for "dbuserror".
Did you mean:
dbus_error
2010 Apr 19
1
[PATCH matahari] Replaces the existing HAL code for ProcessorAgent with udev.
...de <iostream>
#include <pcre.h>
-#include "hal.h"
-#include "processors.h"
+// TODO remove this wrapper once rhbz#583747 is fixed
+extern "C" {
+#include <libudev.h>
+}
using namespace std;
namespace _qmf = qmf::com::redhat::matahari;
-extern DBusError dbus_error;
-
void
ProcessorsAgent::setup(ManagementAgent* agent, Manageable* parent)
{
@@ -43,17 +37,79 @@ ProcessorsAgent::setup(ManagementAgent* agent, Manageable* parent)
management_object = new _qmf::Processors(agent, this, parent);
agent->addObject(management_object);
- LibHalC...
2018 Aug 07
0
Centos 7.5..and My GDM Greeter/GDM Don't Work Anymore
...gind is properly installed and pam_systemd
> is...ed at login.
> Aug 07 16:23:31 gs6102dsclxpvirgo3 gnome-shell[2023]: g_array_unref:
> assertion 'array' failed
> Aug 07 16:23:32 gs6102dsclxpvirgo3 gnome-shell[2023]: JS ERROR:
> Exception in callback for signal: reset: Gio.DBusError:
> GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: No session available
> LoginDialog<._resetGreeterProxy at resource:///org/gnome/shell/gdm/loginDialog.js:837:29
> wrapper at resource:///org/gnome/gjs/modules/_legacy.js:82:22...
Did the upgrade break something? Possibly. Any and...
2010 Mar 16
0
[PATCH] Added the new Processors agent.
...stdexcept>
+
+#include <hal/libhal.h>
+
+#include <pcre.h>
+
+#include "hal.h"
+#include "processors.h"
+
+#include "qmf/com/redhat/matahari/ArgsProcessorsGet_load_average.h"
+
+using namespace std;
+namespace _qmf = qmf::com::redhat::matahari;
+
+extern DBusError dbus_error;
+
+void
+ProcessorsAgent::setup(ManagementAgent* agent)
+{
+ // setup the management object
+ management_object = new _qmf::Processors(agent, this);
+ agent->addObject(management_object);
+
+ LibHalContext* context = get_hal_ctx();
+
+ int num_results;
+ char** processors = lib...
2010 Mar 22
1
Small change and resend...
This patch includes one small change: the Processors::get_load_average()
method is now const since it does not change the object's state.
2010 Mar 22
1
Resend with loadavg as a statistic...
After some feedback from Slow, mainly about the load_average API
being a method rather than an ongoing statistic. So I've converted
the code over to instead update the load average statistic on a
regular basis.
2016 Oct 24
2
[PATCH] p2v: Inhibit power saving during the conversion.
...then C<Inhibit> operation could not
+ * be performed (eg. if we are compiled with DBus support, or there is
+ * some error contacting logind). This is not usually fatal from the
+ * point of view of the caller, conversion can continue.
+ */
+int
+inhibit_sleep (void)
+{
+#ifdef HAVE_DBUS
+ DBusError err;
+ DBusConnection *conn = NULL;
+ DBusMessage *msg = NULL;
+ DBusMessageIter args;
+ DBusPendingCall *pending = NULL;
+ const char *what = "shutdown:sleep:idle";
+ const char *who = "virt-p2v";
+ const char *why = "virt-p2v conversion is running";
+ const c...
2010 Apr 26
2
Patch supercedes previous patch...
In looking at the code I realized that the last of the HAL depenencies were
removed with this patch. So, I'm pushing an updated patch that contains
none of the HAL code in it.
2010 Apr 26
0
[PATCH matahari] Created the NetworkDevice agent.
...mf/com/redhat/matahari/NIC.h"
-#include "qmf/com/redhat/matahari/ArgsNICIdentify_nic.h"
-
-using namespace qpid::management;
-using namespace std;
-
-using qpid::management::Manageable;
-
-namespace _qmf = qmf::com::redhat::matahari;
-
-extern DBusConnection *dbus_connection;
-extern DBusError dbus_error;
-
-ostream &operator<<(ostream& output, const NICWrapper& nic) {
- output << "NIC" << endl;
- output << "Interface Name: " << nic.interfaceName << endl;
- output << "MAC Address: " << nic....
2019 Sep 10
3
[PATCH 0/2] Remove virt-p2v from libguestfs
Now that virt-p2v has its own repository [1] and releases [2], it is
time to remove it from libguestfs.
[1] https://github.com/libguestfs/virt-p2v
[2] http://download.libguestfs.org/virt-p2v/
Pino Toscano (2):
Remove virt-p2v
Remove remaining virt-p2v bits
.gitignore | 4 -
Makefile.am | 7 +-
bash/Makefile.am